CN101895483A - Gateway application system based on embedded real-time data base - Google Patents

Gateway application system based on embedded real-time data base Download PDF

Info

Publication number
CN101895483A
CN101895483A CN2009100155815A CN200910015581A CN101895483A CN 101895483 A CN101895483 A CN 101895483A CN 2009100155815 A CN2009100155815 A CN 2009100155815A CN 200910015581 A CN200910015581 A CN 200910015581A CN 101895483 A CN101895483 A CN 101895483A
Authority
CN
China
Prior art keywords
real
time data
embedded
gateway
data
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
CN2009100155815A
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.)
QINGDAO GAOXIAO INFORMATION INDUSTRY CO LTD
Original Assignee
QINGDAO GAOXIAO INFORMATION INDUSTRY 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 QINGDAO GAOXIAO INFORMATION INDUSTRY CO LTD filed Critical QINGDAO GAOXIAO INFORMATION INDUSTRY CO LTD
Priority to CN2009100155815A priority Critical patent/CN101895483A/en
Publication of CN101895483A publication Critical patent/CN101895483A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a gateway application system, particularly an embedded real-time data base of a gateway application system. The gateway application system based on an embedded real-time data base comprises an upper computer, a gateway and an acquisition system, wherein the upper computer communicates with the gateway through a 485 bus, or an LAN or GPRS mode; the gateway is connected with the acquisition system through the 485 bus; and the acquisition system analyzes and stores data acquired on site to the built-in embedded data base of the gateway. The system can reliably process the on-site data in real time, efficiently utilize the limited resources of the embedded system, increase the data storage speed and protect the data.

Description

