A DMA data management device and method

CN117950593BActive Publication Date: 2026-09-01SHANGHAI ZHONGHAN DUKE PUMP MFG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410133168.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-31
Publication Date
2026-09-01
Estimated Expiration
2044-01-31

AI Technical Summary

Technical Problem

[0005]本申请提供一种DMA数据管理装置及方法,用以解决DMA数据管理装置中采取经纬度定位方式造成的DMA数据的分区错误的问题

Benefits of technology

[0018]本申请提供一种DMA数据管理装置及方法,该装置包括:数据传输模块、中央控制处理模块、数据存储模块;数据传输模块中存储PLC点位信息和DMA分区信息;数据传输模块将DMA分区信息、PLC点位信息以及PLC数据发送至中央控制处理模块;中央控制处理模块在PLC数据中添加DMA分区信息,得到处理后的PLC数据,并将处理后的PLC数据和PLC点位信息发送至数据存储模块;数据存储模块根据PLC点位信息将处理后的PLC数据进行数据切分,并将切分后的PLC片段数据进行存储。在数据传输模块中内置DMA分区信息,通过中央控制处理模块对数据添加分区信息的方式,可以避免现有技术中通过经纬度坐标对数据进行分区导致的数据存错DMA分区的情况,提高DMA数据管理的准确性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117950593B_ABST
    Figure CN117950593B_ABST
Patent Text Reader

Abstract

This application provides a DMA data management device and method. The device includes: a data transmission module, a central control processing module, and a data storage module. The data transmission module stores PLC location information and DMA partition information. The data transmission module sends the DMA partition information, PLC location information, and PLC data to the central control processing module. The central control processing module adds the DMA partition information to the PLC data to obtain processed PLC data. The data storage module segments the processed PLC data according to the PLC location information and stores the segmented PLC data segments. The data transmission module incorporates DMA partition information. By adding DMA partition information to the PLC data, the incorrect partitioning caused by partitioning using latitude and longitude coordinates in existing technologies can be avoided, thus improving the accuracy of DMA data management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to water supply network technology, and more particularly to a DMA data management device and method. Background Technology

[0002] With urban development, the implementation of District Metering Area (DMA) for urban water supply networks is a consensus and a development trend. DMA zoning management allows for the timely detection of water leakage in the urban water supply system.

[0003] DMA (Discretionary Area Control) typically involves closing valves or installing flow meters to create virtual or physical independent zones. Leakage levels are quantified by measuring the amount of water entering or leaving this zone and analyzing data such as flow rate. In existing technologies, DMA data management devices usually store the collected data directly, using latitude and longitude positioning to determine their DMA zone, and then processing the data into DMA zones via software code. However, latitude and longitude positioning is susceptible to interference from environmental factors and weather conditions, which can lead to incorrect zone location and data storage in the wrong zone.

[0004] Therefore, improving the accuracy of DMA data management is an urgent problem to be solved. Summary of the Invention

[0005] This application provides a DMA data management device and method to solve the problem of DMA data partitioning errors caused by using latitude and longitude positioning in the DMA data management device.

[0006] In a first aspect, this application provides a DMA data management device, the device comprising: a data transmission module, a central control processing module, and a data storage module; The data transmission module is connected to the central control processing module, and the central control processing module is also connected to the data storage module; The data transmission module stores PLC location information and DMA partition information; Upon receiving PLC data, the data transmission module sends the DMA partition information, the PLC point information, and the PLC data to the central control processing module. The central control processing module adds the DMA partition information to the PLC data to obtain processed PLC data, and sends the processed PLC data and the PLC point information to the data storage module. The data storage module segments the processed PLC data according to the PLC location information and stores the segmented PLC data segments.

[0007] Optionally, the device further includes: a data platform integration module; The data platform integration module is connected to the data storage module, and the data platform integration module is used to manage the PLC segment data in the data storage module.

[0008] Optionally, the device further includes: a communication module; The communication module is connected to the storage module, and the communication module is used to send the stored PLC segment data to the server.

[0009] Optional, The communication module is connected to the data platform integration module. The data platform integration module receives instructions on data management methods sent by the server through the communication module. The data platform integration module is used to perform secondary management of the PLC segment data in the data storage module according to the instructions.

[0010] Optionally, the communication module is also used to send the PLC segment data after secondary management to the server.

[0011] Optionally, the device further includes: a power module; The power supply module is connected to the data transmission module, the central control processing module, the data storage module, the data platform integration module, and the communication module, respectively. The power supply module is used to supply power to the data transmission module, the central control processing module, the data storage module, the data platform integration module, and the communication module.

[0012] Optionally, the device further includes: a data acquisition device; The data acquisition device is connected to the data transmission module. The data acquisition device is used to collect at least one of the following data: pipeline flow, pressure, and water quality, to obtain the PLC data, and then sends the PLC data to the data transmission module.

[0013] Optionally, the data platform integration module is configured with lower limit thresholds for various PLC segment data. The data platform integration module is also used to detect in real time whether the PLC segment data stored in the data storage module is less than the corresponding lower limit threshold.

[0014] Optionally, the device further includes: an alarm device; The alarm device is connected to the data platform integration module. The alarm device issues an alarm signal when the data platform integration module detects that the PLC segment data stored in the data storage module is less than the corresponding lower threshold.

[0015] Secondly, this application also provides a DMA data management method, applied to a DMA data management device. The DMA data management device includes: a data transmission module, a central control processing module, and a data storage module; the method includes: When the data transmission module receives PLC data, it sends the PLC data, pre-stored DMA partition information, and PLC point information to the central control processing module. The central control processing module adds the DMA partition information to the PLC data to obtain processed PLC data, and sends the processed PLC data and the PLC point information to the data storage module. The data storage module segments the processed PLC data according to the PLC location information and stores the segmented PLC data segments.

[0016] Thirdly, this application also provides an electronic device, which includes: The processor, the memory communicatively connected to the processor, and the communication interface for interacting with other devices; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the DMA data management method described in the second aspect above.

[0017] Fourthly, this application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the DMA data management method as described in the second aspect.

[0018] This application provides a DMA data management device and method. The device includes: a data transmission module, a central control processing module, and a data storage module. The data transmission module stores PLC location information and DMA partition information. The data transmission module sends the DMA partition information, PLC location information, and PLC data to the central control processing module. The central control processing module adds DMA partition information to the PLC data to obtain processed PLC data, and sends the processed PLC data and PLC location information to the data storage module. The data storage module segments the processed PLC data according to the PLC location information and stores the segmented PLC data segments. By embedding DMA partition information in the data transmission module and adding partition information to the data through the central control processing module, the incorrect DMA partitioning caused by partitioning data using latitude and longitude coordinates in the prior art can be avoided, thus improving the accuracy of DMA data management. Attached Figure Description

[0019] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0020] Figure 1 A schematic diagram illustrating a possible application scenario provided in this application; Figure 2 This application provides a schematic diagram of the structure of a DMA data management device according to one embodiment. Figure 3 This application provides a schematic diagram of the structure of a second embodiment of a DMA data management device. Figure 4 A schematic diagram of the structure of a DMA data management device according to a third embodiment of this application; Figure 5 A schematic diagram of the structure of a DMA data management device according to Embodiment 4 provided in this application; Figure 6 A schematic diagram of a fifth embodiment of a DMA data management device provided in this application; Figure 7 A flowchart illustrating an embodiment of a DMA data management method provided in this application; Figure 8 This is a schematic diagram of the structure of an electronic device provided in this application.

[0021] Explanation of reference numerals in the attached figures: 11-Data transmission module; 12-Central control and processing module; 13-Data storage module; 14-Data platform integration module; 15-Communication module; 16-Power supply module; 17-Alarm device.

[0022] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concepts of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0023] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0024] First, let me explain the terms used in this application: District Metering Area (DMA) refers to dividing a water supply network into several relatively independent areas by cutting off sections of the pipeline or closing valves on those sections. Flow meters and other data acquisition devices are installed on the inlet and outlet pipes of each area to monitor the inflow and outflow of water. DMA zoning management allows for the timely detection of water leakage in the urban water supply system.

[0025] In existing technologies, DMA data management devices typically store the collected data directly, use latitude and longitude positioning to determine their own DMA partition, and then process the acquired data through DMA partitioning via software code before finally sending the data to the server. However, latitude and longitude positioning results are easily affected by environmental factors and weather conditions, which can lead to partition positioning errors and data being stored in the wrong partition.

[0026] In view of the above problems, the inventors discovered during their research that, to avoid partitioning errors, DMA partition information is built into each DMA data management device. When data is acquired, the DMA partition information is added to the data before storage. This method not only avoids data being stored in the wrong DMA partition but also reduces the data storage process. Based on this, this application provides a DMA data management device and method.

[0027] Figure 1 This application provides a schematic diagram of a possible application scenario, showing different DMA partition levels in a water supply network. Figure 1 The system displays primary, secondary, and tertiary metering zones, each with a distinct identifier. A primary metering zone contains at least one secondary metering zone, and a secondary metering zone contains at least one tertiary metering zone. A DMA data management device is installed at the inflow point of each zone to collect inflow and outflow water supply data.

[0028] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0029] Figure 2 This is a schematic diagram of the structure of a DMA data management device according to an embodiment of this application, as shown below. Figure 2 As shown, the DMA data management device includes: a data transmission module 11, a central control processing module 12, and a data storage module 13.

[0030] The data transmission module 11 is connected to the central control processing module 12, and the central control processing module 12 is also connected to the data storage module 13. In one possible implementation, the data transmission module 11, the central control processing module 12, and the data storage module 13 are all individual chip structures integrated on a printed circuit board (PCB).

[0031] The data transmission module 11 stores PLC location information and DMA partition information. The PLC location information specifies which bits in the PLC-acquired data represent what information; that is, it indicates what information a given length of data in the PLC register address represents. For example, the PLC location information might indicate that bits 10-50 represent pressure values, and bits 50-100 represent flow rates. The DMA partition information refers to the partition in which the device is located, indicating which level and which DMA data management device it is in within the water pipe network. The DMA partition information can be binary numbers or a specific identifier.

[0032] When the data transmission module 11 receives PLC data, it sends the DMA partition information, PLC point information, and PLC data to the central control processing module 12.

[0033] In one implementation, the DMA data management device includes a data acquisition device connected to the data transmission module 11. The data acquisition device collects at least one of the following data points: pipeline flow, pressure, and water quality, and stores it in the PLC's register according to a preset storage rule to obtain PLC data. When the preset transmission rule is met, the PLC data is sent to the data transmission module. The preset transmission rule can be either immediate transmission after all data has been collected, or periodic collection and transmission based on time intervals.

[0034] In one implementation, an external data acquisition device collects data and connects to the data transmission module 11 of the DMA data management device via a cable. The external data acquisition device collects at least one of the following data: pipeline flow, pressure, and water quality, and stores it in the PLC register according to a preset storage rule to obtain PLC data. The PLC data is then sent to the data transmission module 11.

[0035] When the data transmission module 11 receives PLC data, it sends the built-in DMA partition information, PLC point information, and the received PLC data to the central control processing module 12 via an internal cable.

[0036] The central control processing module 12 adds DMA partition information to the PLC data to obtain the processed PLC data, and sends the processed PLC data and PLC point information to the data storage module 13.

[0037] In one implementation, the central control processing module 12 adds DMA partition information to the beginning of the PLC data. For example, the DMA partition information is a fixed-bit binary number; adding this fixed-bit binary DMA partition information before the binary PLC data yields the processed PLC data.

[0038] In one possible implementation, the central control processing module 12 adds DMA partition information to the end of the PLC data.

