CN110456749A - Based on nuclear power plant DCS platform engineering teacher's station software historical data processing method - Google Patents
Based on nuclear power plant DCS platform engineering teacher's station software historical data processing method Download PDFInfo
- Publication number
- CN110456749A CN110456749A CN201910743981.1A CN201910743981A CN110456749A CN 110456749 A CN110456749 A CN 110456749A CN 201910743981 A CN201910743981 A CN 201910743981A CN 110456749 A CN110456749 A CN 110456749A
- Authority
- CN
- China
- Prior art keywords
- data
- time
- nuclear power
- abnormal
- file
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 20
- 230000002159 abnormal effect Effects 0.000 claims abstract description 84
- 238000012544 monitoring process Methods 0.000 claims abstract description 30
- 238000000034 method Methods 0.000 claims abstract description 22
- 230000008569 process Effects 0.000 claims abstract description 14
- 238000013480 data collection Methods 0.000 claims abstract description 6
- 238000004519 manufacturing process Methods 0.000 claims abstract description 6
- 238000009790 rate-determining step (RDS) Methods 0.000 claims description 9
- 230000005856 abnormality Effects 0.000 claims description 7
- 230000001360 synchronised effect Effects 0.000 claims description 5
- 238000000151 deposition Methods 0.000 claims 1
- 238000012163 sequencing technique Methods 0.000 claims 1
- 238000003860 storage Methods 0.000 description 7
- 238000004458 analytical method Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000007704 transition Effects 0.000 description 3
- 241001269238 Data Species 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000004321 preservation Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/4184—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by fault tolerance, reliability of production system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
- G06F16/148—File search processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/172—Caching, prefetching or hoarding of files
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/31—From computer integrated manufacturing till monitoring
- G05B2219/31088—Network communication between supervisor and cell, machine group
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Library & Information Science (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Automation & Control Theory (AREA)
- Testing And Monitoring For Control Systems (AREA)
- Monitoring And Testing Of Nuclear Reactors (AREA)
Abstract
The invention discloses be based on nuclear power plant DCS platform engineering teacher's station software historical data processing method, including storing step, storing step includes: data collection steps: opening up a new thread using engineer station's process manager module, by the real time data of new thread record nuclear power station production system, obtain the process of real time data are as follows: receiving real-time data is responsible for using foreground interface thread, real time data is pushed in the new thread by way of message queue;Data saving step: new thread saves real time data by the way of file, when being saved in a manner of file, real time data is cut into multiple single cent parts with time series by size, the size of each file presets maximum value according to Current hardware and software resource;When saving each single cent part, while according to the critical data point each divided in file content, index file is constituted to extract critical data point.What it was created shows that is, either historical data or abnormal data all use time point list display using time point monitoring, guarantees Fast Monitoring.
Description
Technical field
The present invention relates to the fields nuclear power station security level DCS, and in particular to is gone through based on nuclear power plant DCS platform engineering teacher's station software
History data processing method is realized to the facility information record and look facility of monitoring by the technology, provides one kind and check master
The mode of controller operation conditions and abnormal problem analysis.
Background technique
In the field npp safety grade DCS, for guarantee system can safe and stable operation, reduce due to various abnormal causes
Bring risk.Engineer station require can real time inspection system operation situation include various hardware, software diagnostic information
With the contents such as communication mistake, and the ability of exception history data is recorded and checked.
In practical application scene, it is desirable that engineer station can save historical data in real time, provide when checking historical data
Between range select, time interval checks broadcasting, positive and reverse play options.The mode for providing a kind of close friend is come for safeguarding people
Member checks and analytical equipment exception information.
Summary of the invention
It, should the purpose of the present invention is to provide nuclear power plant DCS platform engineering teacher's station software historical data processing method is based on
Processing method can solve Caton problem when data processing.
The specific technical proposal of the invention is:
Based on nuclear power plant DCS platform engineering teacher's station software historical data processing method, including storing step, storing step packet
It includes:
Data collection steps: opening up a new thread using engineer station's process manager module, records core by the new thread
The real time data of power station production system obtains the process of real time data are as follows: receiving real-time data is responsible for using foreground interface thread,
Real time data is pushed in the new thread by way of message queue;
Data saving step: new thread saves real time data by the way of file, in a manner of file into
When row saves, real time data is cut into multiple single cent parts with time series by size, the size of each file is according to current hard
Part and software resource preset maximum value;When saving each single cent part, while according to each dividing the pass in file content
Key Data Points constitute index file to extract critical data point.
The principle of above scheme of the invention are as follows: since the monitoring to nuclear power station historical data is needed through master controller reality
When obtain device status data, master controller can say that the data markers obtained in real time are normal data and abnormal data;In this way, just
Need an equipment that can be supplied to user, so as to check the status information of monitoring data, and requiring can be in time with interface
Refresh display, user can real-time online artificial observation.But traditional monitoring method is to provide after an equipment obtains historical data and shows
Show in equipment, and display when by history data store into database, monitoring show historical data when, using foreground
Interface thread, which refreshes operating user interface and interface and shown, to be also stored in database, therefore aforesaid operations,
Refreshing, display, storage require the completion of foreground interface thread, and this design can cause memory overhead very big, will lead to refreshing
Not in time, all historical datas can not be synchronized into display by eventually leading to;In order to solve when monitoring display, interface can brush in time
Newly, the influence refreshed during monitoring to the operation of user and interface is preferably minimized, the present invention for data monitoring and deposit
Storage is responsible for receiving historical data using foreground interface thread, is pushed to historical data by way of message queue and individually opens
In the new thread opened, new thread is responsible for recording and storage detailed history data, in this way for foreground interface thread, on boundary
Face is shown and information record behavior is more smooth, and the refreshing at entire interface is much sooner and stable.It is to be understood that of the invention
Interface does not need to show specific detailed content, only shows that its data is recorded and shows during historical record is shown
Standby signal.That is, the foreground interface a certain historical data of thread display is recorded from display, and specific detailed content quilt
Record is then completed by the new thread individually opened.
Simultaneously as the mode of traditional record data is saved using database.Database itself has powerful inquiry
Ability can adapt to the result queries operation under many complex situations.Due at present for nuclear power DCS system, to the guarantor of data
Have and more increases real-time requirement.And in limited for querying condition and known situation, the present invention is using customized
The mode of file carries out, and is carried out by the way of user-defined file, is conducive to more increase timeliness under known querying condition
It completes data preservation and data query and data is transferred.For the art, usually single program is to the usage amount of memory
It requires, it is necessary to be used formulating in range.Such as under 32-bit operating system, individual process can only use the most imperial palace of 2G
It deposits, otherwise will cause the unstable factors such as program crashing.In order to keep memory usage amount in the reasonable scope, and guarantee program
Efficient operation, the present invention are kept by the way of single cent part, and each file size is preset most according to Current resource
Big value.Meanwhile when keeping, extract critical data point and constitute index file, convenient for accelerating to lock institute to according to critical data point
The file item and quick positioning file data content needed.
Preferably, the critical data point includes current time, offset address, file size, abnormality mark.
Critical data point includes that abnormality mark can to play in the data set of all abnormality marks, is looked into convenient for sorting out
It sees, it, convenient for being inquired according to the time, includes offset address in critical data point that critical data point, which includes current time, can be with
Binding time obtains corresponding data, when specific operation, may is that before reading data every time, according to the time range of setting
It determines which index file read, is then obtained and correspond to according to the specific time recorded in index file content and offset address
Real data.
Preferably, data are saved by the way of single cent part, need to consume when reading and writing since file is excessive
Take biggish memory, therefore the size of each single cent part of the present invention in the present invention, can pass through by the setting of interface parameters
Be arranged memory interface parameter, can control the size of single cent part, it made to meet resource requirement, here can be unified by all points
File is sized to meet the maximum value of resource requirement, can also adjust single cent part in real time according to current resource status
Size maximumlly utilizes system resource in the case where stable at a high speed.
Preferably, there are multiple sections in each single cent part, the content of each section is the monitoring data of a complete packet.
Preferably, the title of index file is named with the initial time recorded.
It preferably, further include display step, the display step includes:
Historical data shows step: engineer station creates historical data window, and foreground interface thread is going through real time data
History data window lists the data of each time point in a manner of list, includes not by nuclear power plant's DCS main control in real time data
The normal real time data of device label and the abnormal data marked by nuclear power plant's DCS master controller;
Abnormal data shows step: engineer station creates abnormal data window, and foreground interface thread is by extracting abnormal number
According to content, the time point of each abnormal data is listed in a manner of list;
Abnormal time point region shows step: triggering letter to choosing for some abnormal data in abnormal data window receiving
After number, engineer station create abnormal time point regional window, then will be currently selected in abnormal data the neighbouring time
The data of point and current abnormal data come out or show with list display certain time comprising currently choosing time point when
Between point list.
In above-mentioned display step content, due to monitoring be it is long-term, as time goes by, the data volume of record is big, is
In subsequent check exception information point can be quickly navigated in data procedures, by the time point of recording exceptional data, and will be different
The time point of regular data shows on interface, can allow user that can quickly position abnormal time point, and can allow user according to
Abnormal time section is arranged in abnormal time point, by the setting of period, so that the data in certain a period of time are obtained, thus into one
Step checks detailed error content.
In design basis in the above content, the present invention positions and checks for convenience error message, the present invention with
It it is provided with three kinds of display modes in the interfaces windows of family carries out information and show that these three display modes can be shown simultaneously, it can also be with
It is shown using tangent screen mode.
Wherein:
Historical data window: listing the data of each time point with list mode, for looking on the whole data
It sees, data content includes normal data and abnormal data, either normal data or abnormal data, can be from list
In choose after the data content at the time point currently chosen further checked by property window, specifically: in historical data
When display, the data that can sometime put in the list by choosing historical data window, by checking that property window is checked
Currently choose the content of the data at time point;
Abnormal data window: its time point by extracting abnormal data, and each abnormal number is listed in a manner of list
According to time point, use when being used to only focus on abnormal data;Display for abnormal data can equally choose the time
After point, the specific data content at currently selected middle time point is checked by way of checking property window, specifically: abnormal data
When display, can sometime point in the list by choosing abnormal data window, by checking that property window checks current choosing
The content of the data at middle time point.
Abnormal time point regional window: it is shown after choosing an abnormal time point in abnormal data window, then
It is shown by adjacent time algorithm or period algorithm and currently chooses time point adjacent time point list or when comprising currently choosing
Between the time point list of certain time put, in this way convenient for for being checked for the abnormal data that front and back occurs, convenient for point
Analyse the origin cause of formation of data exception.Above-mentioned adjacent time algorithm can be understood as inquiring at least one time point before the selected time point
Time point and inquire time point at least one time point after selected time point, above-mentioned period algorithm can be understood as by
Selected time point plus or minus the period pre-set are formed by the period, then inquire all in the period
Time point ultimately forms list.
It further include data readback step, data readback step includes:
Externally input time range information is obtained, when time range covers multiple single cent parts, is pressed according to index file
Chronological order guidance load, first loads first single cent part into memory, reading of content plays out in memory, when previous
Before part file will finish playing, the content of adjacent single cent part is preloaded into memory.
In above-mentioned data readback step, after access time range, since the data distribution of different time points is in difference
Single cent part in, therefore the smooth transition in order to realize broadcasting when above-mentioned broadcasting, will finish playing playing current file
Before, it is solved in the way of index file preloading.
Data readback step further includes playing rate-determining steps: playing rate-determining steps includes forward play control, reverse play
Control and accelerate to play control, at least one of broadcasting control of slowing down.
Play rate-determining steps specifically: first receive and play control request, and according to corresponding control request to synchronous with data
Broadcasting pictures carry out corresponding speed adjust.
Compared with prior art, the present invention having the following advantages and benefits: the present invention solve storage, broadcasting,
The Caton problem of display, so that equipment monitor is stable, monitoring data can be recorded completely.To equipment monitor data
When playback, can positive as expected and reverse play, the monitoring effect before capable of restoring.
Detailed description of the invention
Attached drawing described herein is used to provide to further understand the embodiment of the present invention, constitutes one of the application
Point, do not constitute the restriction to the embodiment of the present invention.In the accompanying drawings:
Fig. 1 is overall procedure schematic diagram of the invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention is made below with reference to embodiment
Further to be described in detail, exemplary embodiment of the invention and its explanation for explaining only the invention, are not intended as to this
The restriction of invention.
Embodiment 1
As shown in Figure 1:
Based on nuclear power plant DCS platform engineering teacher's station software historical data processing method, including storing step, storing step packet
It includes:
Data collection steps: opening up a new thread using engineer station's process manager module, records core by the new thread
The real time data of power station production system obtains the process of real time data are as follows: receiving real-time data is responsible for using foreground interface thread,
Real time data is pushed in the new thread by way of message queue;
Data saving step: new thread saves real time data by the way of file, in a manner of file into
When row saves, real time data is cut into multiple single cent parts with time series by size, the size of each file is according to current hard
Part and software resource preset maximum value;When saving each single cent part, while according to each dividing the pass in file content
Key Data Points constitute index file to extract critical data point.
The principle of above scheme of the invention are as follows: since the monitoring to nuclear power station historical data is needed through master controller reality
When obtain device status data, master controller can say that the data markers obtained in real time are normal data and abnormal data;In this way, just
Need an equipment that can be supplied to user, so as to check the status information of monitoring data, and requiring can be in time with interface
Refresh display, user can real-time online artificial observation.But traditional monitoring method is to provide after an equipment obtains historical data and shows
Show in equipment, and display when by history data store into database, monitoring show historical data when, using foreground
Interface thread, which refreshes operating user interface and interface and shown, to be also stored in database, therefore aforesaid operations,
Refreshing, display, storage require the completion of foreground interface thread, and this design can cause memory overhead very big, will lead to refreshing
Not in time, all historical datas can not be synchronized into display by eventually leading to;In order to solve when monitoring display, interface can brush in time
Newly, the influence refreshed during monitoring to the operation of user and interface is preferably minimized, the present invention for data monitoring and deposit
Storage is responsible for receiving historical data using foreground interface thread, is pushed to historical data by way of message queue and individually opens
In the new thread opened, new thread is responsible for recording and storage detailed history data, in this way for foreground interface thread, on boundary
Face is shown and information record behavior is more smooth, and the refreshing at entire interface is much sooner and stable.It is to be understood that of the invention
Interface does not need to show specific detailed content, only shows that its data is recorded and shows during historical record is shown
Standby signal.That is, the foreground interface a certain historical data of thread display is recorded from display, and specific detailed content quilt
Record is then completed by the new thread individually opened.
Simultaneously as the mode of traditional record data is saved using database.Database itself has powerful inquiry
Ability can adapt to the result queries operation under many complex situations.Due at present for nuclear power DCS system, to the guarantor of data
Have and more increases real-time requirement.And in limited for querying condition and known situation, the present invention is using customized
The mode of file carries out, and is carried out by the way of user-defined file, is conducive to more increase timeliness under known querying condition
It completes data preservation and data query and data is transferred.For the art, usually single program is to the usage amount of memory
It requires, it is necessary to be used formulating in range.Such as under 32-bit operating system, individual process can only use the most imperial palace of 2G
It deposits, otherwise will cause the unstable factors such as program crashing.In order to keep memory usage amount in the reasonable scope, and guarantee program
Efficient operation, the present invention are kept by the way of single cent part, and each file size is preset most according to Current resource
Big value.Meanwhile when keeping, extract critical data point and constitute index file, convenient for accelerating to lock institute to according to critical data point
The file item and quick positioning file data content needed.
Preferably, the critical data point includes current time, offset address, file size, abnormality mark.
Critical data point includes that abnormality mark can to play in the data set of all abnormality marks, is looked into convenient for sorting out
It sees, it, convenient for being inquired according to the time, includes offset address in critical data point that critical data point, which includes current time, can be with
Binding time obtains corresponding data, when specific operation, may is that before reading data every time, according to the time range of setting
It determines which index file read, is then obtained and correspond to according to the specific time recorded in index file content and offset address
Real data.
Preferably, data are saved by the way of single cent part, need to consume when reading and writing since file is excessive
Take biggish memory, therefore the size of each single cent part of the present invention in the present invention, can pass through by the setting of interface parameters
Be arranged memory interface parameter, can control the size of single cent part, it made to meet resource requirement, here can be unified by all points
File is sized to meet the maximum value of resource requirement, can also adjust single cent part in real time according to current resource status
Size maximumlly utilizes system resource in the case where stable at a high speed.
Preferably, there are multiple sections in each single cent part, the content of each section is the monitoring data of a complete packet.
Preferably, the title of index file is named with the initial time recorded.
Embodiment 2
As shown in Figure 1:
Based on nuclear power plant DCS platform engineering teacher's station software historical data processing method, including storing step, storing step packet
It includes:
Data collection steps: opening up a new thread using engineer station's process manager module, records core by the new thread
The real time data of power station production system obtains the process of real time data are as follows: receiving real-time data is responsible for using foreground interface thread,
Real time data is pushed in the new thread by way of message queue;
Data saving step: new thread saves real time data by the way of file, in a manner of file into
When row saves, real time data is cut into multiple single cent parts with time series by size, the size of each file is according to current hard
Part and software resource preset maximum value;When saving each single cent part, while according to each dividing the pass in file content
Key Data Points constitute index file to extract critical data point.
It further include display step, the display step includes:
Historical data shows step: engineer station creates historical data window, and foreground interface thread is going through real time data
History data window lists the data of each time point in a manner of list, includes not by nuclear power plant's DCS main control in real time data
The normal real time data of device label and the abnormal data marked by nuclear power plant's DCS master controller;
Abnormal data shows step: engineer station creates abnormal data window, and foreground interface thread is by extracting abnormal number
According to content, the time point of each abnormal data is listed in a manner of list;
Abnormal time point region shows step: triggering letter to choosing for some abnormal data in abnormal data window receiving
After number, engineer station create abnormal time point regional window, then will be currently selected in abnormal data the neighbouring time
The data of point and current abnormal data come out or show with list display certain time comprising currently choosing time point when
Between point list.
In above-mentioned display step content, due to monitoring be it is long-term, as time goes by, the data volume of record is big, is
In subsequent check exception information point can be quickly navigated in data procedures, by the time point of recording exceptional data, and will be different
The time point of regular data shows on interface, can allow user that can quickly position abnormal time point, and can allow user according to
Abnormal time section is arranged in abnormal time point, by the setting of period, so that the data in certain a period of time are obtained, thus into one
Step checks detailed error content.
In design basis in the above content, the present invention positions and checks for convenience error message, the present invention with
It it is provided with three kinds of display modes in the interfaces windows of family carries out information and show that these three display modes can be shown simultaneously, it can also be with
It is shown using tangent screen mode.
Wherein:
Historical data window: listing the data of each time point with list mode, for looking on the whole data
It sees, data content includes normal data and abnormal data, either normal data or abnormal data, can be from list
In choose after the data content at the time point currently chosen further checked by property window, specifically: in historical data
When display, the data that can sometime put in the list by choosing historical data window, by checking that property window is checked
Currently choose the content of the data at time point;
Abnormal data window: its time point by extracting abnormal data, and each abnormal number is listed in a manner of list
According to time point, use when being used to only focus on abnormal data;Display for abnormal data can equally choose the time
After point, the specific data content at currently selected middle time point is checked by way of checking property window, specifically: abnormal data
When display, can sometime point in the list by choosing abnormal data window, by checking that property window checks current choosing
The content of the data at middle time point.
Abnormal time point regional window: it is shown after choosing an abnormal time point in abnormal data window, then
It is shown by adjacent time algorithm or period algorithm and currently chooses time point adjacent time point list or when comprising currently choosing
Between the time point list of certain time put, in this way convenient for for being checked for the abnormal data that front and back occurs, convenient for point
Analyse the origin cause of formation of data exception.Above-mentioned adjacent time algorithm can be understood as inquiring at least one time point before the selected time point
Time point and inquire time point at least one time point after selected time point, above-mentioned period algorithm can be understood as by
Selected time point plus or minus the period pre-set are formed by the period, then inquire all in the period
Time point ultimately forms list.
Embodiment 3
As shown in Figure 1:
Based on nuclear power plant DCS platform engineering teacher's station software historical data processing method, including storing step, storing step packet
It includes:
Data collection steps: opening up a new thread using engineer station's process manager module, records core by the new thread
The real time data of power station production system obtains the process of real time data are as follows: receiving real-time data is responsible for using foreground interface thread,
Real time data is pushed in the new thread by way of message queue;
Data saving step: new thread saves real time data by the way of file, in a manner of file into
When row saves, real time data is cut into multiple single cent parts with time series by size, the size of each file is according to current hard
Part and software resource preset maximum value;When saving each single cent part, while according to each dividing the pass in file content
Key Data Points constitute index file to extract critical data point.
It further include display step, the display step includes:
Historical data shows step: engineer station creates historical data window, and foreground interface thread is going through real time data
History data window lists the data of each time point in a manner of list, includes not by nuclear power plant's DCS main control in real time data
The normal real time data of device label and the abnormal data marked by nuclear power plant's DCS master controller;
Abnormal data shows step: engineer station creates abnormal data window, and foreground interface thread is by extracting abnormal number
According to content, the time point of each abnormal data is listed in a manner of list;
Abnormal time point region shows step: triggering letter to choosing for some abnormal data in abnormal data window receiving
After number, engineer station create abnormal time point regional window, then will be currently selected in abnormal data the neighbouring time
The data of point and current abnormal data come out or show with list display certain time comprising currently choosing time point when
Between point list.
It further include data readback step, data readback step includes:
Externally input time range information is obtained, when time range covers multiple single cent parts, is pressed according to index file
Chronological order guidance load, first loads first single cent part into memory, reading of content plays out in memory, when previous
Before part file will finish playing, the content of adjacent single cent part is preloaded into memory.
In above-mentioned data readback step, after access time range, since the data distribution of different time points is in difference
Single cent part in, therefore the smooth transition in order to realize broadcasting when above-mentioned broadcasting, will finish playing playing current file
Before, it is solved in the way of index file preloading.
Data readback step further includes playing rate-determining steps: playing rate-determining steps includes forward play control, reverse play
Control and accelerate to play control, at least one of broadcasting control of slowing down.
Play rate-determining steps specifically: first receive and play control request, and according to corresponding control request to synchronous with data
Broadcasting pictures carry out corresponding speed adjust.
In the above-described embodiments, in the present invention, the preserving type of equipment monitor information is described, quickly searches number to improve
According to ability, by self-defining data format and establish manipulative indexing file, record the necessary information in data storing procedure.For
It reduces memory usage and takes into account certain efficiency, carry out saving by the way of file and file size has certain size
Limitation requires.Meet the functional requirement for realizing that equipment monitor data are saved and played back.
In addition, playing control includes historical data forward direction and reverse play
Since during practical surveillance, some error messages may be what wink was sent out, maintenance personnel is caused not catch quickly
Obtain mistake.By access time interval and broadcasting speed, engineer station plays out historical data, restores monitoring process, broadcasts
It can suspend during putting and check.
Mistake is checked for convenience, while providing the function of reverse play.For reverse play, need index file
Information carries out backstepping, and index file of the invention uses array mode and carries out, therefore reverse play is not needed excessive
Query time.
It is asynchronous real-time Techniques of preserving that data of the invention, which save its essence, but can timely refresh and be monitored, in time
It has been shown that, provides good monitoring interface effect for monitoring personnel, and Caton, the resource occupation for solving conventional synchronization real time monitoring are high
Etc. technical problems.While with reduction memory usage, efficiency can also be taken into account.What it was created is shown using time point monitoring,
I.e. either historical data or abnormal data all use time point list display, guarantee Fast Monitoring, when in needs especially prison
Surveying analysis is the period broadcasting centered on using index file quickly to position progress particular point in time, and can timing
Between the smooth broadcasting transition that plays of section joint multifile, play back view result to reach efficient and stable historic state.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects
It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention
Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include
Within protection scope of the present invention.
Claims (10)
1. being based on nuclear power plant DCS platform engineering teacher's station software historical data processing method, which is characterized in that including storing step,
Storing step includes:
Data collection steps: opening up a new thread using engineer station's process manager module, records nuclear power station by the new thread
The real time data of production system obtains the process of real time data are as follows: is responsible for receiving real-time data using foreground interface thread, passes through
Real time data is pushed in the new thread by the mode of message queue;
Data saving step: new thread saves real time data by the way of file, is being protected in a manner of file
When depositing, real time data is cut into multiple single cent parts with time series by size, the size of each file according to Current hardware and
Software resource presets maximum value;When saving each single cent part, while according to the crucial number each divided in file content
Strong point constitutes index file to extract critical data point.
2. according to claim 1 be based on nuclear power plant DCS platform engineering teacher's station software historical data processing method, feature
It is, the critical data point includes current time, offset address, file size, abnormality mark.
3. according to claim 1 be based on nuclear power plant DCS platform engineering teacher's station software historical data processing method, feature
It is, the size of each single cent part can pass through the setting of interface parameters.
4. according to claim 1 be based on nuclear power plant DCS platform engineering teacher's station software historical data processing method, feature
It is there are multiple sections in each single cent part, the content of each section is the monitoring data of a complete packet.
5. according to claim 1 be based on nuclear power plant DCS platform engineering teacher's station software historical data processing method, feature
It is, the title of index file is named with the initial time recorded.
6. according to claim 1 be based on nuclear power plant DCS platform engineering teacher's station software historical data processing method, feature
It is, further includes display step, the display step includes:
Historical data shows step: engineer station creates historical data window, and foreground interface thread is by real time data in history number
The data of each time point are listed in a manner of list according to window, include not by nuclear power plant DCS master controller mark in real time data
The normal real time data of note and the abnormal data marked by nuclear power plant's DCS master controller;
Abnormal data shows step: engineer station creates abnormal data window, and foreground interface thread is by extracting abnormal data
Content lists the time point of each abnormal data in a manner of list;
Abnormal time point region shows step: choosing trigger signal to some abnormal data in abnormal data window receiving
Afterwards, engineer station create abnormal time point regional window, then will be currently selected in abnormal data neighbouring time point
Data and current abnormal data come out or show time of certain time comprising currently choosing time point with list display
Point list.
7. according to claim 6 be based on nuclear power plant DCS platform engineering teacher's station software historical data processing method, feature
It is, in historical data display, the data that can sometime put in the list by choosing historical data window, by looking into
See that property window checks the content for currently choosing the data at time point;It, can be by choosing abnormal data when abnormal data is shown
Sometime point in the list of window currently chooses the contents of the data at time point by checking that property window is checked.
8. according to claim 1 be based on nuclear power plant DCS platform engineering teacher's station software historical data processing method, feature
It is, further includes data readback step, data readback step includes:
Externally input time range information is obtained, when time range covers multiple single cent parts, temporally according to index file
Sequencing guidance load, first loads first single cent part into memory, and reading of content plays out in memory, current a text
Before part will finish playing, the content of adjacent single cent part is preloaded into memory.
9. according to claim 8 be based on nuclear power plant DCS platform engineering teacher's station software historical data processing method, feature
Be, data readback step further includes playing rate-determining steps: playing rate-determining steps includes forward play control, reverse play control
With accelerate play control, slow down play control at least one of.
10. according to claim 8 be based on nuclear power plant DCS platform engineering teacher's station software historical data processing method, spy
Sign is, plays rate-determining steps specifically: first receives and plays control request, and according to corresponding control request to synchronous with data
Broadcasting pictures carry out corresponding speed adjust.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910743981.1A CN110456749B (en) | 2019-08-13 | 2019-08-13 | Nuclear power plant DCS platform based engineer station software historical data processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910743981.1A CN110456749B (en) | 2019-08-13 | 2019-08-13 | Nuclear power plant DCS platform based engineer station software historical data processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110456749A true CN110456749A (en) | 2019-11-15 |
CN110456749B CN110456749B (en) | 2022-02-18 |
Family
ID=68486151
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910743981.1A Active CN110456749B (en) | 2019-08-13 | 2019-08-13 | Nuclear power plant DCS platform based engineer station software historical data processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110456749B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111444146A (en) * | 2020-03-27 | 2020-07-24 | 中核武汉核电运行技术股份有限公司 | Nuclear power unit DCS data acquisition and storage method |
CN113194124A (en) * | 2021-04-19 | 2021-07-30 | 西安热工研究院有限公司 | Distributed real-time database-based DCS background multi-node inter-node directory synchronization method |
CN115202299A (en) * | 2022-07-11 | 2022-10-18 | 中国核动力研究设计院 | DCS system forced data-based automatic setting method, device and equipment |
CN115328057A (en) * | 2022-08-29 | 2022-11-11 | 中国核动力研究设计院 | DCS variable monitoring based historical data storage method and device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1612252A (en) * | 2003-10-31 | 2005-05-04 | 浙江中控技术股份有限公司 | Real-time data on-line compression and decompression method |
CN101847453A (en) * | 2009-09-01 | 2010-09-29 | 中广核工程有限公司 | Playback method of production process of nuclear power plant and system |
CN102044308A (en) * | 2010-09-30 | 2011-05-04 | 中广核工程有限公司 | Acquisition method and system for real time data of nuclear plant DCS |
CN102646130A (en) * | 2012-03-12 | 2012-08-22 | 华中科技大学 | Method for storing and indexing mass historical data |
CN102654863A (en) * | 2011-03-02 | 2012-09-05 | 华北计算机***工程研究所 | Real-time database history data organizational management method |
CN104834582A (en) * | 2015-05-19 | 2015-08-12 | 上海玖道信息科技股份有限公司 | Monitoring event display method |
CN107273403A (en) * | 2017-04-24 | 2017-10-20 | 西安电子科技大学 | A kind of history data collection and the method for storage |
CN107807969A (en) * | 2017-10-18 | 2018-03-16 | 上海华电电力发展有限公司 | New time series data storage method for power plant |
KR20190022026A (en) * | 2017-08-25 | 2019-03-06 | (주)뉴옵틱스 | Cytometry apparatus and method |
-
2019
- 2019-08-13 CN CN201910743981.1A patent/CN110456749B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1612252A (en) * | 2003-10-31 | 2005-05-04 | 浙江中控技术股份有限公司 | Real-time data on-line compression and decompression method |
CN101847453A (en) * | 2009-09-01 | 2010-09-29 | 中广核工程有限公司 | Playback method of production process of nuclear power plant and system |
CN102044308A (en) * | 2010-09-30 | 2011-05-04 | 中广核工程有限公司 | Acquisition method and system for real time data of nuclear plant DCS |
CN102654863A (en) * | 2011-03-02 | 2012-09-05 | 华北计算机***工程研究所 | Real-time database history data organizational management method |
CN102646130A (en) * | 2012-03-12 | 2012-08-22 | 华中科技大学 | Method for storing and indexing mass historical data |
CN104834582A (en) * | 2015-05-19 | 2015-08-12 | 上海玖道信息科技股份有限公司 | Monitoring event display method |
CN107273403A (en) * | 2017-04-24 | 2017-10-20 | 西安电子科技大学 | A kind of history data collection and the method for storage |
KR20190022026A (en) * | 2017-08-25 | 2019-03-06 | (주)뉴옵틱스 | Cytometry apparatus and method |
CN107807969A (en) * | 2017-10-18 | 2018-03-16 | 上海华电电力发展有限公司 | New time series data storage method for power plant |
Non-Patent Citations (1)
Title |
---|
黄煜: "先进控制***中数据监控平台的研究与开发", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111444146A (en) * | 2020-03-27 | 2020-07-24 | 中核武汉核电运行技术股份有限公司 | Nuclear power unit DCS data acquisition and storage method |
CN111444146B (en) * | 2020-03-27 | 2023-05-16 | 中核武汉核电运行技术股份有限公司 | Nuclear power unit DCS data acquisition and storage method |
CN113194124A (en) * | 2021-04-19 | 2021-07-30 | 西安热工研究院有限公司 | Distributed real-time database-based DCS background multi-node inter-node directory synchronization method |
CN113194124B (en) * | 2021-04-19 | 2022-10-25 | 西安热工研究院有限公司 | Distributed real-time database-based DCS background multi-node directory synchronization method |
CN115202299A (en) * | 2022-07-11 | 2022-10-18 | 中国核动力研究设计院 | DCS system forced data-based automatic setting method, device and equipment |
CN115328057A (en) * | 2022-08-29 | 2022-11-11 | 中国核动力研究设计院 | DCS variable monitoring based historical data storage method and device |
Also Published As
Publication number | Publication date |
---|---|
CN110456749B (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110456749A (en) | Based on nuclear power plant DCS platform engineering teacher's station software historical data processing method | |
CN108460598B (en) | Real-time automatic supervision reporting system based on double-chain architecture block chain | |
US20190042088A1 (en) | A method of data analysis and extraction for embedded security devices | |
CN104063187B (en) | Hard disk file system suitable for security application and operation method thereof | |
CN103037203B (en) | A kind of index restoration methods based on block storage and device | |
CN104270605B (en) | A kind of processing method and processing device of video monitoring data | |
CN109359841A (en) | A kind of visual on-line off-line quasi real time synchronous method of archives and system | |
CN110290346A (en) | A kind of acquisition methods of the bidding video based on intelligent video analysis | |
CN115080546B (en) | Enterprise data diagnosis system based on big data | |
CN114154035A (en) | Data processing system for dynamic loop monitoring | |
CN107273462A (en) | One kind builds HBase cluster full-text index methods, method for reading data and method for writing data | |
CN109710188A (en) | A kind of data in magnetic disk management method, device, equipment and readable storage medium storing program for executing | |
CN108847714A (en) | A kind of high voltage direct current transmission transient data wave recording device and control protective unit | |
CN110717130A (en) | Dotting method, dotting device, dotting terminal and storage medium | |
CN108491161A (en) | A kind of efficient multi-channel predistribution magnetic-disc recording method | |
CN105956118B (en) | A method of realizing real time information quality stamp distribution global data base | |
CN111666263A (en) | Method for realizing heterogeneous data management in data lake environment | |
CN110457133A (en) | A kind of processing method and system of operating-system resources exception | |
CN111475569B (en) | Distribution network automatic switching fixed value management method based on block chain | |
CN112214974B (en) | Intelligent rail crossing oriented alarm information merging analysis processing method | |
CN107357915A (en) | A kind of date storage method and system | |
CN105677255B (en) | A kind of disk array daily record data rotation distribution and synchronous method | |
CN110399749A (en) | Data assets management method and system | |
CN110245148A (en) | A kind of date storage method, device, system and medium | |
CN107896343A (en) | The restorative procedure and device of MP4 files |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20201228 Address after: No.3, Hongda South Road, Beijing Economic and Technological Development Zone, Daxing District, Beijing Applicant after: CHINA NUCLEAR CONTROL SYSTEM ENGINEERING Co.,Ltd. Address before: 610000, No. three, 28 south section of Ring Road, Chengdu, Sichuan Applicant before: NUCLEAR POWER INSTITUTE OF CHINA |
|
GR01 | Patent grant | ||
GR01 | Patent grant |