Gateway application system based on embedded real-time data base
Technical field
The present invention relates to a kind of gateway application system, relate in particular to a kind of embedded real-time data base of gateway application system.
Background technology
At present, development along with information technologies such as computer, communication, networks, message-switching technique has been widely used in factory, enterprise, at modern industrial production scene, a large amount of creation datas and control data have been produced, make data management under the embedded environment become the pith in the industrial control system, this just requires monitoring software must possess powerful data-handling capacity, for people provide in real time, reliable data, to reflect the situation of on-the-spot operation, so that carry out the control corresponding operation.
The correctness of data not only depends on the logical consequence of data in the embedded environment, and depends on the time that logical consequence produces.How to manage effectively that these are a large amount of, ageing strong and the data of strict sequential order are arranged, and how to make it to handle in the mode of high reliability, high real-time and big throughput be the matter of utmost importance that the exploitation embedded system must solve.The embedded database technology of prior art is relatively complicated, and the corollary equipment cost is higher, and the application and the maintenance of reality had higher requirement.
Summary of the invention
Technique effect of the present invention can overcome above-mentioned defective, and a kind of gateway application system based on embedded real-time data base is provided, and it can carry out in real time the data in the embedded environment, handle reliably.
For achieving the above object, the present invention adopts following technical scheme: it comprises host computer, gateway, acquisition system, communicates by letter by 485 buses or LAN or GPRS mode between host computer and the gateway; Gateway is connected with acquisition system by 485 buses, and acquisition system stores the data of collection in worksite in the built-in embedded database of gateway into through resolving.
In supervisory control system, need handle a large amount of real time datas, processing procedure comprises: the real-time collection of field data; Real time data is handled and stored; The result is analyzed, judges and reports to the police; To processing of historical data etc.
Embedded database comprises the real time data processing module and the historical data processing module of communication each other.The real time data processing module comprises real-time rm-cell, real time data administrative unit, real-time data memory unit, pid parameter administrative unit.The real time data processing module is connected with alarm module, real time data display module.The real time data processing module is controlled acquisition system by control circuit, and acquisition system sends the data of gathering to the real time data processing module by transducer and A/D converter.
All real time datas being concentrated handle, set up real-time data base, is a key link of embedded system.A big chunk data in the real-time data base are from the data of producing and measure field collects in real time, and therefore image data is the basic premise of The whole control system operate as normal timely and accurately.Also have some calculated datas, control data and management data in addition.
Real time data processing is the operation of in supervisory control system the value of variable in the real-time data base being carried out.Comprise demonstration, storage, warning to data, manage, provide Control Parameter etc., it can also so that trigger dependent event, be handled in real time as required the other parts that send to system for information about in the mode of incident simultaneously.
The historical data processing module comprises historical data management unit, historical data maintenance unit, log management unit.The historical data processing module is connected with the historical data display module.The historical data processing module is by the database communication of communication interface and host computer.
It is that data to regularly storing in the historical data base are handled that historical data is handled, and main operation comprises the gathering, inquire about of initial data, can data be shown visually with forms such as curve, forms.Embedded device memory capacity is limited, and the mass data in the system will regularly be sent in the database of host computer of long-range relation by communication interface and preserve.
In embedded system, real-time data base is not Database Systems truly in essence, it is a core buffer by application program management, sometimes be called " memory database " again, it is a sharing data area for the common use of a plurality of real-time tasks, be be embedded in the monitoring software, with the application program inalienable part, mainly finish the operation that deposits, withdraws of data, do not have independence.A complete embedded real-time data base system also should comprise historical data base, data base administration etc. except memory database.Therefore when making up embedded real-time data base; real-time, overhead size, systematic function, the reliability of system be should consider, and the limited resources of embedded system, the access speed that improves data, the priority assignment of carrying out data protection, exchanges data, optimization Algorithm, affairs, transaction scheduling etc. how utilized efficiently.
The operation of built-in applied system will be handled a large amount of real time datas, and this has the function of handling a large amount of real time datas with regard to the configuration software that requires to develop built-in applied system.The real time data library module is divided into development environment and running environment designs respectively, in the configuration development environment, finish the real time data library structure, Data Source, data connect, data type reaches the definition of relevant various parameters, generate the target real-time data base, then in system running environment, to send into real-time data base from the real time data that the external equipment collection comes, the data that read in the target real-time data base are resolved, automatically finish demonstration, report to the police, operations such as deposit, simultaneously the other parts that send to system for information about, so that the triggering dependent event is handled in real time.
Native system can be handled on-the-spot data in real time, reliably, and colleges and universities utilize the limited resources of embedded system, improve the storage speed of data, and data are protected.
Description of drawings
Fig. 1 is a structured flowchart of the present invention;
Fig. 2 is an embedded database structured flowchart of the present invention.
Embodiment
Native system comprises host computer, gateway, acquisition system, communicates by letter by 485 buses or LAN or GPRS mode between host computer and the gateway; Gateway is connected with acquisition system by 485 buses, and acquisition system stores the data of collection in worksite in the built-in embedded database of gateway into through resolving.
Embedded database comprises the real time data processing module and the historical data processing module of communication each other.The real time data processing module comprises real-time rm-cell, real time data administrative unit, real-time data memory unit, pid parameter administrative unit.The real time data processing module is connected with alarm module, real time data display module.The real time data processing module is controlled acquisition system by control circuit, and acquisition system sends the data of gathering to the real time data processing module by transducer and A/D converter.The historical data processing module comprises historical data management unit, historical data maintenance unit, log management unit.The historical data processing module is connected with the historical data display module.The historical data processing module is by the database communication of communication interface and host computer.
The exploitation of the real-time data base in the embedded configuration software:
Along with the development of DCS, utilize configuration software to come the exploitation of supporting industry application software, the continuous popularization of using in field of embedded technology along with Linux and deeply, many industrial control softwares are all developed based on Linux.On structure, form by system development environment and system running environment two parts based on the embedded graphic configuration software (LEGCS:Linux-based Embedded Graphic Configuration Sof tware) of Linux.The system development border is to operate on the PC as a platform development instrument, mainly finish pattern drafting, specify configuration concrete object and content, finish device attribute and set, set operations such as control strategy, I/O management and comprehensively describe and be provided with controlling the scene, the result of all settings is saved in the real-time data base, uses when moving for system.The information spinner that is saved in the real-time data base will comprise: field data, switching value, instrument value, real-time clock, device attribute etc.Running environment is actual to be exactly Industry Control Application software, operates on the embedded device, and the collection site data deposit real-time data base in real time, reads data wherein and resolves demonstration configuration content on target machine, the configuration control and the emulation of realization equipment.The tie that maintains configuration environment and running environment is a real-time data base.
The database generation module operates in development environment, mainly finish data definition as global variable, memory variable, variable processing mode etc. is set, global variable is directly relevant with industrial field device state (as reaction vessel pressure, valve switch state etc.), and these data are gathered by the configuration requirement in real time by the I/O driver module in running environment; Memory variable is the intermediate variable of using in the configuration software.The real time data generation module is stored in configuration info in the real-time data base.In running environment, carry out data acquisition by real-time data base operation module, response user control request safeguards that the data between graphical interfaces and real-time data base, the controlled device flow.Real-time curve in the running environment shows and data are obtained in the trend module timing from real-time data base, data memory module with the storage in the real-time data base on disk as historical data.
It is multiple that real time data can be divided into analog quantity, switching value, digital quantity, character string etc. by its character, according to field data type and system's used system constant and intermediate variable, eight kinds of typess of variables in LEGCS, have been defined: internal memory discrete type, I/O discrete type, internal memory integer type, I/O integer type, internal memory real number type, I/O real number type, internal memory character string type, I/O character string type, wherein the memory variable type is used to create system's constant and intermediate variable, and the I/O types of variables is used to handle the data of collection in worksite.Concerning various types of variablees, its span is arranged all: discrete variable can only get 0 and 1, symbol long variable class is arranged seemingly in integer variable and the general procedure design language, is used to represent signed integer data.The full mold variable is used to represent floating data.String variable is used to write down the character string of some specific meanings.Corresponding to a class real time data, it manages with the form of structure every class variable one by one.
Real-time data base operation module operates on simulated environment or the embedded device, mainly finishes the collection of real time data and the analyzing and processing of real time data, writes different processing functions according to the difference of function.As real-time tracing analysis (RealCurve) is exactly a module that is used to observe the time dependent trend of value of external variable or expression formula.On behalf of time, Y-axis, the X-axis of real-time curve represent variate-value, and curve can automatic coiling during operation, with quick reflection variable over time.
FltRealValue is an one-dimension array, wherein deposited the numerical value of real-time curve actual displayed, the data of depositing are automatic coilings, after collecting the numerical value of a current time by external equipment, the oldest data of acquisition time that leave in the array will be dropped, and adding the current data that newly collect, the sum of valid data remains unchanged in the array.The real-time tendency curve comes roll display according to this data structure.

Claims (8)

1. the gateway application system based on embedded real-time data base is characterized in that comprising host computer, gateway, acquisition system, communicates by letter by 485 buses or LAN or GPRS mode between host computer and the gateway; Gateway is connected with acquisition system by 485 buses, and acquisition system stores the data of collection in worksite in the built-in embedded database of gateway into through resolving.
2. the gateway application system based on embedded real-time data base according to claim 1 is characterized in that embedded database comprises the real time data processing module and the historical data processing module of communication each other.
3. the gateway application system based on embedded real-time data base according to claim 2 is characterized in that the real time data processing module comprises real-time rm-cell, real time data administrative unit, real-time data memory unit, pid parameter administrative unit.
4. the gateway application system based on embedded real-time data base according to claim 3 is characterized in that the real time data processing module is connected with alarm module, real time data display module.
5. the gateway application system based on embedded real-time data base according to claim 3, it is characterized in that the real time data processing module controls acquisition system by control circuit, acquisition system sends the data of gathering to the real time data processing module by transducer and A/D converter.
6. the gateway application system based on embedded real-time data base according to claim 2 is characterized in that the historical data processing module comprises historical data management unit, historical data maintenance unit, log management unit.
7. the gateway application system based on embedded real-time data base according to claim 6 is characterized in that the historical data processing module is connected with the historical data display module.
8. the gateway application system based on embedded real-time data base according to claim 6 is characterized in that the database communication of historical data processing module by communication interface and host computer.
CN2009100155815A 2009-05-22 2009-05-22 Gateway application system based on embedded real-time data base Pending CN101895483A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100155815A CN101895483A (en) 2009-05-22 2009-05-22 Gateway application system based on embedded real-time data base

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100155815A CN101895483A (en) 2009-05-22 2009-05-22 Gateway application system based on embedded real-time data base

Publications (1)

Publication Number Publication Date
CN101895483A true CN101895483A (en) 2010-11-24

Family

ID=43104556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100155815A Pending CN101895483A (en) 2009-05-22 2009-05-22 Gateway application system based on embedded real-time data base

Country Status (1)

Country Link
CN (1) CN101895483A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387095A (en) * 2011-10-25 2012-03-21 康才畯 Intelligent gateway with sensing slot structure for internet of things
CN103019125A (en) * 2012-12-29 2013-04-03 国电南京自动化股份有限公司 Multitask real-time data processing system and data recording and data analyzing method
CN105320085A (en) * 2014-06-25 2016-02-10 中兴通讯股份有限公司 Method, apparatus and system for acquiring industrial automation data
CN105652171A (en) * 2016-04-11 2016-06-08 国网上海市电力公司 Data storage method for local discharging wireless monitoring system
WO2018076778A1 (en) * 2016-10-24 2018-05-03 深圳光启合众科技有限公司 Robot, and data processing method and system applied thereto
CN109886041A (en) * 2019-01-30 2019-06-14 新奥数能科技有限公司 The acquisition method and device of real time data
CN111123861A (en) * 2019-12-11 2020-05-08 北京航空航天大学 Distributed data acquisition system and method of large-scale multi-field coupling test equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387095A (en) * 2011-10-25 2012-03-21 康才畯 Intelligent gateway with sensing slot structure for internet of things
CN103019125A (en) * 2012-12-29 2013-04-03 国电南京自动化股份有限公司 Multitask real-time data processing system and data recording and data analyzing method
CN103019125B (en) * 2012-12-29 2014-12-31 国电南京自动化股份有限公司 Multitask real-time data processing system and data recording and data analyzing method
CN105320085A (en) * 2014-06-25 2016-02-10 中兴通讯股份有限公司 Method, apparatus and system for acquiring industrial automation data
CN105320085B (en) * 2014-06-25 2019-10-25 南京中兴软件有限责任公司 The acquisition method and device of industrial automation data, system
CN105652171A (en) * 2016-04-11 2016-06-08 国网上海市电力公司 Data storage method for local discharging wireless monitoring system
WO2018076778A1 (en) * 2016-10-24 2018-05-03 深圳光启合众科技有限公司 Robot, and data processing method and system applied thereto
CN109886041A (en) * 2019-01-30 2019-06-14 新奥数能科技有限公司 The acquisition method and device of real time data
CN109886041B (en) * 2019-01-30 2021-09-24 新奥数能科技有限公司 Real-time data acquisition method and device
CN111123861A (en) * 2019-12-11 2020-05-08 北京航空航天大学 Distributed data acquisition system and method of large-scale multi-field coupling test equipment
CN111123861B (en) * 2019-12-11 2021-08-31 北京航空航天大学 Distributed data acquisition system and method of large-scale multi-field coupling test equipment

Similar Documents

Publication Publication Date Title
CN101895483A (en) Gateway application system based on embedded real-time data base
US10949242B2 (en) Development of embedded type devices and running method for embedded type virtual device and system
EP3540532B1 (en) Control system and control method
US10591886B2 (en) Control system, control program, and control method for device switching responsive to abnormality detection
CN102914998B (en) The axle digital control system in open type of built-in small four
CN101067750A (en) A method of obtaining a snapshot of simulation system
CN104486255A (en) Service resource dispatching method and device
CN108333566B (en) ZYNQ-based portable radar test system and test method
CN102946616A (en) Internet of things middleware performance testing system and testing method
CN1601415A (en) Opening rearrangeable soft digital control system
CN102279796A (en) Method and device for testing software compatibility
CN102801805A (en) Field data acquisition system and method based on mobile internet technology
CN103019125A (en) Multitask real-time data processing system and data recording and data analyzing method
CN110650174A (en) MES system of distributed architecture and interaction method of client and server thereof
CN106407072A (en) Monitoring system of big data platform
CN100385787C (en) DSP Chip-based excitation controller communication system and its method for realizing USB protocol
CN201425713Y (en) Gateway application system based on embedded real-time database
CN106462139B (en) Programable display and drawing practice
CN202047868U (en) On-line mine dust monitoring system based on OPC (Organic Photoconductor)
CN101718987B (en) alarm control method and device of production delay
CN101541021B (en) Method for automatically generating capacity-warning reports
CN102854862B (en) Functional block with FF (foundation fieldbus) interface
CN109656785A (en) The monitoring and display methods of software and hardware facilities operating status
CN201749350U (en) Human-machine interface device for miniature PLC
CN104360968A (en) Data discrimination and pre-processing physical card and operation method as well as electric energy data processing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20101124