[0039] In one possible implementation, the central control processing module 12 adds DMA partition information to the naming of the PLC data.

[0040] The data storage module 13 divides the processed PLC data according to the PLC location information and stores the divided PLC segment data.

[0041] The processed PLC data includes DMA partition information and PLC binary data. The PLC binary data further includes various types of collected water pipe data. After receiving the processed PLC data, the data storage module 13 first retrieves the DMA partition information from the processed PLC data to determine the partition to which the PLC data belongs. Then, based on the PLC location information, it segments the PLC data to obtain multiple PLC data segments. Each segment of PLC data corresponds to a type of data in the water supply information, such as pressure, flow rate, or water quality. Among these, the water quality data includes any one of the following: water pH, water temperature, or the content of a certain ion.

[0042] Optionally, DMA partitioning information can be added to each PLC segment data to store the PLC data of different segments separately.

[0043] Optionally, data from different subclasses of different DMA partitions are divided into different areas in the data storage module 13, and the corresponding PLC segment data is stored in the corresponding area.

[0044] It should be noted that any segment of data in the PLC belongs to DMA data.

[0045] This embodiment provides a DMA data management device, which includes: a data transmission module, a central control processing module, and a data storage module. The data transmission module stores PLC location information and DMA partition information. The data transmission module sends the DMA partition information, PLC location information, and PLC data to the central control processing module. The central control processing module adds DMA partition information to the PLC data to obtain processed PLC data, and sends the processed PLC data and PLC location information to the data storage module. The data storage module segments the processed PLC data according to the PLC location information and stores the segmented PLC data segments. By embedding DMA partition information in the data transmission module and adding partition information to the data through the central control processing module, the incorrect DMA partitioning caused by partitioning data using latitude and longitude coordinates in the prior art can be avoided, thus improving the accuracy of DMA data management.

[0046] By storing DMA partition information in a separate data transmission module, when a new DMA data management device needs to be added or replaced in a new DMA partition, only the data transmission module needs to be replaced in the old DMA data management device, thus saving costs.

[0047] Figure 3 This is a schematic diagram of a second embodiment of a DMA data management device provided in this application, as shown below. Figure 3 As shown, based on the first embodiment of the device, the device further includes: a data platform integration module 14; The data platform integration module 14 is connected to the data storage module 13, and the data platform integration module 14 is used to manage the PLC segment data in the data storage module 13.

[0048] The data platform integration module 14 stores the mapping relationship between fragment data of different PLC point information and their storage locations. When the data storage module stores PLC fragment data, it can store the data according to the mapping relationship in the data platform integration module. In addition, the data platform integration module can also perform operations such as conversion, integration, analysis and calculation on PLC fragment data.

[0049] Figure 4 This application provides a schematic diagram of the structure of a DMA data management device according to a third embodiment. Figure 4 As shown, based on the first embodiment of the device, the device further includes: a communication module 15; The communication module 15 is connected to the storage module 13, and the communication module 15 is used to send the stored PLC segment data to the server.

[0050] The communication module 15 can send stored PLC segment data to the server according to preset rules. For example, it can send newly stored PLC segment data to the server at preset time intervals, or it can send all PLC segment data to the server when a query request is received. The sending rules can be specified according to actual needs, and the PLC segment data to be sent can also be selected as needed. That is, only some types of data collected can be sent, such as sending PLC segment data corresponding to flow and pressure in real time, while other PLC segment data is not sent.

[0051] It should be noted that in the data storage module, each PLC segment data exists in its corresponding DMA partition. Therefore, the DMA partition information is included in the PLC segment data sent by the communication module. The DMA information can be embedded in the PLC segment data, or the DMA partition information and the PLC segment data can be packaged and sent together.

[0052] In one implementation, the communication module 15 is connected to the data platform integration module 14. The data platform integration module 14 receives data management instructions from the server through the communication module 15. The data platform integration module performs secondary management of PLC segment data in the data storage module according to the instructions. For example, the management instruction received by the data platform integration module from the server is to store the PLC segment data in time intervals according to hourly intervals. The data platform integration module stores the PLC segment data in the data storage module according to these time intervals. In another example, the management instruction received by the data platform integration module from the server is to store the PLC segment data as an hourly average. Therefore, the data platform integration module calculates the average value of the data in the data storage module every hour and stores the average value.

[0053] Optionally, the communication module 15 is also used to send the PLC segment data after secondary management to the server. When the data management instruction sent by the server is a request or a modification of the sending rules, the communication module needs to execute the corresponding sending rules according to the instruction. For example, the data platform integration module 14 receives a management instruction from the server to obtain the average value of the PLC segment data for the most recent hour, and after calculation, the data platform integration module 14 sends it to the server through the communication module 15. In another example, the data platform integration module 14 receives a management instruction from the server to modify the sending rules to send the average value of the PLC segment data for each hour, and when the transmission time is reached, the data platform integration module sends the generated average value to the server through the communication module.

[0054] This embodiment provides a DMA data management device. A communication module is connected to a storage module. The communication module sends stored PLC segment data to a server. Each PLC segment data sent to the server includes its corresponding DMA partition information, facilitating statistical analysis by the server. Additionally, a data platform integration module enables data management and analysis within the data storage module, allowing for simple computational processing and increasing the processing capabilities of the DMA data management device.

[0055] Figure 5 The present application provides a schematic diagram of the structure of a DMA data management device according to embodiment four. Based on embodiment three, the device further includes a power module 16. The power supply module 16 is connected to the data transmission module 11, the central control processing module 12, the data storage module 13, the data platform integration module 14, and the communication module 15, respectively. The power supply module 16 is used to supply power to the data transmission module 11, the central control processing module 12, the data storage module 13, the data platform integration module 14, and the communication module 15. The power supply module can be a storage battery.

[0056] Optionally, the device also includes an indicator light, which is connected to the data transmission module 11, the central control processing module 12, the data storage module 13, the data platform integration module 14, the communication module 15, and the power supply module 16, respectively. The indicator light is used to indicate the working status of the DMA data management device. When the working status is normal, the indicator light is constant. When the working status is abnormal, the indicator light is off or changes color.

[0057] Figure 6 The schematic diagram of a fifth embodiment of a DMA data management device provided in this application, based on the fourth embodiment of the device, further includes: an alarm device 17; The alarm device 17 is connected to the data platform integration module 14. The data platform integration module 14 is configured with lower limit thresholds for various PLC segment data. The data platform integration module 14 is also used to detect in real time whether the PLC segment data stored in the data storage module 13 is less than the corresponding lower limit threshold. When the PLC segment data stored in the data storage module 13 is less than the corresponding lower limit threshold, the data platform integration module 14 sends an alarm signal to the alarm device 17, and the alarm device responds.

[0058] The alarm device is connected to the power module.

[0059] Optionally, the alarm device can employ a buzzer, multi-color indicator lights, multi-channel indicator lights, etc. For example, when the alarm device uses multi-channel indicator lights, each channel represents a data type; when the PLC segment data is less than the corresponding lower threshold, the corresponding channel indicator light illuminates.

[0060] Using an alarm device can prevent data from being unable to be uploaded in places with no signal, such as underground. This method can also alert maintenance personnel to the source of the anomaly during maintenance.

[0061] Figure 7 A flowchart illustrating an embodiment of a DMA data management method provided in this application is shown below. Figure 7 As shown, when applied to any of the above-mentioned DMA data management devices, the method includes the following steps: S701. When the data transmission module receives PLC data, it sends the PLC data, pre-stored DMA partition information, and PLC point information to the central control processing module.

[0062] In this step, when the PLC device of the DMA data management unit acquires data or receives PLC data transmitted from an external PLC through the data transmission module, the data transmission module sends the PLC data, pre-stored DMA partition information, and PLC point information to the central control processing module. The PLC data includes one or more of the following: pipeline flow, pressure, and water quality. The type of data acquired is determined by the PLC controller of the acquisition device, but the type of data acquired and the storage points in the registers must be consistent with the PLC point information in the data transmission module. That is, each acquired data item has a preset point length in the PLC data, corresponding to the PLC point information stored in the data transmission module.

[0063] The DMA partition information is a fixed-bit binary number built into the data transfer module.

[0064] S702 The central control processing module adds DMA partition information to the PLC data to obtain the processed PLC data, and sends the processed PLC data and PLC point information to the data storage module.

[0065] In one specific implementation, when the central control processing module receives PLC data, it adds the binary numbers of the DMA partition information to the front of the binary numbers of the PLC data to obtain the processed PLC data.

[0066] In one possible implementation, the central control processing module adds DMA partition information to the front end of the PLC data.

[0067] In one possible implementation, the central control processing module adds DMA partition information to the naming of the PLC data.

[0068] S703 The data storage module divides the processed PLC data according to the PLC location information and stores the divided PLC segment data.

[0069] In this step, the data storage module receives the processed PLC data, extracts the DMA partition information from it, and determines which partition it needs to be stored in. Based on the received PLC point information, the processed PLC data, after removing the DMA partition information, is segmented to obtain PLC segment data, i.e., the detection data for each item. The PLC segment data is then stored in the data storage module.

[0070] Optionally, the stored PLC segment data can be sent to the server according to preset sending rules.

[0071] Optionally, the data platform integration module acquires stored PLC segment data, analyzes and processes the PLC segment data to obtain the required analysis results, and sends the analysis results to the server. The data platform integration module can also receive data management instructions from the server and perform secondary management of the PLC segment data according to the instructions. For example, it can change the location and structure of the PLC segment data storage.

[0072] The data platform integration module is configured with lower threshold values ​​for various PLC segment data. The module continuously monitors whether the PLC segment data stored in the data storage module is below the corresponding lower threshold. An alarm signal is issued when the stored PLC segment data is detected to be below the corresponding lower threshold.

[0073] This embodiment provides a DMA data management method. When the data transmission module receives PLC data, it sends the PLC data, pre-stored DMA partition information, and PLC location information to the central control processing module. The central control processing module adds the DMA partition information to the PLC data to obtain processed PLC data, and then sends the processed PLC data and PLC location information to the data storage module. The data storage module segments the processed PLC data according to the PLC location information and stores the segmented PLC data fragments. This method, by embedding DMA partition information, avoids the DMA partition errors caused by partitioning data using latitude and longitude coordinates in existing technologies, thus improving the accuracy of DMA data management. Furthermore, the storage of DMA partition information is separate from the storage of detection data. When the storage module is damaged or needs to be replaced due to excessive data, only the corresponding module needs to be changed; there is no need to rewrite the DMA partition information.

[0074] Figure 8 A schematic diagram of the structure of an electronic device provided in this application, such as... Figure 8 As shown, the electronic device 800 includes: The processor 811, the memory 812 communicatively connected to the processor, and the communication interface 813 for interacting with other devices; The memory 812 stores computer-executed instructions; The processor 811 executes computer execution instructions stored in the memory to implement the DMA data management method described in any of the above method embodiments.

[0075] Optionally, the electronic device 800 also includes a display screen for interacting with the user.

[0076] Optionally, the electronic device 800 may also include indicator lights.

[0077] Optionally, the electronic device 800 may also include a PLC and a data acquisition device connected to the PLC.

[0078] Optionally, the various devices described above in the electronic device 800 can be connected via a system bus.

[0079] The memory 812 can be a separate memory unit or a memory unit integrated into the processor 811. The number of processors 811 can be one or more.

[0080] It should be understood that the processor 811 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this application can be directly manifested as being executed by a hardware processor, or being executed by a combination of hardware and software modules within the processor.

[0081] The system bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The system bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in the diagram, but this does not indicate that there is only one bus or one type of bus. Memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0082] All or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, it performs the steps of the above method embodiments; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disk, and any combination thereof.

[0083] The electronic device provided in this application embodiment is used to implement the DMA data management method described in any of the foregoing method embodiments. Its implementation principle and technical effect are similar, and will not be repeated here.

[0084] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the DMA data management method as described in any of the foregoing method embodiments.

[0085] It is understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memories described above are intended to include, but are not limited to, these and any other suitable types of memory.

[0086] This application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When the at least one processor executes the computer program, it can implement the DMA data management method described in any of the foregoing method embodiments.

[0087] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0088] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A DMA data management device, characterized in that, The device includes: a data transmission module, a central control processing module, and a data storage module; The data transmission module is connected to the central control processing module, and the central control processing module is also connected to the data storage module; The data transmission module stores programmable logic controller (PLC) location information and regional metering DMA partition information. Upon receiving PLC data, the data transmission module sends the DMA partition information, the PLC point information, and the PLC data to the central control processing module. The central control processing module adds the DMA partition information to the PLC data to obtain processed PLC data, and sends the processed PLC data and the PLC point information to the data storage module. The data storage module segments the processed PLC data according to the PLC location information and stores the segmented PLC data segments.

2. The apparatus according to claim 1, characterized in that, The device also includes: a data platform integration module; The data platform integration module is connected to the data storage module, and the data platform integration module is used to manage the PLC segment data in the data storage module.

3. The apparatus according to claim 2, characterized in that, The device further includes: a communication module; The communication module is connected to the storage module, and the communication module is used to send the stored PLC segment data to the server.

4. The apparatus according to claim 3, characterized in that, The communication module is connected to the data platform integration module. The data platform integration module receives instructions on data management methods sent by the server through the communication module. The data platform integration module is used to perform secondary management of the PLC segment data in the data storage module according to the instructions.

5. The apparatus according to claim 4, characterized in that, The communication module is also used to send the PLC segment data after secondary management to the server.

6. The apparatus according to any one of claims 3 to 5, characterized in that, The device further includes: a power module; The power supply module is connected to the data transmission module, the central control processing module, the data storage module, the data platform integration module, and the communication module, respectively. The power supply module is used to supply power to the data transmission module, the central control processing module, the data storage module, the data platform integration module, and the communication module.

7. The apparatus according to any one of claims 1 to 5, characterized in that, The device also includes: a data acquisition device; The data acquisition device is connected to the data transmission module. The data acquisition device is used to collect at least one of the following data: pipeline flow, pressure, and water quality, to obtain the PLC data, and then sends the PLC data to the data transmission module.

8. The apparatus according to any one of claims 2 to 5, characterized in that, The data platform integration module is configured with lower limit thresholds for various PLC segment data. The data platform integration module is also used to detect in real time whether the PLC segment data stored in the data storage module is less than the corresponding lower limit threshold.

9. The apparatus according to claim 8, characterized in that, The device also includes: an alarm device; The alarm device is connected to the data platform integration module. When the data platform integration module detects that the PLC segment data stored in the data storage module is less than the corresponding lower threshold, the alarm device issues an alarm signal.

10. A DMA data management method, characterized in that, An application is made in a DMA data management device, the DMA data management device comprising: a data transmission module, a central control processing module, and a data storage module; the method comprises: When the data transmission module receives data from the programmable logic controller (PLC), it sends the PLC data, pre-stored area metering DMA partition information, and PLC location information to the central control processing module. The central control processing module adds the DMA partition information to the PLC data to obtain processed PLC data, and sends the processed PLC data and the PLC point information to the data storage module. The data storage module segments the processed PLC data according to the PLC location information and stores the segmented PLC data segments.

Citation Information

Patent Citations

  • Pipe network leakage monitoring system based on independent metering partition

    CN112750284A

  • Digital water affair informatization intelligent management platform

    CN112783118A