Electric energy meter reading method and system based on electricity utilization information acquisition terminal

By splitting and freezing storage of historical meter reading data by importance on the electric energy meter reading data collection terminal, and dynamically deleting the pre-frozen storage depth of real-time meter reading data, the problem is solved when the storage capacity of electric energy meter reading data is insufficient. solve the problem of data cleaning and achieve data traceability and storage security.

CN119357564AActive Publication Date: 2025-01-24CSG SMART SCI&TECH CO LTD +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411910086.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-01-24
Estimated Expiration
2044-12-24

AI Technical Summary

Technical Problem

In the prior art, when storing electricity meter reading data, when the storage capacity is insufficient, historical meter reading data will be deleted directly, resulting in the cleaning of important content, which is difficult to trace and cannot ensure the retention of data to the greatest extent.

Method used

By collecting historical meter copy data on the collection terminal with telecommunications and splitting important degrees of important degree, historical data data of different degrees of important levels is obtained. Determine the frozen storage depth according to the upload time and cumulative extent, and freeze the data. When the storage capacity exceeds the setting, the pre -frozen node storage depth of the intensive metering data is deleted according to the pre -frozen node data, and the corresponding historical sub -data is deleted according to the preset rules to release the storage space.

Benefits of technology

The sub -data data that effectively guarantees the metering data is subdivided according to the important level when storing, and the frozen storage depth is adjusted when inserting the new meter -in -copy data to achieve the gradual deletion of historical data to ensure the traceability and storage security of the data. Essence

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119357564A_ABST
    Figure CN119357564A_ABST
Patent Text Reader

Abstract

The invention provides an electric energy meter reading method and system based on an electricity utilization information acquisition terminal, and relates to the technical field of data processing. Splitting each piece of historical meter reading data according to importance degrees to obtain historical sub-data with different importance degrees; according to the historical sub-data with different importance degrees, obtaining an accumulated importance degree of each piece of historical meter reading data; based on the uploading time and the accumulated importance degree of each piece of historical meter reading data, determining the frozen storage depth of each piece of historical meter reading data; freezing and storing each piece of historical meter reading data according to the corresponding freezing and storing depth; and acquiring real-time meter reading data, and detecting the storage capacity when the real-time meter reading data is frozen and stored. According to the meter reading method and system provided by the invention, the traceability of the meter reading data is ensured, and meanwhile, the freezing storage and cleaning safety of the meter reading data are also realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to an electric energy meter reading method and system based on an electric energy meter information collection terminal. Background Art

[0002] The meter reading data based on the electric energy meter mainly involves asset number, customer number, customer name, electricity address, electricity price, total amount of overdue electricity charges, indication type, current indication, last indication, comprehensive multiple, meter reading status, abnormal meter reading, last meter reading date, current meter reading date, electricity reading, last month's electricity, average electricity in the first three months, electricity fee year and month, meter reading section number, meter reading sequence, number of meters, contact person, contact number, etc. Infrared meter reading should also have the following data: infrared mark, actual meter reading method, date before meter synchronization, time before meter synchronization, whether it is a new installation and capacity increase customer, whether it is a changed customer, asset number, etc.

[0003] When storing the existing electricity meter reading data, when the storage capacity is insufficient, all the historical meter reading data obtained at a certain time in the past are directly deleted. Although the storage capacity is guaranteed, the important content in the deleted historical meter reading data will also be cleared together, making it difficult to trace the historical meter reading data after it is completely cleared, and it is impossible to guarantee the retention of the important content of the historical meter reading data when it is cleared to the greatest extent. Summary of the invention

[0004] In view of the shortcomings of the prior art described above, the purpose of the present invention is to provide an electric energy meter reading method and system based on an electricity consumption information collection terminal, which is used to solve the problem in the prior art that when the electric energy meter reading data is stored, when the storage capacity is insufficient, all historical meter reading data acquired at a certain time in the past are directly deleted. Although the storage capacity is guaranteed, the important contents of the deleted historical meter reading data will also be cleared together, making it difficult to trace the historical meter reading data that has been completely cleared, and the retention of important contents of the historical meter reading data when it is cleared cannot be guaranteed to the greatest extent.

