CN101546189B - Method for controlling real-time database system - Google Patents

Method for controlling real-time database system Download PDF

Info

Publication number
CN101546189B
CN101546189B CN2008100431929A CN200810043192A CN101546189B CN 101546189 B CN101546189 B CN 101546189B CN 2008100431929 A CN2008100431929 A CN 2008100431929A CN 200810043192 A CN200810043192 A CN 200810043192A CN 101546189 B CN101546189 B CN 101546189B
Authority
CN
China
Prior art keywords
data
real
main frame
standby
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2008100431929A
Other languages
Chinese (zh)
Other versions
CN101546189A (en
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.)
Shanghai Baosight Software Co Ltd
Original Assignee
Shanghai Baosight Software 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 Shanghai Baosight Software Co Ltd filed Critical Shanghai Baosight Software Co Ltd
Priority to CN2008100431929A priority Critical patent/CN101546189B/en
Publication of CN101546189A publication Critical patent/CN101546189A/en
Application granted granted Critical
Publication of CN101546189B publication Critical patent/CN101546189B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses a method for controlling a real-time database system. The method makes a standby machine in a data acquisition state and increases the real-time data judgment and synchronous process before a host machine finishes data acquisition and updates a self real-time database; if the host machine judges that the acquired data of a subsystem or equipment has problems through a communicating state, the host machine emits a data request of the data of the part to the standby machine through a data communication program of the standby machine; after the standby machine receives the request of the host machine, the standby machine also judges whether the acquired data has problems; if no, the data of the part is returned to the host machine; otherwise, a fault sign is returned to the host machine; and after the host machine receives the information returned by the standby machine, the host machine updates the real-time database and releases the data or emits an equipment fault signal. The controlling method removes the problem of wrong data caused by communication failures between the host machine and the subsystem or the equipment and ensures the data reliability and usability of the whole real-time database system.

Description

The control method of real-time dataBase system
Technical field
The present invention relates to the control method of real-time dataBase system.
Background technology
The SCADA system is production run control and the dispatch automated system based on computing machine.It can monitor the operational outfit at scene and control, to realize every functions such as data acquisition, device control, measurement, parameter regulation and various types of signal warning.
Along with developing rapidly of monitoring of tools platform, the comprehensively monitoring technology has obtained using widely as fields such as intelligent building, tunnel monitoring, track traffics in every profession and trade.Be different from traditional monitoring of tools technology, what comprehensively monitoring inserted is not only traditional field control equipment, as PLC, RTU, DCS etc., comprehensive monitoring system more expands to monitoring range other control subsystem, as power monitoring PSCADA, video monitoring system (CCTV), broadcast system etc.
In order to realize the seamless integrated of monitoring of tools and other subsystem monitors, in the comprehensively monitoring platform, generally taked front end communication processor (FEP) technology.FEP is responsible for converting communications protocol different in each subsystem to a kind of unified agreement, by the real-time server in the SCADA system FEP is carried out data acquisition again, finishes the integrated of each subsystem monitors.
In order to improve the reliability of system, SCADA real-time server and FEP all adopt redundant configuration, and two of general configuration backup each other.The redundancy switching mechanism of SCADA real-time server and FEP is similar substantially, all adopt the critical processes monitoring mechanism, be that real-time server or FEP only monitor the critical processes of self, under self process situation working properly, the state variation of the equipment that inserted or subsystem communication is not carried out redundancy and switch, to increase the stability of system.So in this system's chamber system, when the communication link of equipment to main SCADA real-time server or subsystem to main FEP interrupt and standby communication link just often, even this partial data communication is normal among standby real-time server or the FEP, still can't obtain this partial data (this partial data is identified as invalid data) in the SCADA system, because main SCADA real-time server or main FEP can't switch because of the unusual redundancy of carrying out of a certain communication link.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of control method of real-time dataBase system, in main real-time server or front end communication processor under a certain equipment or the abnormal situation of subsystem master communication link, guarantee that real-time dataBase system externally provides the integrality of data, improves the reliability of system.
For solving the problems of the technologies described above, the control method of real-time dataBase system of the present invention, real-time dataBase system comprises the real-time server or the front end communication processor of redundant configuration, and the equipment and the subsystem that carry out communication with real-time server or front end communication processor respectively, current real-time server or the front end communication processor that carries out data acquisition and issue is called main frame, standby real-time server or front end communication processor all are called standby host, when self duty of main frame takes place when unusual, real-time dataBase system carries out redundancy and switches, main frame and standby host are in the data acquisition state simultaneously, finish data acquisition at main frame, upgrade before self real-time data base, carry out following flow process:
Main frame carries out the quality judgement to the data that its data is gathered gained, if equipment or subsystem return and contain the in-problem quality of data label of the expression quality of data in time-out information or the return data in the gatherer process, then main frame by with the data communication program of standby host, send the request of data of standby host data acquisition simultaneously gained data to standby host, otherwise, main frame upgrades its data, otherwise main frame upgrades self real-time data base;
After standby host is received the request of data of main frame, carrying out the quality of data of self earlier judges, if the data communication of standby host data acquisition simultaneously is normal, and there is not data quality problem, then the gained of data acquisition simultaneously data return to main frame as normal data, otherwise, then return Reflector and give main frame;
After main frame is received the data or Reflector that standby host returns, corresponding data are carried out Data Update or sent fault-signal.
The control method of real-time dataBase system of the present invention, (common standby mode does not promptly carry out data acquisition to have changed the standby mode of common standby host, be passive synchronizing information and the data that main frame sends of accepting), make it also be in the data collection task state.Finish data acquisition at main frame, and upgrade before self real-time data base, increasing by a real time data judges and synchronized process, make in main real-time server or front end communication processor under a certain equipment or the abnormal situation of subsystem master communication link, return the integrality that the assurance real-time dataBase system externally provides data by the inquiry of main frame and the data of standby host, improve the reliability of system.
Description of drawings
The present invention is further detailed explanation below in conjunction with accompanying drawing and embodiment:
Fig. 1 is the synoptic diagram of the control method of real-time dataBase system of the present invention.
Embodiment
Real-time dataBase system comprises the real-time server or the front end communication processor of redundant configuration, and the equipment and the subsystem that carry out communication with real-time server or front end communication processor respectively, current real-time server or the front end communication processor that carries out data acquisition and issue is called main frame, standby real-time server or front end communication processor all are called standby host, when self duty of main frame takes place when unusual, real-time dataBase system carries out redundancy and switches.Common FEP system is made up of two redundant each other FEP equipment, and control method of the present invention is: every FEP independently carries out data acquisition and protocol conversion to each subsystem that is inserted at first separately in a protocol conversion or data collection cycle.When certain subsystem communication data link occurs fault, main FEP promptly asks this parton system data by active and standby FEP communication program to standby FEP after detecting this fault (even in the gatherer process this subsystem return contain the expression quality of data in-problem quality of data label in time-out information or the return data).If standby FEP detects this subsystem data link fault equally, main FEP can judge subsystem fault and can send the subsystem fault warning information to comprehensive monitoring system; If this subsystem unfaulty conditions among the standby FEP, main FEP externally issues the data that standby FEP returns as normal data.For this FEP system, the data communication link fault of access subsystem also can not cause the switching of its active and standby FEP, has guaranteed the stability of system.By FEP data communication service routine, redundant FEP can realize the consistance of outbound data issue, even wherein any of being connected in two data link of FEP of certain subsystem breaks down, this FEP still can obtain data on this subsystem redundant data link by the data exchange service program, and the data that it provided are also still effective.
For real-time server, the external issue of real time data can be carried out according to above flow process equally.At first, active/standby server independently carries out data acquisition simultaneously separately.When main real-time server detects certain subsystem or device talk and breaks down, the request of sending this subsystem or device data by the communication program between the active/standby server to standby real-time server.If this partial data of standby server is effective, then master server is accepted this partial data of standby server and externally issue; Otherwise master server can be judged this equipment or subsystem communication failure.
By above elaboration, the control method of real-time dataBase system of the present invention promptly is on the basis of communication of real-time server legacy data and collection, adds master/slave data exchange process, thereby has further guaranteed the reliability and availability of data.
Owing to adopted technique scheme, advantage of the present invention is as follows:
(1) improved the reliability and availability of data;
In original real-time dataBase system, can't effectively judge at specific installation or subsystem communication failure, in case master server and this equipment or subsystem generation communication failure, this partial data promptly is invalid data for supervisory system, even the communication of this partial data of standby server normally also is like this.After adopting this control method, can improve the reliability and availability of real time data greatly.
(2) do not influence the reliability of original redundant system;
After adopting the present invention, do not influence the reliability of original system redundancy.The redundancy scheme of original system is still effective.When the master server system broke down, the redundant switching normally carried out.
(3) higher application and popularization value is arranged;
The present invention is based on existing real-time server, be applicable to existing various device monitor supervision platform, have higher application and popularization value.
For the control method of real-time data base proposed by the invention, can take following steps when specifically implementing:
1) guarantees that 2 of SCADA system real-time servers all work simultaneously.In the redundant system of routine, standby real-time server does not carry out data acquisition, is passive synchronizing information and the data that main frame sends of accepting.In order to realize real time data issue mechanism of the present invention, revise the standby mode of standby host, make it also be in the data collection task state.
2) finish data acquisition at main frame, and upgrade before self real-time data base, increase by data and judge and synchronized process: at first, main frame carries out quality to the data of data acquisition gained own and judges.If equipment returns that contained quality of data label list registration has problems according to quality in time-out information or the return data in the gatherer process, then main frame by with the data communication program of standby host, send the request of data of this partial data to standby host; After standby host is received the request of main frame for this partial data, the quality of data at self is returned, if this partial data communication of standby host is normal, there is not data quality problem, then this partial data is returned to main frame as normal data, otherwise,, then return to the hostdown sign if data that standby host obtains have problems equally; After main frame is received the data or Reflector that standby host returns, can perhaps send fault-signal to corresponding that data are carried out Data Update.
3) after main frame is finished the exchanges data communication, can carry out next step data processing process, handle as reporting to the police, the request of customer in response end, data filing etc., thus finish whole data monitoring flow process.
From above embodiment as can be seen, the control method of real-time data base of the present invention, for original real-time dataBase system, do not change its basic operational scheme, only be before data issues, to increase together stepping journey with standby real-time server carries out exchanges data, between the real-time server synchronously and not change of redundancy switching mechanism.

