CN104102741A - Method for scheduling real-time data in monitoring system - Google Patents

Method for scheduling real-time data in monitoring system Download PDF

Info

Publication number
CN104102741A
CN104102741A CN201410371515.2A CN201410371515A CN104102741A CN 104102741 A CN104102741 A CN 104102741A CN 201410371515 A CN201410371515 A CN 201410371515A CN 104102741 A CN104102741 A CN 104102741A
Authority
CN
China
Prior art keywords
time
data
real time
real
delay
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.)
Pending
Application number
CN201410371515.2A
Other languages
Chinese (zh)
Inventor
陈学庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Communication Information System Co Ltd
Original Assignee
Inspur Communication Information System Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Inspur Communication Information System Co Ltd filed Critical Inspur Communication Information System Co Ltd
Priority to CN201410371515.2A priority Critical patent/CN104102741A/en
Publication of CN104102741A publication Critical patent/CN104102741A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/219Managing data history or versioning

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a scheduling method for real-time data in a monitoring system, which belongs to a data scheduling method and comprises the following steps: (1) constructing a database model, wherein a field STARTTIME represents the starting time of real-time data which should be executed, NORMALDELAY represents the delay time of normal data, and HISTORYDELAY represents the delay time of historical data; (2) obtaining execution time by a maximum value calculation algorithm according to a database model, wherein the sum of the summary time of real-time data and the starting time of a time window and the sum of the current time of a system and the delay time of the time window take the maximum value as the execution time; (3) and scheduling the real-time data according to the execution time. The invention reduces logic judgment, development time and complexity and improves efficiency.

Description

Dispatching method to real time data in a kind of supervisory system
 
Technical field
The present invention relates to a kind of method of data dispatch, specifically the dispatching method to real time data in a kind of supervisory system.
Background technology
Supervisory system is in safety-protection system, to apply one of maximum system.Composition mainly comprises, control part fore-end: video camera, camera lens, infrared lamp, The Cloud Terrace, intelligent spherical camera, support etc.Hop: video line, power lead, control line etc.Show storage area: video distributor, monitor, display, large-screen splicing video wall, DVR, matrix host computer etc.
By the real time data that monitoring is obtained, carry out analysis regularly, gather, obtain some valuable information, this is the function of at present a lot of supervisory systems.Such as the performance monitoring system of moving communicating field, carry out statistical study by the information that physical equipment Real-time Collection is reported, the bottleneck point of discovering network, thus improve network environment, improve user satisfaction.
Because the data volume of real-time report is very large, need to process timely data, avoid overstocked.So the scheduling to real time data is extremely important.But existing dispatching method, complexity is higher, and efficiency is low, and the scheduled for executing time cannot accurately be determined.
Summary of the invention
Technical assignment of the present invention is to provide one and has reduced logic judgement, has reduced the development time, has reduced complexity, has improved the dispatching method to real time data in a kind of supervisory system of efficiency.
Technical assignment of the present invention is realized in the following manner:
A dispatching method to real time data in supervisory system, dispatches real time data in supervisory system, comprises the steps:
(1), build a database model, STARTTIME field represents the start time of the real time data that carry out, NORMALDELAY represents the time delay of normal data, HISTORYDELAY represents the time delay of historical data;
(2), according to database model, obtain the execution time by maximizing algorithm, real time data gather the time add time window start time and and the current time in system add time window time delay and, getting maximal value is between the two the execution time;
(3), according to the execution time, carry out the scheduling to real time data.
In step (1), within each hour, have a collection of real time data, within one day, later the real time data of 24 hours the previous days is gathered to computing, sky gathers; It gathers the acceptable execution time the earliest for postponing 2 hours, is summarised in the 2:00 AM of second day for the sky of the real time data of the previous day and starts to carry out, and STARTTIME can be designated as: (24+2) × 60 × 60=93600 seconds.
In step (2), the start time of gathering time+time window of execution time=MAX(real time data, the time delay of current time in system+time window); If real time data is normal data, be NORMALDELAY the time delay of time window, i.e. the time delay of normal data; If real time data is historical data, be HISTORYDELAY the time delay of time window, i.e. the time delay of historical data.
In a kind of supervisory system of the present invention, the dispatching method of real time data is had the following advantages:
1, provide a kind of database model to calculate the execution time to real-time data analysis, can ensure the scheduled for executing Time Calculation of real time data correctly, meet scheduled for executing Time Calculation that postpone, the data of filling mining correct simultaneously;
2, by the method, can process timely real time data, avoid overstocked, and can dispatch historical data, scheduling accurately;
3, greatly reduce logic judgement, reduced the development time, reduced complexity, improved efficiency.
Embodiment
With reference to specific embodiment to the dispatching method of real time data being described in detail below in a kind of supervisory system of the present invention.
Embodiment 1:
Dispatching method to real time data in a kind of supervisory system of the present invention, dispatches real time data in supervisory system, comprises the steps:
(1), build a database model, STARTTIME field represents the start time of the real time data that carry out, NORMALDELAY represents the time delay of normal data, HISTORYDELAY represents the time delay of historical data;
(2), according to database model, obtain the execution time by maximizing algorithm, real time data gather the time add time window start time and and the current time in system add time window time delay and, getting maximal value is between the two the execution time;
(3), according to the execution time, carry out the scheduling to real time data.
?table 1
Database model is as shown in table 1.
Embodiment 2:
Dispatching method to real time data in a kind of supervisory system of the present invention, dispatches real time data in supervisory system, comprises the steps:
(1), build a database model, STARTTIME field represents the start time of the real time data that carry out, NORMALDELAY represents the time delay of normal data, HISTORYDELAY represents the time delay of historical data;
(2), according to database model, obtain the execution time by maximizing algorithm, real time data gather the time add time window start time and and the current time in system add time window time delay and, getting maximal value is between the two the execution time;
(3), according to the execution time, carry out the scheduling to real time data.
In step (1), within each hour, have a collection of real time data, within one day, later the real time data of 24 hours the previous days is gathered to computing, sky gathers; It gathers the acceptable execution time the earliest for postponing 2 hours, be summarised in the 2:00 AM of second day for the sky of the real time data of the previous day and start to carry out, the start time STARTTIME of the real time data of carrying out can be designated as: (24+2) × 60 × 60=93600 seconds.
In step (2), the start time of gathering time+time window of execution time=MAX(real time data, the time delay of current time in system+time window); If real time data is normal data, be NORMALDELAY the time delay of time window, i.e. the time delay of normal data; If real time data is historical data, be HISTORYDELAY the time delay of time window, i.e. the time delay of historical data.
It gathers, the real time data scheduling on July 1st, 2014, and the time of gathering of real time data is 20140701000000, the start time of time window is 93600; If normal data, be to gather the same day, the current time in system is 20140701150000, be 300 the time delay of normal data, start time=20140702020000 of gathering time+time window of real time data, time delay=20140701150300 of current time in system+time window, both get maximal value, and the execution time is 20140702020000.
It gathers, the real time data scheduling on July 1st, 2014, and the time of gathering of real time data is 20140701000000, the start time of time window is 93600; If historical data, current time in system is 20140705150000, be 300 the time delay of historical data, start time=20140702020000 of gathering time+time window of real time data, time delay=20140705150300 of current time in system+time window, both get maximal value, and the execution time is 20140705150300.
By embodiment above, described those skilled in the art can be easy to realize the present invention.But should be appreciated that the present invention is not limited to 2 kinds of above-mentioned embodiments.On the basis of disclosed embodiment, described those skilled in the art can the different technical characterictic of combination in any, thereby realizes different technical schemes.

Claims (3)

1. the dispatching method to real time data in supervisory system, is characterized in that in supervisory system, real time data being dispatched, and comprises the steps:
(1), build a database model, STARTTIME field represents the start time of the real time data that carry out, NORMALDELAY represents the time delay of normal data, HISTORYDELAY represents the time delay of historical data;
(2), according to database model, obtain the execution time by maximizing algorithm, real time data gather the time add time window start time and and the current time in system add time window time delay and, getting maximal value is between the two the execution time;
(3), according to the execution time, carry out the scheduling to real time data.
2. the dispatching method to real time data in a kind of supervisory system according to claim 1, is characterized in that, in step (1), within each hour, having a collection of real time data, within one day, later the real time data of 24 hours the previous days is gathered to computing, and sky gathers; It gathers the acceptable execution time the earliest for postponing 2 hours, is summarised in the 2:00 AM of second day for the sky of the real time data of the previous day and starts to carry out, and STARTTIME can be designated as: (24+2) × 60 × 60=93600 seconds.
3. the dispatching method to real time data in a kind of supervisory system according to claim 1, it is characterized in that in step (2), the start time of gathering time+time window of execution time=MAX(real time data, the time delay of current time in system+time window); If real time data is normal data, be NORMALDELAY the time delay of time window, i.e. the time delay of normal data; If real time data is historical data, be HISTORYDELAY the time delay of time window, i.e. the time delay of historical data.
CN201410371515.2A 2014-07-31 2014-07-31 Method for scheduling real-time data in monitoring system Pending CN104102741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410371515.2A CN104102741A (en) 2014-07-31 2014-07-31 Method for scheduling real-time data in monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410371515.2A CN104102741A (en) 2014-07-31 2014-07-31 Method for scheduling real-time data in monitoring system

Publications (1)

Publication Number Publication Date
CN104102741A true CN104102741A (en) 2014-10-15

Family

ID=51670894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410371515.2A Pending CN104102741A (en) 2014-07-31 2014-07-31 Method for scheduling real-time data in monitoring system

Country Status (1)

Country Link
CN (1) CN104102741A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106698A (en) * 2006-07-12 2008-01-16 上海振华港口机械(集团)股份有限公司 Playback method and system for history data based on real time monitoring
CN102750371A (en) * 2012-06-15 2012-10-24 中国电力科学研究院 Parallel real-time database system and data management method thereof for power system
CN103559104A (en) * 2013-11-07 2014-02-05 南京国电南自轨道交通工程有限公司 Distributed redundancy real-time database framework based on hybrid communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106698A (en) * 2006-07-12 2008-01-16 上海振华港口机械(集团)股份有限公司 Playback method and system for history data based on real time monitoring
CN102750371A (en) * 2012-06-15 2012-10-24 中国电力科学研究院 Parallel real-time database system and data management method thereof for power system
CN103559104A (en) * 2013-11-07 2014-02-05 南京国电南自轨道交通工程有限公司 Distributed redundancy real-time database framework based on hybrid communication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
柯何杨 等: "Hadoop延迟调度中延迟时间间隔的合理设置", 《计算机应用与软件》 *

Similar Documents

Publication Publication Date Title
CN109491790B (en) Container-based industrial Internet of things edge computing resource allocation method and system
CN111614785B (en) Edge AI (advanced technology attachment) computing cluster based on micro-container cloud
CN111045828B (en) Distributed edge calculation method based on distribution network area terminal and related device
CN113435657B (en) Data integration processing method, system, energy management system, electronic device and computer readable storage medium
CN111741073B (en) Electric power data transmission system based on 5G communication network
CN102523103B (en) Industrial monitoring network data collection node
CN107831685B (en) Group robot control method and system
CN109792442A (en) Communication device, control device and communication means
CN102929219A (en) Cloud-computing-based production monitoring and intelligent scheduling decision making system
CN104572307A (en) Method for flexibly scheduling virtual resources
CN104463465B (en) A kind of real time monitoring clustering methods based on distributed model
CN109347926A (en) Edge calculations intelligent perception system building method towards the protection of bright Ruins of Great Wall
CN102546793B (en) Self-adaption method and system of mobile terminal based on cloud computing
CN105446196A (en) Intelligent spraying system with real-time monitoring function and control method thereof
CN110579961B (en) Three-dimensional planting-oriented garden intelligent water supply method and system
CN115037600A (en) Low-power-consumption Internet of things platform supporting long connection, equipment and management method thereof
CN101727763A (en) Method for integrated scheduling and real-time scheduling of training system
CN106502856A (en) A kind of information processing method and device
CN113156854A (en) Enterprise comprehensive energy consumption assessment method based on digital twin technology
US20130173071A1 (en) Energy management system and control method thereof
CN105740069B (en) Automatic scheduling method for multi-level data conversion tasks
CN102752374B (en) System and method for storing and accessing power utilization efficacy data
CN104102741A (en) Method for scheduling real-time data in monitoring system
CN104993599B (en) A kind of heat accumulation user interaction terminal and method
CN202906977U (en) A storage access system of electric energy using efficiency data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141015

WD01 Invention patent application deemed withdrawn after publication