[0005] To achieve the above-mentioned purpose and other related purposes, the present invention provides an electric energy meter reading method based on an electric energy information collection terminal, comprising: collecting historical meter reading data; splitting each historical meter reading data according to the importance to obtain historical sub-data of different importance; obtaining the cumulative importance of each historical meter reading data according to the historical sub-data of different importance; determining the frozen storage depth of each historical meter reading data based on the upload time and the cumulative importance of each historical meter reading data; freezing and storing each historical meter reading data according to the corresponding frozen storage depth; acquiring real-time meter reading data, and detecting the storage capacity of the real-time meter reading data when freezing and storing it; when the storage capacity exceeds the set storage requirement, deleting and cleaning the historical sub-data frozen and stored at the corresponding pre-frozen storage depth according to the pre-frozen storage depth of the real-time meter reading data according to the preset rules; and storing the real-time meter reading data at the pre-frozen storage depth.

[0006] In one embodiment of the present invention, each historical meter reading data is split according to the importance to obtain historical sub-data of different importance, including: extracting historical meter reading data Each historical sub-data in ; Determine each historical sub-data Corresponding data type; based on historical sub-data The corresponding data type is mapped to obtain each historical sub-data Importance .

[0007] In one embodiment of the present invention, according to the historical sub-data of different importance, the cumulative importance of each historical meter reading data is obtained, including: Importance Perform addition operation to obtain each historical meter reading data The cumulative importance of .

[0008] In one embodiment of the present invention, based on the upload time and cumulative importance of each historical meter reading data, the freezing storage depth of each historical meter reading data is determined, including: extracting each historical meter reading data Upload time ; Based on each historical meter reading data Upload time And each storage weight Corresponding time interval , get each historical meter reading data Upload time Corresponding storage weight ; Based on each historical meter reading data The cumulative importance of , calculate each historical meter reading data The frozen storage factor ; Based on each historical meter reading data The frozen storage factor , determine the historical meter reading data The frozen storage depth is arranged from small to large. ,in, .

[0009] In one embodiment of the present invention, each historical meter reading data is frozen and stored according to the corresponding frozen storage depth, including: extracting the frozen storage depth sort The corresponding historical meter reading data Memory usage ; Arrange the corresponding storage repositories from small to large according to the frozen storage depth Data storage capacity , sort the frozen storage depth Each historical meter reading data under According to its corresponding memory usage Stored in each repository in sequence middle.

[0010] In one embodiment of the present invention, when the storage memory Historical meter reading data is stored in When Corresponding storage capacity satisfy .

[0011] In one embodiment of the present invention, the corresponding storage banks are arranged from small to large according to the frozen storage depth. Data storage capacity , sort the frozen storage depth Each corresponding historical meter reading data Stored in each repository in sequence Including: According to each repository The corresponding importance threshold , for each repository The historical meter reading data stored in Each historical sub-data Importance Perform importance threshold monitoring; when historical meter reading data There is historical sub-data in The corresponding importance Does not exist at the corresponding importance threshold , then control the corresponding historical sub-data Delete; when historical meter reading data There is historical sub-data in The corresponding importance Exists at the corresponding importance threshold , the corresponding importance threshold will be met Historical sub-data Store to the corresponding repository middle.

[0012] In one embodiment of the present invention, each storage memory The historical meter reading data stored in All are complete data.

[0013] In one embodiment of the present invention, when the data storage capacity exceeds the set storage requirement, the historical sub-data frozen and stored at the corresponding pre-frozen storage depth are deleted and cleaned according to the pre-frozen storage depth of the real-time meter reading data according to the preset rules, including: , get real-time meter reading data in frozen storage depth sorting Pre-freeze storage depth in ; According to the pre-freeze storage depth and memory usage of real-time meter reading data , get the repository corresponding to the real-time meter reading data ; Extract repository Previous frozen storage depth sort Corresponding to each historical meter reading data In the direction of decreasing the frozen storage depth, each storage repository Transfer in sequence; after being transferred in sequence, they are removed from the repository Historical meter reading data Perform removal monitoring; when there is historical meter reading data Removed from repository When the historical meter reading data Perform deletion cleanup.

[0014] To achieve the above-mentioned purpose and other related purposes, the present invention also provides an electric energy meter reading system based on an electric energy information collection terminal, comprising: a data collection unit, used to collect historical meter reading data; a data splitting unit, used to split each historical meter reading data according to the importance level to obtain historical sub-data of different importance levels; an importance level calculation unit, used to obtain the cumulative importance level of each historical meter reading data according to the historical sub-data of different importance levels; a storage depth calculation unit, used to determine the frozen storage depth of each historical meter reading data based on the upload time and cumulative importance level of each historical meter reading data; a frozen storage unit, used to freeze and store each historical meter reading data according to the corresponding frozen storage depth; a capacity detection unit, used to obtain real-time meter reading data and detect the storage capacity when freezing and storing the real-time meter reading data; a cleaning unit, used to delete and clean the historical sub-data frozen and stored at the corresponding pre-frozen storage depth according to preset rules according to the pre-frozen storage depth of the real-time meter reading data when the storage capacity exceeds the set storage requirement; and a data storage unit, used to store the real-time meter reading data at the pre-frozen storage depth.

[0015] As described above, the present invention discloses an electric energy meter reading method and system based on an electric energy information collection terminal, which has the following beneficial effects: by storing historical meter reading data in a repository with different freezing storage depths according to the upload time and the cumulative importance, and controlling and cleaning according to the importance of each historical sub-data in each historical meter reading data, it can effectively ensure that each sub-data of the meter reading data can be subdivided according to the importance when stored. And when inserting new meter reading data, it can also adjust the freezing storage depth of other historical meter reading data, that is, the historical sub-data of each historical meter reading data can be deleted and cleaned in order from small to large in importance, so that the data collected each time can be gradually deleted to ensure the traceability of the data, and the freezing storage and cleaning safety of the meter reading data is realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 Shown is a flow chart of the meter reading method of the present invention.

[0017] Figure 2 Shown is a structural block diagram of a meter reading system provided in one embodiment of the present invention.

[0018] Component number description Meter reading system 11; data collection unit 111; data splitting unit 112; importance calculation unit 113; storage depth calculation unit 114; frozen storage unit 115; capacity detection unit 116; cleaning unit 117; data storage unit 118. DETAILED DESCRIPTION

[0019] See also Figure 1 The present invention provides an electric energy meter reading method based on an electric energy meter information collection terminal, comprising: Step S10: Collect historical meter reading data; Step S20: split each historical meter reading data according to its importance to obtain historical sub-data of different importance; Step S30: Obtaining the cumulative importance of each historical meter reading data according to the historical sub-data of different importance levels; Step S40: determining the freezing storage depth of each historical meter reading data based on the upload time and cumulative importance of each historical meter reading data; Step S50: freeze and store each historical meter reading data according to the corresponding freeze storage depth; Step S60: acquiring real-time meter reading data, and detecting the storage capacity of the real-time meter reading data when it is frozen and stored; Step S70: when the storage capacity exceeds the set storage requirement, the historical sub-data frozen and stored at the corresponding pre-frozen storage depth are deleted and cleaned according to the pre-frozen storage depth of the real-time meter reading data and the preset rules; Step S80: Storing the real-time meter reading data at the pre-frozen storage depth.

[0020] It is not difficult to find through the above steps that in the meter reading method of the present invention, when collecting historical electricity consumption data based on the electricity consumption information collection terminal, the collected historical electricity consumption data may include the total electric energy indication in each time period, the electric energy indication of each rate, current, voltage, neutral current, zero-sequence current, total and phase active power, total and phase reactive power, etc. After collecting the historical electricity consumption data, it is necessary to further split the historical electricity consumption data to obtain historical sub-data of different importance. For example, the total electric energy indication can be expressed as one importance, the electric energy indication of each rate can be expressed as another importance, and so on. Further, according to the importance of each historical sub-data, the cumulative importance of each historical meter reading data is calculated. According to the upload time and cumulative importance of each historical meter reading data, the frozen storage depth of each historical meter reading data can be determined, and frozen storage is performed according to the frozen storage depth, so as to realize the sequential storage of each historical meter reading data. When newly uploaded real-time meter reading data is collected, if the real-time meter reading data meets the storage requirements, such as the storage capacity requirements, when frozen and stored, the real-time meter reading data is directly frozen and stored; if the real-time meter reading data does not meet the storage capacity requirements when frozen and stored, it is necessary to determine the pre-frozen storage depth of the real-time meter reading data, which can be based on preset rules, such as taking the pre-frozen storage depth as a benchmark, to delete and clean up each historical sub-data in the direction of reducing the frozen storage depth, and after the cleaning is completed, the real-time meter reading data is synchronously stored at the pre-frozen storage depth. Through the above content, it can be ensured that each sub-data of the meter reading data can be subdivided according to the importance when stored, and when inserting new meter reading data, it can also adjust the frozen storage depth of other historical meter reading data, that is, the historical sub-data of each historical meter reading data can be deleted and cleaned in order from small to large in importance, so that the data collected each time can be gradually deleted to ensure the traceability of the data, and the frozen storage and cleaning safety of the meter reading data is realized.

[0021] Figure 1 The flowchart of the method for reading an electric energy meter based on the electric energy information collection terminal in an exemplary embodiment of the present application is shown, including steps S10 to S80. Figure 1 The technical solution of this application will be described in detail.

[0022] First, step S10 and step S20 are executed to collect historical meter reading data; each historical meter reading data is split according to the importance to obtain historical sub-data of different importance.

[0023] In this embodiment, the historical power consumption data may include historical sub-data such as total power indication value in each time period, power indication value of each rate, current, voltage, neutral current, zero sequence current, total and phase active power, total and phase reactive power, etc. Each historical sub-data also has a corresponding importance. By splitting the historical power consumption data into historical sub-data according to their importance, the importance corresponding to each historical sub-data can be obtained.

[0024] In step S20, each historical meter reading data is split according to the importance, and historical sub-data of different importance are obtained, including: Step S201: Extract historical meter reading data Each historical sub-data in ; Step S202: Determine each historical sub-data The corresponding data type; Step S203: Based on historical sub-data The corresponding data type is mapped to obtain each historical sub-data Importance .

[0025] In this embodiment, when splitting the historical meter reading data, the historical meter reading data can be first Each historical sub-data in Extract, and then according to each historical sub-data extracted , determine each historical sub-data Corresponding data types, such as historical sub-data It can be a combination of "data type + value", and the data type can be a data type. The corresponding data type is obtained by looking up tables, etc. to obtain each historical sub-data Importance .

[0026] Next, step S30 is executed to obtain the cumulative importance of each historical meter reading data according to the historical sub-data of different importance.

[0027] In this embodiment, according to the historical meter reading data collected each time The data types are different and / or the total number of historical sub-data corresponding to the data types are different. The corresponding cumulative importance of the historical meter reading data can be further determined according to the importance of each historical sub-data.

[0028] In step S30, according to the historical sub-data of different importance, the cumulative importance of each historical meter reading data is obtained, including: Importance Perform addition operation to obtain each historical meter reading data The cumulative importance of .

[0029] In this embodiment, when the total number of historical sub-data is Each historical sub-data Corresponding to an importance , we can further convert all the importance Perform addition operation to determine each historical meter reading data The cumulative importance of , that is, the formula is .

[0030] Next, step S40 is executed to determine the freezing storage depth of each historical meter reading data based on the upload time and cumulative importance of each historical meter reading data.

[0031] In this embodiment, when establishing the corresponding frozen storage depth for the historical meter reading data, the frozen storage depth of each historical meter reading data can be determined by its corresponding upload time and cumulative importance. That is, when the upload time of each historical meter reading data is longer and the cumulative importance is lower, its frozen storage depth will continue to decrease until each historical sub-data in the historical meter reading data is cleared.

[0032] In step S40, based on the upload time and cumulative importance of each historical meter reading data, the freezing storage depth of each historical meter reading data is determined, including: Step S401: Extract each historical meter reading data Upload time ; Step S402: Based on each historical meter reading data Upload time And each storage weight Corresponding time interval , get each historical meter reading data Upload time Corresponding storage weight ; Step S403: Based on each historical meter reading data The cumulative importance of , calculate each historical meter reading data The frozen storage factor ; Step S404: Based on each historical meter reading data The frozen storage factor , determine the historical meter reading data The frozen storage depth is arranged from small to large. ,in, .

[0033] In this embodiment, after obtaining each historical meter reading data Upload time After that, you can further determine the time of each upload The time interval , and based on each upload time The time interval , and then further determine its corresponding storage weight , that is, get each historical meter reading data Upload time Corresponding storage weight ,in, . Then according to each historical meter reading data The cumulative importance of , each historical meter reading data can be further calculated The frozen storage factor ,in, ; Freeze storage factor The size of each historical meter reading data can be determined The frozen storage depth. That is, according to the frozen storage factor The sizes are sorted in order, so as to obtain the frozen storage depth sorting arranged from small to large , and historical meter reading data Corresponds to frozen storage depth sort One of them.

[0034] Next, step S50 is executed to freeze and store each historical meter reading data according to the corresponding freezing storage depth.

[0035] In this embodiment, when determining each historical meter reading data The frozen storage depth is arranged from small to large. After that, each historical meter reading data needs to be further stored in the repository in turn. middle.

[0036] In step S50, each historical meter reading data is frozen and stored according to the corresponding frozen storage depth, including: Step S501: Extracting frozen storage depth sorting The corresponding historical meter reading data Memory usage ; Step S502: Arrange the corresponding storage bins from small to large according to the frozen storage depth Data storage capacity , sort the frozen storage depth Each historical meter reading data under According to its corresponding memory usage Stored in each repository in sequence middle.

[0037] In this embodiment, when determining each historical meter reading data The frozen storage depth is arranged from small to large. Afterwards, deep sorting is done by extracting the frozen storage The historical meter reading data under Memory usage , and then according to each historical meter reading data Memory usage , and each repository Data storage capacity , each historical meter reading data Sort by frozen storage depth Stored in each repository In order to realize each historical meter reading data According to its memory usage For each repository Store them sequentially.

[0038] In step S50, when the storage library Historical meter reading data is stored in When Corresponding storage capacity satisfy In this embodiment, each storage library In the historical meter reading data When storing, for example, historical meter reading data , and historical meter reading data The corresponding memory usage is , then the memory usage of each is The sum needs to be less than the repository Corresponding storage capacity , each repository can be implemented For each historical meter reading data Full storage.

[0039] In step S502, the corresponding storage bins are arranged from small to large according to the frozen storage depth. Data storage capacity , sort the frozen storage depth Each corresponding historical meter reading data Stored in each repository in sequence Including: Step S5021: According to each repository The corresponding importance threshold , for each repository The historical meter reading data stored in Each historical sub-data Importance Conduct importance threshold monitoring; Step S5022: When historical meter reading data There is historical sub-data in The corresponding importance Does not exist at the corresponding importance threshold , then control the corresponding historical sub-data delete; Step S5022: When historical meter reading data There is historical sub-data in The corresponding importance Exists at the corresponding importance threshold , the corresponding importance threshold will be met Historical sub-data Store to the corresponding repository middle.

[0040] In this embodiment, the frozen storage depth is sorted Each corresponding historical meter reading data Stored in each repository in sequence In the process, you need to further define the The corresponding importance threshold , judge each historical meter reading data Each historical sub-data Importance Whether it belongs to the corresponding repository Importance threshold In addition, in each historical meter reading data In the case of historical sub-data The corresponding importance Does not exist at the corresponding importance threshold , it means that the historical sub-data If it is a cleanable item, you can clean it directly to facilitate, for example, updating historical meter reading data. Frozen storage depth sort Corresponding repository Transfer to repository When the historical meter reading data is completed after cleaning the historical sub-data, Transfer to repository Of course, when there is historical sub-data The corresponding importance Exists at the corresponding importance threshold , it means that the historical sub-data For example, from the repository Transfer to repository The retainable items at that time can directly meet the corresponding importance threshold Historical sub-data Store to the corresponding repository middle.

[0041] In step S502, each storage repository The historical meter reading data stored in All are complete data. In this embodiment, in order to ensure that each storage Historical meter reading data in Undivided, ensuring each historical meter reading data To ensure synchronization during cleanup, each repository must The historical meter reading data stored in All are complete data obtained through collection or after cleaning of historical sub-data.

[0042] Next, execute step S60 and step S70 to obtain the real-time meter reading data and perform storage capacity detection on the real-time meter reading data when it is frozen and stored; when the data storage capacity exceeds the set storage requirement, delete and clean up the historical sub-data frozen and stored at the corresponding pre-frozen storage depth according to preset rules based on the pre-frozen storage depth of the real-time meter reading data.

[0043] In this embodiment, in the order of frozen storage depth The historical meter reading data For each repository After storage, when new real-time meter reading data is obtained, the real-time meter reading data needs to be stored in the storage library. After the storage capacity test, to determine when the real-time meter reading data is stored, the storage library Whether the data storage volume in exceeds the storage capacity, if the data storage volume exceeds the set storage requirement, the deletion and cleaning of the historical sub-data frozen under the pre-frozen storage depth will be started accordingly according to the pre-frozen storage depth of the real-time meter reading data, so as to ensure that when the data needs to be cleaned up, the historical sub-data with the lowest importance level is cleaned up accordingly, meeting the requirements of each storage repository. storage capacity requirements.

[0044] In step S70, when the data storage volume exceeds the set storage requirement, the historical sub-data frozen and stored at the corresponding pre-frozen storage depth are deleted and cleaned according to the preset rules according to the pre-frozen storage depth of the real-time meter reading data, including: Step S701: Freeze storage factor based on real-time meter reading data , get real-time meter reading data in frozen storage depth sorting Pre-freeze storage depth in ; Step S702: Pre-freeze the storage depth and memory usage of real-time meter reading data , get the repository corresponding to the real-time meter reading data ; Step S703: Extract repository Previous frozen storage depth sort Corresponding to each historical meter reading data In the direction of decreasing the frozen storage depth, each storage repository Transfer in sequence; Step S704: Remove the data from the storage library after transferring them in sequence Historical meter reading data Conduct removal monitoring; Step S705: When there is historical meter reading data Removed from repository When the historical meter reading data Perform deletion cleanup.

[0045] In this embodiment, according to the freezing storage factor of the real-time meter reading data, , pre-freeze storage depth and memory usage Make a repository When cleaning the data, the freezing storage factor of the real-time meter reading data will be used first. , determine the real-time meter reading data in the frozen storage depth sort The location of the pre-freeze storage depth ,in, . Further, based on the pre-frozen storage depth and memory usage of real-time meter reading data , determine the repository where the real-time meter reading data is stored Generally, real-time meter reading data is stored in a repository. It can be a storage library with the largest freezing storage depth. Afterwards, extract the repository The previous one is the repository Depth sorting of frozen storage Corresponding to each historical meter reading data , and the historical meter reading data In the direction of decreasing the frozen storage depth, each storage repository Transfer and save in sequence, so as to realize the storage of data less than the pre-frozen storage depth when storing real-time meter reading data Repositories Historical meter reading data in Furthermore, when there is historical meter reading data Removed from repository , then it is necessary to further remove the repository Historical meter reading data Delete. Among them, the historical meter reading data The historical sub-data in includes at least one.

[0046] Finally, step S80 is executed to store the real-time meter reading data in the pre-frozen storage depth. After deleting and cleaning the historical sub-data frozen in the corresponding pre-frozen storage depth according to the preset rules, the storage library corresponding to the real-time meter reading data is Space is cleared and real-time meter reading data can be directly stored in the repository The corresponding pre-freeze storage depth.

[0047] like Figure 2 As shown, the present invention also provides an electric energy meter reading system 11 based on an electric energy information collection terminal, comprising: a data collection unit 111, for collecting historical meter reading data; a data splitting unit 112, for splitting each historical meter reading data according to the importance level to obtain historical sub-data of different importance levels; an importance level calculation unit 113, for obtaining the cumulative importance level of each historical meter reading data according to the historical sub-data of different importance levels; a storage depth calculation unit 114, for determining the frozen storage depth of each historical meter reading data based on the upload time and the cumulative importance level of each historical meter reading data; a frozen storage unit 115, for freezing and storing each historical meter reading data according to the corresponding frozen storage depth; a capacity detection unit 116, for acquiring real-time meter reading data and detecting the storage capacity when freezing and storing the real-time meter reading data; a cleaning unit 117, for deleting and cleaning the historical sub-data frozen and stored at the corresponding pre-frozen storage depth according to the pre-frozen storage depth of the real-time meter reading data according to preset rules when the storage capacity exceeds the set storage requirement; and a data storage unit 118, for storing the real-time meter reading data at the pre-frozen storage depth.

[0048] It should be noted that the electric energy meter reading system 11 based on the electric energy information collection terminal provided in the above embodiment and the electric energy meter reading method based on the electric energy information collection terminal provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In actual application, the electric energy meter reading system 11 based on the electric energy information collection terminal provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0049] In summary, the present invention discloses an electric energy meter reading method and method based on an electric energy information collection terminal. By storing historical meter reading data in a repository with different freezing storage depths according to the upload time and the cumulative importance, and controlling and cleaning according to the importance of each historical sub-data in each historical meter reading data, it can effectively ensure that each sub-data of the meter reading data can be subdivided according to the importance when stored. And when inserting new meter reading data, it can also adjust the freezing storage depth of other historical meter reading data, that is, the historical sub-data of each historical meter reading data can be deleted and cleaned in order from small to large according to the importance, so that the data collected each time can be gradually deleted to ensure the traceability of the data, and the freezing storage and cleaning safety of the meter reading data can be realized. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has a high industrial utilization value.

[0050] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A method for reading electric energy meters based on an electric energy information collection terminal, characterized in that: include: Collect historical meter reading data; Splitting each of the historical meter reading data according to the importance level to obtain historical sub-data of different importance levels; According to the historical sub-data of different importance, the cumulative importance of each of the historical meter reading data is obtained; Determining the freezing storage depth of each of the historical meter reading data based on the upload time and cumulative importance of each of the historical meter reading data; Freeze and store each of the historical meter reading data according to the corresponding freeze storage depth; Acquire real-time meter reading data, and detect storage capacity when freezing and storing the real-time meter reading data; When the data storage volume exceeds the set storage requirement, the historical sub-data frozen and stored at the corresponding pre-frozen storage depth are deleted and cleaned according to the pre-frozen storage depth of the real-time meter reading data and the preset rules; The real-time meter reading data is stored in the pre-frozen storage depth.

2. The electric energy meter reading method based on the electric energy meter information collection terminal according to claim 1 is characterized in that: Each of the historical meter reading data is split according to the importance, to obtain historical sub-data of different importance, including: Extract the historical meter reading data Each historical sub-data in ; Determine each of the historical sub-data The corresponding data type; According to the historical sub-data The corresponding data type is mapped to obtain each of the historical sub-data Importance .

3. The electric energy meter reading method based on the electric energy meter information collection terminal according to claim 1 is characterized in that: According to the historical sub-data of different importance, the cumulative importance of each historical meter reading data is obtained, including: Each historical sub-data Importance Perform addition operation to obtain each of the historical meter reading data The cumulative importance of .

4. The electric energy meter reading method based on the electric energy meter information collection terminal according to claim 1 is characterized in that: Based on the upload time and cumulative importance of each of the historical meter reading data, determining the freezing storage depth of each of the historical meter reading data includes: Extract each of the historical meter reading data Upload time ; According to each of the historical meter reading data Upload time And each storage weight Corresponding time interval , get each of the historical meter reading data Upload time Corresponding storage weight ; According to each of the historical meter reading data The cumulative importance of , calculate and obtain each of the historical meter reading data The frozen storage factor ; According to each of the historical meter reading data The frozen storage factor , determine the historical meter reading data The frozen storage depth is arranged from small to large. ,in, .

5. The electric energy meter reading method based on the electric energy meter information collection terminal according to claim 4 is characterized in that: Each of the historical meter reading data is frozen and stored according to the corresponding freezing storage depth, including: Extract frozen storage depth sort The corresponding historical meter reading data Memory usage ; Arrange the corresponding storage repositories from small to large according to the frozen storage depth Data storage capacity , sort the frozen storage depth Each of the historical meter reading data below According to its corresponding memory usage Stored in each repository in sequence middle.

6. The electric energy meter reading method based on the electric energy meter information collection terminal according to claim 5 is characterized in that: When the repository Historical meter reading data is stored in When Corresponding storage capacity satisfy .

7. The electric energy meter reading method based on the electric energy meter information collection terminal according to claim 5 is characterized in that: Arrange the corresponding storage repositories from small to large according to the frozen storage depth Data storage capacity , sort the frozen storage depth The corresponding historical meter reading data Stored in each repository in sequence Including: According to each of the said repositories The corresponding importance threshold , for each of the repositories The historical meter reading data stored in Each historical sub-data Importance Conduct importance threshold monitoring; When the historical meter reading data There is historical sub-data in The corresponding importance Does not exist at the corresponding importance threshold , then control the corresponding historical sub-data delete; When the historical meter reading data There is historical sub-data in The corresponding importance Exists at the corresponding importance threshold , the corresponding importance threshold will be met Historical sub-data Store to the corresponding repository middle.

8. The electric energy meter reading method based on the electric energy meter information collection terminal according to claim 7 is characterized in that: Each repository The historical meter reading data stored in All are complete data.

9. The electric energy meter reading method based on the electric energy meter information collection terminal according to claim 1 is characterized in that: When the data storage volume exceeds the set storage requirement, the historical sub-data frozen and stored at the corresponding pre-frozen storage depth are deleted and cleaned according to the pre-frozen storage depth of the real-time meter reading data and the preset rules, including: According to the freezing storage factor of the real-time meter reading data , get the real-time meter reading data in frozen storage depth sorting Pre-freeze storage depth in ; According to the pre-freezing storage depth and memory usage of the real-time meter reading data , get the repository corresponding to the real-time meter reading data ; Extract the repository Previous frozen storage depth sort Each of the corresponding historical meter reading data In the direction of decreasing the frozen storage depth, each storage repository Transfer in sequence; After being transferred in sequence, they are removed from the repository Historical meter reading data Conduct removal monitoring; When there is historical meter reading data Removed from repository When the historical meter reading data Perform deletion cleanup.

10. An electric energy meter reading system based on an electric energy information collection terminal, characterized in that: include: A data collection unit, used to collect historical meter reading data; A data splitting unit, used for splitting each of the historical meter reading data according to the importance, to obtain historical sub-data of different importance; An importance calculation unit, used for obtaining the cumulative importance of each of the historical meter reading data according to the historical sub-data of different importance; A storage depth calculation unit, used to determine the frozen storage depth of each of the historical meter reading data based on the upload time and cumulative importance of each of the historical meter reading data; A freezing storage unit, used for freezing and storing each of the historical meter reading data according to a corresponding freezing storage depth; A capacity detection unit, used for acquiring real-time meter reading data and detecting the storage capacity of the real-time meter reading data when it is frozen and stored; A cleaning unit, used for deleting and cleaning the historical sub-data frozen and stored at the corresponding pre-frozen storage depth according to preset rules according to the pre-frozen storage depth of the real-time meter reading data when the storage capacity exceeds the set storage requirement; as well as The data storage unit is used to store the real-time meter reading data at the pre-frozen storage depth.

Citation Information

Patent Citations

  • Electric power system energy management system historical data storage method adopting two-dimension table

    CN103473330A

  • Intelligent electric meter segmented freezing data storage method and device and intelligent electric meter segmented freezing data query method and device

    CN109614447A

  • Quick storage method for high-frequency power data

    CN111680046A

  • Memory management method and device

    CN113722106A

  • Deep learning data cache management method and system based on importance perception

    CN114462590A