Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Storage and searching method for continuous time quantum timestamp sequence number index minute freezing

A technology of time period and time stamp, which is applied in the field of smart electric energy meters, can solve the problems of unrecorded addresses, failure to meet user needs, low search efficiency, etc., achieve good application prospects, save index space, and compress record storage effect of space

Active Publication Date: 2018-07-06
STATE GRID JIANGSU ELECTRIC POWER CO ELECTRIC POWER RES INST +2
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) Sequential storage lookup method, the basic principle is to store the frozen records in sequence, store the time stamp of each record at the same time, use time as an index to search in the entire record space according to the dichotomy method when searching, its disadvantages The reason is that the dichotomy method is used to traverse the entire record space. As the number of records increases, it takes longer to find records at a specified time point, and the search efficiency is low. When the number of records increases to a certain number, it cannot meet the needs of users;
[0006] (2) Do not use the traditional dichotomy to traverse the entire record space, but for each type of minute-freeze record, establish a monthly index table, a daily index table, and an hourly index table, and maintain the monthly index table and daily index table when storing each record , time index table, and then get the corresponding records by looking up the month index table, day index table, and time index table when searching. The disadvantage is that whenever a type of minute freeze record is stored, the month of this kind of minute freeze record must be updated at the same time. Index table, daily index table, and hour index table, the algorithms are complex; to search for one type of minute frozen records, one must search the monthly index table, daily index table, and hour index table in order to obtain such minute frozen records within a certain hour. Start address, if the storage time interval of the minute freeze record is 1 minute (that is, there are 60 minute freeze records in this hour), further sequential search must be carried out among the 60 records of this kind of minute freeze record to get this The record of the specific minute in the hour (if it is the 59-minute record of this hour, it needs to be searched 59 times in order to get the 59-minute frozen record), and the address of the record cannot be directly obtained through a linear calculation; in addition, by establishing a month Indexes can only save the data of the last year at most, but not the data of the last few years. If you want to save more records, you need to create more monthly indexes, daily indexes, and hourly indexes;

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Storage and searching method for continuous time quantum timestamp sequence number index minute freezing
  • Storage and searching method for continuous time quantum timestamp sequence number index minute freezing
  • Storage and searching method for continuous time quantum timestamp sequence number index minute freezing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The present invention will be further described below in conjunction with the accompanying drawings.

[0038] The storage and search method of the continuous time period timestamp serial number index minute freezing of the present invention, such as figure 1 shown, including the following steps,

[0039] Step (A), store the frozen data with the same freezing cycle interval together, and store the frozen data with different freezing cycle intervals separately to form sub-scheme storage. The physical blocks of the data area for storing records should be divided for each plan, and at the same time for each plan Divide the physical blocks in the index area that store the time stamp serial number index circular queue, and each scheme divides the data area physical blocks that store the records. The freezing period of each frozen item is the same, and the data length of each frozen record is the same length, that is The physical block of the data area is a circular queue dat...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a storage and searching method for continuous time quantum timestamp sequence number index minute freezing. The method comprises the steps that freeze data with a same intervalfreeze period is stored, freeze data with different interval freeze periods is respectively stored, and storage with different schemes is generated; according to the continuous time quantum, identifying and dividing the continuous time quantum for the freeze data stored by different schemes is proposed; a timestamp sequence number index cyclic sequence is built; according to the built timestamp sequence number index, the searching method is provided based on the timestamp sequence number index, and an actual storage position of any record in the continuous time quantum is obtained. Accordingto the method, a month index table, a day tablet and a hour index tablet are not needed, the storage and searching method for freeze record data of massive minutes can be achieved, the searching efficiency is greatly improved, in addition to improving the searching efficiency, the index space can be greatly compressed, the record storage space can be greatly compressed, and the application prospect is better.

Description

technical field [0001] The invention relates to the technical field of smart electric energy meters, in particular to a storage and search method for continuous time period timestamp sequence number index minute freezing. Background technique [0002] With the development of national economy and technology and the improvement of people's living standards, electric energy has become an indispensable secondary energy source in people's production and life, bringing endless convenience to people's production and life. As the only component for measuring electric energy in the power system, the energy meter is self-evident in its importance and reliability. [0003] Minute freezing is the smart meter's record of the real-time power load operating status and characteristics during the operation of the power system. The smart meter records the minute freezing record according to the time interval set by the user. The data objects of the minute freezing record are set by the user. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/2272G06F16/2477
Inventor 徐晴刘建周超龚丹田正其祝宇楠
Owner STATE GRID JIANGSU ELECTRIC POWER CO ELECTRIC POWER RES INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products