Claims (1)

1. the control method of a real-time dataBase system, described real-time dataBase system comprises the real-time server or the front end communication processor of redundant configuration, and the equipment and the subsystem that carry out communication with real-time server or front end communication processor respectively, current real-time server or the front end communication processor that carries out data acquisition and issue is called main frame, standby real-time server or standby front end communication processor all are called standby host, when self duty of main frame takes place when unusual, described real-time dataBase system carries out redundancy and switches, it is characterized in that, described main frame and standby host are in the data acquisition state simultaneously, finish data acquisition at main frame, upgrade before self real-time data base, carry out following flow process:
Main frame carries out the quality judgement to the data that its data is gathered gained, if equipment or subsystem return and contain the in-problem quality of data label of the expression quality of data in time-out information or the return data in the gatherer process, then main frame by with the data communication program of standby host, send the request of data of standby host data acquisition simultaneously gained data to standby host, otherwise main frame upgrades self real-time data base;
After standby host is received the request of data of main frame, carrying out the quality of data of self earlier judges, if the data communication of standby host data acquisition simultaneously is normal, and there is not data quality problem, then the gained of data acquisition simultaneously data return to main frame as normal data, otherwise, then return Reflector and give main frame;
After main frame is received the data or Reflector that standby host returns, corresponding data are carried out Data Update and issue or sent fault-signal.
CN2008100431929A 2008-03-26 2008-03-26 Method for controlling real-time database system Active CN101546189B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100431929A CN101546189B (en) 2008-03-26 2008-03-26 Method for controlling real-time database system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100431929A CN101546189B (en) 2008-03-26 2008-03-26 Method for controlling real-time database system

Publications (2)

Publication Number Publication Date
CN101546189A CN101546189A (en) 2009-09-30
CN101546189B true CN101546189B (en) 2010-12-08

Family

ID=41193356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100431929A Active CN101546189B (en) 2008-03-26 2008-03-26 Method for controlling real-time database system

Country Status (1)

Country Link
CN (1) CN101546189B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710356B (en) * 2012-05-25 2016-04-13 周明 A kind of real time redundancy master station data synchronization method

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976886B (en) * 2010-10-29 2013-01-30 国电南瑞科技股份有限公司 Distributed data collection partitioning mutual backup method for power dispatching automation system
CN102508430B (en) * 2011-09-29 2014-05-07 南京国电南自轨道交通工程有限公司 Reconnection method applicable to communication protocols of modern monitoring system for rail transit
CN102929744B (en) * 2011-12-27 2016-06-08 许继电气股份有限公司 A kind of Local Area Network real-time database date storage method and system
CN104618129B (en) * 2014-12-03 2018-07-27 北京市轨道交通建设管理有限公司 A kind of method that realizing that SCADA system calamity is standby and operator station
CN105025071B (en) * 2015-03-31 2018-11-16 中国石油天然气集团公司 A kind of oil-gas pipeline cloud processing system and implementation method
CN107741984B (en) * 2017-10-20 2021-06-25 上海泓戟信息科技有限公司 Acquisition server, system and method for monitoring data acquisition consistency on line
CN110413452A (en) * 2019-07-30 2019-11-05 中国联合网络通信集团有限公司 A kind of communication data synchronous method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5469503A (en) * 1993-07-27 1995-11-21 Aspect Telecommunications Corporation Method for resynchronizing secondary database and primary database with preservation of functionality of an automatic call distribution system
CN1279868A (en) * 1997-11-21 2001-01-10 艾利森电话股份有限公司 Customer admiistration system management of redundant database network elements in a telecommunications system
CN1335952A (en) * 1999-10-29 2002-02-13 株式会社维新克 Database system and information distributing & transfering system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5469503A (en) * 1993-07-27 1995-11-21 Aspect Telecommunications Corporation Method for resynchronizing secondary database and primary database with preservation of functionality of an automatic call distribution system
CN1279868A (en) * 1997-11-21 2001-01-10 艾利森电话股份有限公司 Customer admiistration system management of redundant database network elements in a telecommunications system
CN1335952A (en) * 1999-10-29 2002-02-13 株式会社维新克 Database system and information distributing & transfering system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710356B (en) * 2012-05-25 2016-04-13 周明 A kind of real time redundancy master station data synchronization method

Also Published As

Publication number Publication date
CN101546189A (en) 2009-09-30

Similar Documents

Publication Publication Date Title
CN101546189B (en) Method for controlling real-time database system
CN1527169B (en) Redundant application station for process control system
CN109104349B (en) Train network data transmission method, system and device based on CANopen protocol
JP5249950B2 (en) Method and system for utility network outage detection
CN101394306B (en) Seamless switching method for dual server system
CN101488879B (en) Failure protection method and apparatus in network appliance for Ethernet spanning tree protocol
CN103067206A (en) Internet of things across-machine room distributed type full automatic hot standby server switching system
CN112637368B (en) Distributed industrial data acquisition system and method
CN104753038A (en) Intelligent substation centralized relay protection system and method
CN101834687A (en) Method, system and device for switching main and spare light access networks
CN104898435B (en) Home services system and its fault handling method, household appliance, server
CN106452864A (en) Parking lot fault protection method, apparatus and system thereof
CN102856971A (en) Direct-current power supply system and method for implementing multi-machine monitoring
CN101227333A (en) Disaster tolerance network managing system and login method of network managing subscriber end
JP5106645B2 (en) Supervisory control method
CN104505942A (en) Power distribution automatic feeder terminal based on data bus and network thereof
CN104954168A (en) Message analysis based communication fault positioning system
CN105743695A (en) Monitoring method and system based on IEC 104 protocol
CN112003825A (en) SDN-based virtual network isolation method and SDN controller
EP2506605A1 (en) System and method for service management based on m2m
CN105353701A (en) Reliable distributed alarm system and method
KR101377461B1 (en) Remote Maintenance and Monitoring Service Framework for Heterogeneous Device and System
CN114500554B (en) Internet of things system management method
CN110798242A (en) Circuit, multi-channel device and multi-channel short message sending method
CN110740060A (en) intelligent management unit multi-device access method based on dual-machine micro-service architecture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant