CN106656558A - Method for prolonging service life of storage unit of data acquisition server - Google Patents
Method for prolonging service life of storage unit of data acquisition server Download PDFInfo
- Publication number
- CN106656558A CN106656558A CN201610965933.3A CN201610965933A CN106656558A CN 106656558 A CN106656558 A CN 106656558A CN 201610965933 A CN201610965933 A CN 201610965933A CN 106656558 A CN106656558 A CN 106656558A
- Authority
- CN
- China
- Prior art keywords
- data
- network
- ram
- emmc
- collection
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000003860 storage Methods 0.000 title claims abstract description 17
- 230000015654 memory Effects 0.000 claims abstract description 91
- 230000002159 abnormal effect Effects 0.000 claims abstract description 8
- 230000003139 buffering effect Effects 0.000 claims description 53
- 230000004913 activation Effects 0.000 claims description 27
- 238000013480 data collection Methods 0.000 claims description 20
- 238000012544 monitoring process Methods 0.000 claims description 13
- 238000004891 communication Methods 0.000 claims description 11
- 238000013500 data storage Methods 0.000 claims description 11
- 238000001514 detection method Methods 0.000 claims description 6
- 238000012423 maintenance Methods 0.000 claims description 5
- 230000014759 maintenance of location Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 3
- 238000011084 recovery Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 239000000725 suspension Substances 0.000 description 2
- 238000009412 basement excavation Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003647 oxidation Effects 0.000 description 1
- 238000007254 oxidation reaction Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The invention provides a method for prolonging the service life of a storage unit of a data acquisition server, which comprises the steps of judging whether an eMMC memory has data or not after acquiring the acquired data, if so, firstly sending the data in the eMMC memory to an external network, simultaneously storing the current acquired data into an RAM data buffer area, sending the data in the RAM data buffer area to the network after the data in the eMMC memory is sent, and if not, storing the acquired data into the RAM data buffer area and then transmitting the data to the network. If the network is abnormal, judging whether the RAM data buffer area is full of data, if so, judging whether the eMMC memory is full of data, if so, reporting an error by the system, if not, transferring the data in the RAM data buffer area to the eMMC memory at one time, storing the acquired data into the RAM data buffer area, and if not, storing the current acquired data into the RAM data buffer area.
Description
Technical field
The present invention relates to the technical field of the data acquisition of power distribution station, more particularly to one kind extend data acquisition server and deposit
The method of storage unit service life.
Background technology
It is related to the data acquisition of substantial amounts of intelligent meter in the applications such as Internet of Things, energy internet and sends, greatly
The data integrity of data age directly influences data analysis and the correctness excavated, so as to avoid huge commercial value from losing
Lose, so the service life for extending data acquisition controller storage chip becomes the most important factor that data preserve security.
In field of power distribution, data acquisition acquires a special sense, and collected data must safely, effectively, such number
According to could be that distribution industry carries out the analysis and excavation of electricity requirement and plays and real effectively guide.But the data of field of power distribution are past
It is past to there are the little data characteristicses of granularity, but Real-time Collection and Information Security are required higher.And because bad environments,
Grain is less high to network requirement, and server bearing capacity pressure is very big.
When at present by network real-time data collection, due to each intelligent meter limited storage space of itself, and due to table
Count number is huge, there is polytype and using different communication protocol, the consideration for demand and cost can not possibly be each
Meter expands enough memory spaces, when Network Abnormal, current gathered data cannot be in time by network transmission to data
During center, loss of data is often resulted in, be unfavorable for the monitoring to power station and management.
The content of the invention
It is an object of the invention to provide a kind of method for extending data acquisition server memory cell service life, to solve
Certainly it is existing extend data acquisition server memory cell service life method existing for network failure when cannot ensure to adopt
The problem of the integrality of the data of collection.
For achieving the above object, the invention provides a kind of side for extending data acquisition server memory cell service life
Method, comprises the following steps:
(1) data acquisition server gathers the data of meter and sensing equipment in power distribution station;
(2) data acquisition server detects whether the communication network that it is measured between server with data acquisition is normal, such as just
Often, into step (3);
(3) data acquisition server sends the data of collection to data collection strategy service by the communication network
Device;
(4) data collection strategy server by the data of collection by network share to monitoring branch center;
(5) the monitoring branch center by gather data is activation to publisher server, data mining center, Surveillance center
And/or plant maintenance terminal;
(6) publisher server passes through cloud device by the data is activation for gathering to user side;Wherein, the step
(2) specifically include:
S1:Whether detection communication network is normal, in this way, into step S3, such as no entrance step S6;
S2:Judge whether eMMC memories have data, it is in this way, such as no into step S3, into step S4;
S3:Data is activation first in eMMC memories is to external network, while current gathered data is stored in into RAM numbers
According to buffering area, after the data is activation in eMMC memories is finished, then the data is activation in RAM data buffering area is gone out to outside
Network;
S4:Current gathered data is stored in into RAM data buffering area, then is conveyed directly to external network;
S5:Judge whether RAM data buffering area has been filled with data, it is in this way, such as no into step S6, into step S7;
S6:Judge whether eMMC memories are filled with data, in this way, system reports an error, it is such as no, by RAM data buffering area
Data are disposably transferred to the eMMC memories, and current gathered data is stored in into the RAM data buffering area;
S7:Current gathered data is stored in into the RAM data buffering area;
Wherein, when the eMMC memories send data every time, the only corresponding pointer of mobile data.
It is preferred that in step S1 after Network Abnormal, when detecting network again and being normal, implementation procedure and former step S1
The normal situation of network is identical.
It is preferred that obtaining the historical data of collection, the average length L of every gathered data is calculated according to historical data, obtained
Collection period T, data collection point N are taken, the gathered data for calculating according to the average length L and collection period T 31 days is always accounted for
It is with memory space Z:
Z=(24 hour/day of L*N*3600 seconds/hour * * 31 days)/T,
Wherein, L=4 bytes are taken here, the T=10 seconds, N=5000 points, then Z is 5G;
Then according to the size of calculated Z, the amount of capacity for arranging eMMC memories is set to 8G, wherein, distribution
The 3G capacity of eMMC memories is used for system operation, and distribution eMMC deposits the 5G of appearance reservoir and measures for data storage.
It is preferred that obtaining the historical data of collection, the average length L of every gathered data is calculated according to historical data, obtained
Collection period T, data collection point N are taken, total occupancy of the gathered data of 6 days is calculated according to the average length L and collection period T
Memory space Z is:
Z=(24 hour/day of L*N*3600 seconds/hour * * 6 days)/T,
Wherein, L=4 bytes are taken here, the T=10 seconds, N=5000 points, then Z is 1G;
Then according to the size of calculated Z, the amount of capacity for arranging the RAM data buffering area is 1G.
Present invention also offers a kind of method for extending data acquisition server memory cell service life, including following step
Suddenly:
S1:Obtain the gathered data of each meter;
S2:Whether detection network is normal, in this way, into step S3, such as no entrance step S6;
S3:Judge whether eMMC memories have data, it is in this way, such as no into step S4, into step S5;
S4:Data is activation first in eMMC memories is to external network, while current gathered data is stored in into RAM numbers
According to buffering area, after the data is activation in eMMC memories is finished, then the data is activation in RAM data buffering area is gone out to outside
Network;
S5:Current gathered data is stored in into RAM data buffering area, then is conveyed directly to external network;
S6:Judge whether RAM data buffering area has been filled with data, it is in this way, such as no into step S7, into step S8;
S7:Judge whether eMMC memories are filled with data, in this way, system reports an error, it is such as no, by RAM data buffering area
Data are disposably transferred to the eMMC memories, and current gathered data is stored in into the RAM data buffering area;
S8:Current gathered data is stored in into the RAM data buffering area;
Wherein, when the eMMC memories send data every time, the only corresponding pointer of mobile data.
It is preferred that in step S2 after Network Abnormal, when detecting network again and being normal, implementation procedure and former step S2
The normal situation of network is identical.
It is preferred that the amount of capacity of the eMMC memories is set to 8G, wherein, the 3G capacity for distributing eMMC memories is used
In system operation, distribution eMMC deposits the 5G of appearance reservoir and measures for data storage.
It is preferred that the amount of capacity of the RAM data buffering area is set to 1G.
It is preferred that the data acquisition server in step S1 by being connected with the meter in power supply network is acquired number
According to the eMMC memories are arranged in the data acquisition server, and the data acquisition server is used to gather power supply network
In all kinds of meter data, and all communication network by the data acquisition measurement server of the data is activation to power distribution network for gathering.
The inventive method has the advantages that:
(1) by the way that memory ram buffering area, two kinds of storage modes of eMMC are be combined with each other, flexible and efficient data are realized
Storage mode, not only substantially prolongs storage chip service life, also improve the security reliability of gathered data preservation;
(2) high to network requirement for the less data of granularity of field of power distribution, server bearing capacity pressure is very big
Problem, have chosen eMMMC, storage and read that data speed is fast, caloric value is little, and anti-vibration has stability, is welded on plank
On, stablizing for pin oxidation is solved, it is more much lower than the cost performance of traditional SD card.
Description of the drawings
Fig. 1 is the system construction drawing of the inventive method application examples;
Fig. 2 is the inventive method flow chart;
Fig. 3 is the data storage procedure schematic diagram of step S5 of the present invention;
Fig. 4 is the data storage procedure schematic diagram of step S7 of the present invention;
Data storage procedure schematic diagram when Fig. 5 is the inventive method network recovery.
Specific embodiment
For the present invention is better described, hereby with a preferred embodiment, and accompanying drawing is coordinated to elaborate the present invention, specifically
It is as follows:
As shown in figure 1, the method that the present invention is provided is applied to carry out data acquisition in power distribution station, the data of the power distribution station are adopted
Collecting system, data collection strategy server 200 and the data acquisition server 100 with eMMC memories, data collection strategy
Server 200 is communicated by internet with each monitoring branch center 300 of power supply network.Wherein, data acquisition server 100
Communicated by network with data collection strategy server 200.Data acquisition server 100 is generally positioned at the PLC of power distribution station
In controller 101, for gathering power supply network in all kinds of meter and sensing equipment data, PLC 101 and data acquisition
Strategic server 200 carries out data interaction.
Wherein, the system can also be arranged as required to the Surveillance center's terminal 310, equipment being connected with monitoring branch center 300
Maintenance terminal 320, data mining center terminal 330, monitoring branch center 300 is taken by network (internet) with data collection strategy
Business device 200 is communicated.Surveillance center's terminal 310 is used to obtain the data of collection and show;Plant maintenance terminal 320 is used to obtain
Take the data of collection and notify attendant when system detectio is to data exception;Data mining center terminal 330 is used for basis
The data of collection carry out each token of Treatment Analysis power supply network and the service behaviour of sensor.The system also includes publisher server
400, publisher server 400 is connected with monitoring branch center 300, for obtaining the data of collection and passing through cloud device by collection
Data is activation is to user side being distributed to user.
So, for the administrative staff of monitor terminal, its can by with the monitoring monitoring that is connected of branch center 300
Heart terminal 310 directly obtains the situation of the data of the meter in each power station and the collection of sensing equipment.And directly adopt in the system
The data acquisition server of collection data is stored data into during data acquisition is carried out according to the fine or not situation of network
Caching and eMMC memories, in suspension, eMMC memories still provide the data of enough memory space storage collections, recover
Data acquisition server is then forwarded to after network, it is to avoid suspension causes loss of data.
Specifically, the inventive method includes:
(1) data acquisition server gathers the data of meter and sensing equipment in power distribution station;
(2) data acquisition server detects whether the communication network that it is measured between server with data acquisition is normal, such as just
Often, into step (3);
(3) data acquisition server sends the data of collection to data collection strategy service by the communication network
Device;
(4) data collection strategy server by the data of collection by network share to monitoring branch center;
(5) the monitoring branch center by gather data is activation to publisher server, data mining center, Surveillance center
And/or plant maintenance terminal;
(6) publisher server passes through cloud device by the data is activation for gathering to user side;Wherein, the step
(2) specifically include:
S1:Whether detection communication network is normal, in this way, into step S3, such as no entrance step S6;
S2:Judge whether eMMC memories have data, it is in this way, such as no into step S3, into step S4;
S3:Data is activation first in eMMC memories is to external network, while current gathered data is stored in into RAM numbers
According to buffering area, after the data is activation in eMMC memories is finished, then the data is activation in RAM data buffering area is gone out to outside
Network;
S4:Current gathered data is stored in into RAM data buffering area, then is conveyed directly to external network;
S5:Judge whether RAM data buffering area has been filled with data, it is in this way, such as no into step S6, into step S7;
S6:Judge whether eMMC memories are filled with data, in this way, system reports an error, it is such as no, by RAM data buffering area
Data are disposably transferred to the eMMC memories, and current gathered data is stored in into the RAM data buffering area;
S7:Current gathered data is stored in into the RAM data buffering area;
Wherein, when the eMMC memories send data every time, the only corresponding pointer of mobile data.
In step S1 after Network Abnormal, when detecting network again and being normal, implementation procedure is with former step S1 network just
Normal situation is identical.
The historical data of collection is obtained, the average length L of every gathered data is calculated according to historical data, obtain collection week
Phase T, data collection point N, total occupancy storage that the gathered data of 31 days is calculated according to the average length L and collection period T is empty
Between Z be:
Z=(24 hour/day of L*N*3600 seconds/hour * * 31 days)/T,
Wherein, L=4 bytes are taken here, the T=10 seconds, N=5000 points, then Z is 5G;
Then according to the size of calculated Z, the amount of capacity for arranging eMMC memories is set to 8G, wherein, distribution
The 3G capacity of eMMC memories is used for system operation, and distribution eMMC deposits the 5G of appearance reservoir and measures for data storage.
The historical data of collection is obtained, the average length L of every gathered data is calculated according to historical data, obtain collection week
Phase T, data collection point N, total occupancy memory space of the gathered data of 6 days is calculated according to the average length L and collection period T
Z is:
Z=(24 hour/day of L*N*3600 seconds/hour * * 6 days)/T,
Wherein, L=4 bytes are taken here, the T=10 seconds, N=5000 points, then Z is 1G;
Then according to the size of calculated Z, the amount of capacity for arranging the RAM data buffering area is 1G.
In another embodiment of the invention, a kind of prolongation data acquisition server memory cell service life is additionally provided
Method, the method is specific as follows:
As shown in Fig. 2 the method for extending data acquisition server memory cell service life that the present embodiment is provided, including
Following steps:
S1:Obtain the gathered data of each meter.
S2:Whether detection network is normal, in this way, into step S3, such as no entrance step S6.
S3:Judge whether eMMC memories have data, it is in this way, such as no into step S4, into step S5.
S4:First by the data is activation in eMMC memories to external network, while current gathered data is stored in into RAM
Data buffer zone, after the data is activation in eMMC memories is finished, then the data is activation in RAM data buffering area is gone out to outer
Portion's network.
S5:Current gathered data is stored in into RAM data buffering area, then is conveyed directly to external network.The process is concrete
It is shown in Figure 3, wherein, each data DATA are directly stored in RAM data buffering area, and the data of RAM data buffering area are direct
The internet of outside is sent to, so that the related management personnel or user on internet use.
S6:Judge whether RAM data buffering area has been filled with data, it is in this way, such as no into step S7, into step S8.
S7:Judge whether eMMC memories are filled with data, in this way, system reports an error, it is such as no, will be in RAM data buffering area
Data are disposably transferred to the eMMC memories, and current gathered data is stored in into the RAM data buffering area.
In this step, when eMMC memories are not filled with data, new data storage procedure referring to Fig. 4, wherein, due to RAM
Data buffer zone has been filled with data, then the data in RAM data buffering area are once stored in into eMMC memories, will be new in continuation
In data Cun Chudao RAM data buffering area, to reduce the frequency that eMMC memories write data.
S8:Current gathered data is stored in into the RAM data buffering area.
Wherein, referring to Fig. 5, in above-mentioned step S2 after Network Abnormal, when detecting network again and being normal, performed
Journey is identical with the normal situation of former step S2 network.
In the method, if step S2 is detected network delay in short-term or obstruction occurs, due to the RAM data buffering for adopting
Area, if RAM data buffering area network recovery less than in the case of is unobstructed, can avoid writing RAM data buffer data
In 8G eMMC storage chips, it is directly connected to server and is transmitted, reduces the number of times of erasable eMMC.If constant network time delay
Or block, system treats that 1G ram buffer data fill one-time write eMMC, empties ram buffer, repeats above flow process, when
When network recovery is unobstructed, eMMC data are sent back one by one server by system, not right to eMMC only mobile data pointer operations
EMMC carries out emptying again erasable, and such method greatly reduces the erasable number of times of eMMC, fully extends the use longevity of eMMC
Life.
When EMMC memories in the present embodiment send data every time, the only corresponding pointer of mobile data.I.e. every time in net
When network recovers, eMMC is not carried out emptying erasable, the implication of " not carrying out emptying to eMMC erasable " here is to work as network failure
After solution, during energization, the data in eMMC memories are sent to into top service device, the only corresponding pointer movement of data.The present invention
Realize that reducing data inserts the frequency write by the way of pointer, when erasable frequency is reduced, that is, play prolongation data acquisition control
The storage chip service life of device processed.
Here, always according to the amount of capacity for needing to arrange eMMC memories.Specifically, the historical data of collection, root are obtained
The average length L of every gathered data is calculated according to historical data, collection period T, data collection point N is obtained, according to described average
Length L and collection period T calculate total occupancy memory space Z of the gathered data of 31 days:
Z=(24 hour/day of L*N*3600 seconds/hour * * 31 days)/T,
Wherein, L=4 bytes are taken here, the T=10 seconds, N=5000 points, then Z is 5G;
Then according to the size of calculated Z, the amount of capacity for arranging eMMC memories is set to 8G, wherein, distribution
The 3G capacity of eMMC memories is used for system operation, and distribution eMMC deposits the 5G of appearance reservoir and measures for data storage.In the present embodiment,
The system of data acquisition server employs linux system, and it is common that the data acquisition server need not configure keyboard, display etc.
Input-output equipment, only by being connected with gathered data with meter and sensing equipment, and the data for passing through network and outside
Acquisition strategies server is communicated.
The method can as much as possible extend the service life of storage chip, reduce unnecessary read-write number of times, therefore adopt
With the mode of big internal memory, i.e., distribute the buffering area of the data field as current data of 1G in memory ram, it is unobstructed in network
In the case of, it is easy to system to send data by internet in time.If with the large-scale collection scale of 5000 points, a collection
The data of point averagely account for 4 bytes, and collection period is by taking 10 seconds unit of accounts as an example:
(4 3600 seconds/hour of the point * of byte * 5000 * 6 days * 24 hours/days)/10 seconds=1G,
3600 seconds/hour * 24 hours/days * 6 days/10 seconds=51840 times,
By this calculating, in the case where buffering without internal memory, need within one day to insert to write 51840 times, and the side of the present embodiment
Method belongs to indirect in the situation that general networking is blocked to be occurred, and is under normal circumstances not need erasable eMMC storages core
Piece, it is seen that the method can greatly reduce erasable frequency, extends the service life of controller storage chip.So present invention choosing
Take using the larger eMMC data storages of memory space, more reduce the erasable frequency of eMMC.
Using the method for the present invention, the signal transmission reliability of the data collecting system of power distribution network, data can be made not to lose.
Compare the existing side that data acquisition is directly carried out by public machine (equivalent to server, needing normal transmitted data on network)
For method, cost is relatively low, is not in data transfer congestion, the situation of loss of data.And for a user, also can by with
The connected each Terminal Type of cloud device obtains the related data checked in its authority, using very convenient.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any
Those skilled in the art the invention discloses technical scope in, to the deformation done of the present invention or replacement, all should cover
Within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by described scope of the claims.
Claims (9)
1. it is a kind of extend data acquisition server memory cell service life method, it is characterised in that comprise the following steps:
(1) data acquisition server gathers the data of meter and sensing equipment in power distribution station;
(2) data acquisition server detects whether the communication network that it is measured between server with data acquisition is normal, such as normal, enters
Enter step (3);
(3) data acquisition server sends the data of collection to data collection strategy server by the communication network;
(4) data collection strategy server by the data of collection by network share to monitoring branch center;
(5) the monitoring branch center by gather data is activation to publisher server, data mining center, Surveillance center and/or
Plant maintenance terminal;
(6) publisher server passes through cloud device by the data is activation for gathering to user side;Wherein, step (2) tool
Body includes:
S1:Whether detection communication network is normal, in this way, into step S3, such as no entrance step S6;
S2:Judge whether eMMC memories have data, it is in this way, such as no into step S3, into step S4;
S3:Data is activation first in eMMC memories is to external network, while current gathered data is stored in into RAM data delaying
Area is rushed, after the data is activation in eMMC memories is finished, then the data is activation in RAM data buffering area is gone out to extranets
Network;
S4:Current gathered data is stored in into RAM data buffering area, then is conveyed directly to external network;
S5:Judge whether RAM data buffering area has been filled with data, it is in this way, such as no into step S6, into step S7;
S6:Judge whether eMMC memories are filled with data, in this way, system reports an error, it is such as no, by the data in RAM data buffering area
The eMMC memories are disposably transferred to, and current gathered data is stored in into the RAM data buffering area;
S7:Current gathered data is stored in into the RAM data buffering area;
Wherein, when the eMMC memories send data every time, the only corresponding pointer of mobile data.
2. it is according to claim 1 extend data acquisition server memory cell service life method, it is characterised in that
In step S1 after Network Abnormal, when detecting network again and being normal, implementation procedure and the normal situation of former step S1 network
It is identical.
3. it is according to claim 1 extend data acquisition server memory cell service life method, it is characterised in that
The historical data of collection is obtained, the average length L of every gathered data is calculated according to historical data, obtain collection period T, data
Collection point N, total occupancy memory space Z of the gathered data for calculating 31 days according to the average length L and collection period T are:
Z=(24 hour/day of L*N*3600 seconds/hour * * 31 days)/T,
Wherein, L=4 bytes are taken here, the T=10 seconds, N=5000 points, then Z is 5G;
Then according to the size of calculated Z, the amount of capacity for arranging eMMC memories is set to 8G, wherein, distribution eMMC is deposited
The 3G capacity of reservoir is used for system operation, and distribution eMMC deposits the 5G of appearance reservoir and measures for data storage.
4. it is according to claim 1 extend data acquisition server memory cell service life method, it is characterised in that
The historical data of collection is obtained, the average length L of every gathered data is calculated according to historical data, obtain collection period T, data
Collection point N, total occupancy memory space Z of the gathered data for calculating 6 days according to the average length L and collection period T are:
Z=(24 hour/day of L*N*3600 seconds/hour * * 6 days)/T,
Wherein, L=4 bytes are taken here, the T=10 seconds, N=5000 points, then Z is 1G;
Then according to the size of calculated Z, the amount of capacity for arranging the RAM data buffering area is 1G.
5. it is a kind of extend data acquisition server memory cell service life method, it is characterised in that comprise the following steps:
S1:Obtain the gathered data of each meter;
S2:Whether detection network is normal, in this way, into step S3, such as no entrance step S6;
S3:Judge whether eMMC memories have data, it is in this way, such as no into step S4, into step S5;
S4:Data is activation first in eMMC memories is to external network, while current gathered data is stored in into RAM data delaying
Area is rushed, after the data is activation in eMMC memories is finished, then the data is activation in RAM data buffering area is gone out to extranets
Network;
S5:Current gathered data is stored in into RAM data buffering area, then is conveyed directly to external network;
S6:Judge whether RAM data buffering area has been filled with data, it is in this way, such as no into step S7, into step S8;
S7:Judge whether eMMC memories are filled with data, in this way, system reports an error, it is such as no, by the data in RAM data buffering area
The eMMC memories are disposably transferred to, and current gathered data is stored in into the RAM data buffering area;
S8:Current gathered data is stored in into the RAM data buffering area;
Wherein, when the eMMC memories send data every time, the only corresponding pointer of mobile data.
6. it is according to claim 1 extend data acquisition server memory cell service life method, it is characterised in that
In step S2 after Network Abnormal, when detecting network again and being normal, implementation procedure and the normal situation of former step S2 network
It is identical.
7. it is according to claim 1 extend data acquisition server memory cell service life method, it is characterised in that
The historical data of collection is obtained, the average length L of every gathered data is calculated according to historical data, obtain collection period T, data
Collection point N, total occupancy memory space Z of the gathered data for calculating 31 days according to the average length L and collection period T are:
Z=(24 hour/day of L*N*3600 seconds/hour * * 31 days)/T,
Wherein, L=4 bytes are taken here, the T=10 seconds, N=5000 points, then Z is 5G;
Then according to the size of calculated Z, the amount of capacity for arranging eMMC memories is set to 8G, wherein, distribution eMMC is deposited
The 3G capacity of reservoir is used for system operation, and distribution eMMC deposits the 5G of appearance reservoir and measures for data storage.
8. it is according to claim 1 extend data acquisition server memory cell service life method, it is characterised in that
The historical data of collection is obtained, the average length L of every gathered data is calculated according to historical data, obtain collection period T, data
Collection point N, total occupancy memory space Z of the gathered data for calculating 6 days according to the average length L and collection period T are:
Z=(24 hour/day of L*N*3600 seconds/hour * * 6 days)/T,
Wherein, L=4 bytes are taken here, the T=10 seconds, N=5000 points, then Z is 1G;
Then according to the size of calculated Z, the amount of capacity for arranging the RAM data buffering area is 1G.
9. it is according to claim 1 extend data acquisition server memory cell service life method, it is characterised in that
Data acquisition server in step S1 by being connected with the meter in power supply network is acquired data, the eMMC storages
Device is arranged in the data acquisition server, and the data acquisition server is arranged in PLC, for gathering power supply
The data of all kinds of meters in net, and open network by gather data is activation to power distribution network data acquisition server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610965933.3A CN106656558B (en) | 2016-11-04 | 2016-11-04 | Method for prolonging service life of storage unit of data acquisition server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610965933.3A CN106656558B (en) | 2016-11-04 | 2016-11-04 | Method for prolonging service life of storage unit of data acquisition server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106656558A true CN106656558A (en) | 2017-05-10 |
CN106656558B CN106656558B (en) | 2020-04-24 |
Family
ID=58821819
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610965933.3A Active CN106656558B (en) | 2016-11-04 | 2016-11-04 | Method for prolonging service life of storage unit of data acquisition server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106656558B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111555791A (en) * | 2020-03-31 | 2020-08-18 | 北京控制工程研究所 | High-reliability high-frequency satellite wireless data acquisition system and method |
CN112416820A (en) * | 2020-11-04 | 2021-02-26 | 国网山东省电力公司信息通信公司 | Data packet classification storage method and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521174A (en) * | 2011-12-19 | 2012-06-27 | 厦门雅迅网络股份有限公司 | Method for data acquisition, storage and transmission |
CN102769533A (en) * | 2011-05-04 | 2012-11-07 | 北京北方微电子基地设备工艺研究中心有限责任公司 | Data processing method and data processing device |
CN102874666A (en) * | 2011-07-15 | 2013-01-16 | 深圳市汇川控制技术有限公司 | Elevator emergency internet system of things |
CN102929790A (en) * | 2012-10-15 | 2013-02-13 | 株洲南车时代电气股份有限公司 | Data storage system and method |
WO2014072765A1 (en) * | 2012-11-07 | 2014-05-15 | Hewlett-Packard Development Company, L.P. | Communicating during data extraction operations |
CN105426123A (en) * | 2015-11-06 | 2016-03-23 | 安徽容知日新信息技术有限公司 | Data management method, acquisition station and equipment monitoring system |
CN105974836A (en) * | 2016-04-29 | 2016-09-28 | 郑州宇通客车股份有限公司 | Bus monitoring host data acquisition method and bus monitoring host data acquisition system |
-
2016
- 2016-11-04 CN CN201610965933.3A patent/CN106656558B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102769533A (en) * | 2011-05-04 | 2012-11-07 | 北京北方微电子基地设备工艺研究中心有限责任公司 | Data processing method and data processing device |
CN102874666A (en) * | 2011-07-15 | 2013-01-16 | 深圳市汇川控制技术有限公司 | Elevator emergency internet system of things |
CN102521174A (en) * | 2011-12-19 | 2012-06-27 | 厦门雅迅网络股份有限公司 | Method for data acquisition, storage and transmission |
CN102929790A (en) * | 2012-10-15 | 2013-02-13 | 株洲南车时代电气股份有限公司 | Data storage system and method |
WO2014072765A1 (en) * | 2012-11-07 | 2014-05-15 | Hewlett-Packard Development Company, L.P. | Communicating during data extraction operations |
CN105426123A (en) * | 2015-11-06 | 2016-03-23 | 安徽容知日新信息技术有限公司 | Data management method, acquisition station and equipment monitoring system |
CN105974836A (en) * | 2016-04-29 | 2016-09-28 | 郑州宇通客车股份有限公司 | Bus monitoring host data acquisition method and bus monitoring host data acquisition system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111555791A (en) * | 2020-03-31 | 2020-08-18 | 北京控制工程研究所 | High-reliability high-frequency satellite wireless data acquisition system and method |
CN111555791B (en) * | 2020-03-31 | 2022-04-08 | 北京控制工程研究所 | High-reliability high-frequency satellite wireless data acquisition system and method |
CN112416820A (en) * | 2020-11-04 | 2021-02-26 | 国网山东省电力公司信息通信公司 | Data packet classification storage method and system |
Also Published As
Publication number | Publication date |
---|---|
CN106656558B (en) | 2020-04-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102192794B (en) | Temperature data acquisition device, and storing and transmitting method thereof | |
US9510066B2 (en) | Collection of telemetry data through a meter reading system | |
CN206400753U (en) | A kind of intelligent remote power meter-copy collector | |
CN107807576A (en) | A kind of intelligent power distribution monitoring management apparatus | |
CN106656558A (en) | Method for prolonging service life of storage unit of data acquisition server | |
CN107219812A (en) | A kind of cargo hold level monitoring system and method based on Redundant Control | |
CN102183768A (en) | Satellite fault rapid positioning system based on bus monitoring | |
CN105306254B (en) | The monitoring cloud platform system and method for automatic weather station | |
CN104316124A (en) | Remote water meter monitoring system and remote water meter monitoring method | |
CN106443171B (en) | The metering system and metering method of electrical bus data when a kind of electrical equipment power down | |
CN104835311A (en) | Electricity consumption information acquisition device data transmission performance analysis system | |
CN107481503A (en) | A kind of kilowatt meter reading-out system and meter register method | |
CN110401411A (en) | Photovoltaic energy storage system and fault wave recording device | |
CN104601374B (en) | Network failure processing method and device for Digit Control Machine Tool | |
CN105467951A (en) | Bridge-type grab ship unloader work online monitoring and performance assessment system and method | |
CN106980306A (en) | A kind of nuclear power station data acquisition device and method | |
CN206249047U (en) | Data acquisition server and system for data acquisition integrity of intelligent meter | |
CN101825879A (en) | Measure and control device and method for collecting and storing data | |
CN1905590B (en) | Single chip information acquiring method | |
CN105006136A (en) | Remote electric quantity automatic acquisition system | |
CN106444526A (en) | Method for data acquisition integrity of intelligent meter, data acquisition server and system | |
CN107273552A (en) | A kind of comprehensive energy consumption project management system of heavy construction | |
CN111746598A (en) | Fault detection system of train-ground communication system | |
CN206149291U (en) | Transformer station monitoring system | |
CN109413193A (en) | Soil quality monitoring device for precision agriculture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20180316 Address after: 200072 Room 601, flat land road, Jingan District, Shanghai, Shanghai Applicant after: Shanghai Maple Yu Energy Technology Co., Ltd. Address before: 200072 Jingan District Yonghe Road, No. 118, No. 1, No. four, five layer Applicant before: Shanghai Zhongxing Electric Power Construction Development Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |