CN104750598B - A kind of storage method of IEC61850 log services - Google Patents
A kind of storage method of IEC61850 log services Download PDFInfo
- Publication number
- CN104750598B CN104750598B CN201310732820.5A CN201310732820A CN104750598B CN 104750598 B CN104750598 B CN 104750598B CN 201310732820 A CN201310732820 A CN 201310732820A CN 104750598 B CN104750598 B CN 104750598B
- Authority
- CN
- China
- Prior art keywords
- power down
- daily record
- capacity
- lost
- memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Debugging And Monitoring (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
The present invention discloses a kind of storage method of IEC61850 log services, comprises the following steps:The daily record of device generation is stored in the high speed small-capacity memory that power down is not lost in real time;When the daily record cached in the high speed small-capacity memory that foregoing power down is not lost reaches the daily record unloading capacity of setting, the high-capacity and high-speed memory that its all daily record is integrally copied to power down loss is cached;Whether daily record updates in the high-capacity and high-speed memory lost using the power down of low speed task monitors, has renewal that then its entirety is copied to newly-increased daily record in the low speed mass storage that power down is not lost to using the task of low priority;After in the low speed mass storage that the task of foregoing low priority does not lose newly-increased log recording to power down, corresponding log information in high speed small-capacity memory and the high-capacity and high-speed memory of power down loss that renewal power down is not lost.Such a storage method can realize the storage that high speed, Large Copacity and the power down of IEC61850 log services are not lost.
Description
Technical field
The present invention relates to a kind of storage method of IEC61850 log services.
Background technology
IEC61850 log services are one of critical services in IEC61850 consensus standards, while are also power system event
The important evidence that barrier information is recollected.Log services are different from other IEC61850 services, and the service request is unrelated with communication state,
Event information record, and the characteristic do not lost with power down are still carried out in network or communication failure.Due to log services
It is generally necessary to substantial amounts of memory space, such as electrical primary equipment on-line monitoring equipment, it is desirable to daily record storage for up to one
Year, and the points of each periodic recording are more, it is huge to daily record capacity requirement;In addition when the system failure, data variation note is supported
Substantial amounts of log information may be produced in the short time by recording the function of daily record, for the log event that avoids happening suddenly cause too much can not and
Shi Jilu, the demand of high real-time is proposed to system log.
The high speed small-capacity memory do not lost using power down(Such as NVRAM)Stored, can meet to happen suddenly in daily record
The requirement of high speed real-time storage during generation, and do not lose function with data power down;But the memory span very little, storage
The Limited Number of daily record, the requirement of massive store can not be met.If the low speed massive store do not lost using power down directly
Device(Such as NANDFLASH)Daily record storage is carried out, although the requirement that capacity is not lost with power down can be met, due to its storage speed
Degree is slower, can not be preserved in time when a large amount of daily records, which happen suddenly, to be produced, real-time is unsatisfactory for requiring.The high speed lost according to power down
Mass storage(Such as DRAM)Daily record storage is carried out, although can meet to require on capacity and speed, but can not be met
The requirement that daily record power down is not lost.
The IEC61850 daily record storage schemes used at present, the storage being usually combined using DRAM with NANDFLASH
Mode.Device generates daily record, is stored in DRAM is cached first, after reaching certain capacity, then by the daily record in DRAM
It is copied in NANDFLASH, although this scheme can reach at a high speed, the requirement of Large Copacity and certain power down loss may
The newest journal entries that a part is stored in DRAM can be lost under power-down conditions, are had much room for improvement.
The content of the invention
The purpose of the present invention, it is to provide a kind of storage method of IEC61850 log services, it can realize IEC61850
The storage that high speed, Large Copacity and the power down of log services are not lost.
In order to reach above-mentioned purpose, solution of the invention is:
A kind of storage method of IEC61850 log services, comprises the following steps:
(1)The daily record of device generation is stored in the high speed small-capacity memory that power down is not lost in real time;
(2)The daily record unloading for reaching setting when the daily record cached in the high speed small-capacity memory that foregoing power down is not lost is held
Amount, the high-capacity and high-speed memory that its all daily record is integrally copied to power down loss are cached;
(3)Whether daily record updates in the high-capacity and high-speed memory lost using the power down of low speed task monitors, has renewal then
Newly-increased daily record is integrally copied in the low speed mass storage that power down is not lost using the task of low priority;
(4)In the low speed mass storage that the task of foregoing low priority does not lose newly-increased log recording to power down
Afterwards, corresponding daily record letter in the high-capacity and high-speed memory that the high speed small-capacity memory and power down that renewal power down is not lost are lost
Breath.
Above-mentioned steps(1)Particular content be:Daily record is produced inside device, the daily record of generation is deposited according to sequencing
Enter in the high speed small-capacity memory that power down is not lost, the counter increase by 1 of journal entries in the memory.
Above-mentioned steps(2)Particular content be:When the daily record cached in the high speed small-capacity memory that power down is not lost reaches
To the daily record unloading capacity m of setting, the preceding m bars daily record in high speed small-capacity memory that the power down is not lost integrally is copied to
The high-capacity and high-speed memory that power down is lost is cached, and sets the day in the high-capacity and high-speed memory of the power down loss
Will renewal mark is set to TRUE.
Above-mentioned steps(3)Particular content be:The high-capacity and high-speed that the task of low priority persistently detects power down loss is deposited
Daily record renewal mark in reservoir, and when being masked as TRUE, newly-increased day in the high-capacity and high-speed memory that power down is lost
Will is integrally copied to using the task of low priority in the low speed mass storage that power down is not lost.
Above-mentioned steps(4)Particular content be:The task of low priority does not lose newly-increased log recording to power down
After in low speed mass storage, corresponding m bars daily record is removed in the high speed small-capacity memory that power down is not lost, while standard
The counter of journal entries in the high speed small-capacity memory that the power down is not lost really is updated, and the Large Copacity that power down is lost is high
Daily record renewal mark in fast memory is set to FALSE.
After such scheme, the present invention uses the high speed small-capacity memory that power down is not lost(Such as NVRAM)And power down
The low speed mass storage do not lost(Such as NANDFLASH)The storage for carrying out IEC61850 daily records is combined, and uses power down
The high-speed large capacity memory of loss(Such as DRAM)As intermediate buffer, carry out high speed small-capacity memory that power down do not lose with
The copy of daily record data between the low speed mass storage that power down is not lost, the store function of IEC61850 daily records is realized,
The characteristic that high speed, Large Copacity and power down needed for daily record storage are not lost has been taken into account simultaneously.
Brief description of the drawings
Fig. 1 is the fundamental diagram of the present invention.
Embodiment
Below with reference to accompanying drawing, technical scheme is described in detail.
As shown in figure 1, the present invention provides a kind of storage method of IEC61850 log services, it is preferred that emphasis is using power down not
The high speed small-capacity memory A of loss(NVRAM can be used)The low speed mass storage C not lost with power down(It can use
NANDFLASH)It is combined, and the high-speed large capacity memory B lost by power down(Such as DRAM)Unloading is realized, wherein, A conducts
High-speed memory, B comprise the following steps as intermediate buffer, C as mass storage, methods described:
(1)After new daily record is produced inside device, newly-generated daily record is stored in power down and not lost first according to sequencing
In the low capacity high-speed memory A of mistake, recording the counter n of journal entries in A accordingly increases, i.e. n++;
(2)When the counter of journal entries in A reaches the daily record unloading capacity m of setting(That is n>=m), and power down is lost
High-speed large capacity memory B in daily record renewal when being masked as FALSE, the preceding m bars daily record in A is integrally copied in B by system
Cached, and set the daily record in B to update mark and be set to TRUE;
(3)Using the monitoring programme of low priority, judge whether there is renewal in B, updated by not stopping to detect the daily record in B
Mark, discovery be masked as indicating renewal during TRUE, then by the journal entries increased newly in B be integrally copied to power down do not lose it is low
In fast mass storage C, hereafter corresponding m bars log content in A is removed, while the accurate bar for updating remaining daily record in A
Mesh counter, i.e.,(n=n-m), and it is FALSE that B daily record is updated into traffic sign placement;
(4)When IEC61850 clients carry out log searching with upper trick journal entries, system need to carry out two parts content
Operation:The low speed mass storage part B that the high speed small-capacity memory part A and power down that power down is not lost are not lost.Should
Response need to be carried out from A log informations corresponding to being extracted jointly in B by answering the message content of client.
The technological thought of above example only to illustrate the invention, it is impossible to protection scope of the present invention is limited with this, it is every
According to technological thought proposed by the present invention, any change done on the basis of technical scheme, the scope of the present invention is each fallen within
Within.
Claims (4)
1. a kind of storage method of IEC61850 log services, it is characterised in that comprise the following steps:
(1) daily record of device generation is stored in the high speed small-capacity memory that power down is not lost in real time;
(2) when the daily record cached in the high speed small-capacity memory that foregoing power down is not lost reaches the daily record unloading capacity of setting,
The high-capacity and high-speed memory that its all daily record is integrally copied to power down loss is cached;
(3) whether daily record updates in the high-capacity and high-speed memory lost using the task monitors power down of low priority, there is renewal
Then newly-increased daily record is integrally copied in the low speed mass storage that power down is not lost;
The particular content of the step (3) is:The task of low priority persistently detects the high-capacity and high-speed memory of power down loss
In daily record renewal mark, and when being masked as TRUE, the daily record increased newly in high-capacity and high-speed memory that power down is lost is made
Integrally it is copied to the task of low priority in the low speed mass storage that power down is not lost;
(4) after in the low speed mass storage that the task of foregoing low priority does not lose newly-increased log recording to power down,
Corresponding log information in the high-capacity and high-speed memory that the high speed small-capacity memory and power down that renewal power down is not lost are lost.
A kind of 2. storage method of IEC61850 log services as claimed in claim 1, it is characterised in that:The step (1)
Particular content be:Daily record is produced inside device, according to sequencing, the high speed that deposit power down is not lost is small for the daily record of generation
In capacity memory, the counter increase by 1 of journal entries in the memory.
A kind of 3. storage method of IEC61850 log services as claimed in claim 2, it is characterised in that:The step (2)
Particular content be:When the daily record cached in the high speed small-capacity memory that power down is not lost reaches the daily record unloading capacity of setting
M, the preceding m bars daily record in high speed small-capacity memory that the power down is not lost integrally is copied to the high-capacity and high-speed of power down loss
Memory is cached, and sets the daily record renewal mark in the high-capacity and high-speed memory of the power down loss to be set to TRUE.
A kind of 4. storage method of IEC61850 log services as claimed in claim 3, it is characterised in that:The step (4)
Particular content be:In the low speed mass storage that the task of low priority does not lose newly-increased log recording to power down
Afterwards, corresponding m bars daily record is removed in high speed small-capacity memory power down not lost, while is accurately updated the power down and do not lost
High speed small-capacity memory in journal entries counter, and by power down lose high-capacity and high-speed memory in daily record more
New mark is set to FALSE.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310732820.5A CN104750598B (en) | 2013-12-26 | 2013-12-26 | A kind of storage method of IEC61850 log services |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310732820.5A CN104750598B (en) | 2013-12-26 | 2013-12-26 | A kind of storage method of IEC61850 log services |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104750598A CN104750598A (en) | 2015-07-01 |
CN104750598B true CN104750598B (en) | 2017-11-24 |
Family
ID=53590333
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310732820.5A Active CN104750598B (en) | 2013-12-26 | 2013-12-26 | A kind of storage method of IEC61850 log services |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104750598B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105183868A (en) * | 2015-09-15 | 2015-12-23 | 浪潮(北京)电子信息产业有限公司 | Storage method and device for logs of file system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003256269A (en) * | 2002-02-27 | 2003-09-10 | Matsushita Electric Ind Co Ltd | Control method for nonvolatile storage device, and memory device |
CN1477822A (en) * | 2003-07-31 | 2004-02-25 | 北京港湾网络有限公司 | Extension storage method of journal information |
CN1536788A (en) * | 2003-04-11 | 2004-10-13 | 华为技术有限公司 | Journal remaining system and method |
CN102385535A (en) * | 2010-08-31 | 2012-03-21 | 苹果公司 | Handling errors during device bootup from a non-volatile memory |
CN102567146A (en) * | 2011-12-29 | 2012-07-11 | 北京握奇数据系统有限公司 | Log backup method and device and smart card |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7010645B2 (en) * | 2002-12-27 | 2006-03-07 | International Business Machines Corporation | System and method for sequentially staging received data to a write cache in advance of storing the received data |
-
2013
- 2013-12-26 CN CN201310732820.5A patent/CN104750598B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003256269A (en) * | 2002-02-27 | 2003-09-10 | Matsushita Electric Ind Co Ltd | Control method for nonvolatile storage device, and memory device |
CN1536788A (en) * | 2003-04-11 | 2004-10-13 | 华为技术有限公司 | Journal remaining system and method |
CN1477822A (en) * | 2003-07-31 | 2004-02-25 | 北京港湾网络有限公司 | Extension storage method of journal information |
CN102385535A (en) * | 2010-08-31 | 2012-03-21 | 苹果公司 | Handling errors during device bootup from a non-volatile memory |
CN102567146A (en) * | 2011-12-29 | 2012-07-11 | 北京握奇数据系统有限公司 | Log backup method and device and smart card |
Also Published As
Publication number | Publication date |
---|---|
CN104750598A (en) | 2015-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103338243B (en) | The data cached update method and system of Web node | |
CN105007294B (en) | Power transmission and transformation equipment state monitoring big data quickly receives and dissemination system | |
CN102521269A (en) | Index-based computer continuous data protection method | |
CN109391629B (en) | Data processing method of rail transit comprehensive monitoring system | |
CN106230997B (en) | Resource scheduling method and device | |
CN106407224A (en) | Method and device for file compaction in KV (Key-Value)-Store system | |
CN109756566B (en) | Block chain based data storage method, related equipment and storage medium | |
CN107368437B (en) | Last-level cache management method and system | |
CN106933868A (en) | A kind of method and data server for adjusting data fragmentation distribution | |
CN102394944B (en) | Method and equipment for correcting IP (Internet Protocol) address in Web access | |
WO2010146239A1 (en) | Image processor, image generator and computer program | |
CN114979158B (en) | Resource monitoring method, system, equipment and computer readable storage medium | |
CN109246116A (en) | A kind of Network anomaly detection system based on DNS log analysis | |
CN106649652A (en) | Construction method for on-line transformer substation main equipment monitoring system based on Hadoop | |
CN103823807A (en) | Data de-duplication method, device and system | |
CN107302569A (en) | A kind of security monitoring Data acquisition and storage method of facing cloud platform | |
CN108259426A (en) | A kind of ddos attack detection method and equipment | |
CN107018170A (en) | A kind of method of data synchronization and equipment | |
CN104202349B (en) | The method of scheduling distributed buffer resources, Apparatus and system | |
CN108616896B (en) | Operator identification method and device and internet access system | |
CN101925093A (en) | Method and equipment for acquiring terminal information | |
CN104750598B (en) | A kind of storage method of IEC61850 log services | |
CN103761194B (en) | A kind of EMS memory management process and device | |
CN108494766A (en) | WAF regulation managements method and WAF groups | |
CN105138278B (en) | A kind of the naked of intelligent substation network message takes inventory method for storing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |