CN201425713Y - Gateway application system based on embedded real-time database - Google Patents

Gateway application system based on embedded real-time database Download PDF

Info

Publication number
CN201425713Y
CN201425713Y CN200920025815XU CN200920025815U CN201425713Y CN 201425713 Y CN201425713 Y CN 201425713Y CN 200920025815X U CN200920025815X U CN 200920025815XU CN 200920025815 U CN200920025815 U CN 200920025815U CN 201425713 Y CN201425713 Y CN 201425713Y
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.)
Expired - Lifetime
Application number
CN200920025815XU
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 CORP., 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 CN200920025815XU priority Critical patent/CN201425713Y/en
Application granted granted Critical
Publication of CN201425713Y publication Critical patent/CN201425713Y/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

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 utility model relates to a gateway application system, in particular to an embedded real-time database of a gateway application system. The gateway application system based on the embedded real-time database comprises an upper computer, a gateway and an acquisition system, and the upper computer is communicated with the gateway through a 485 bus or LAN or GPRS; the gateway is connected with the acquisition system through a 485 bus, and the acquisition system parses and stores the acquired field data into the embedded database built in the gateway. The system can real-timely and reliably process field data, efficiently utilize the limited resource of the embedded system, increase the speed of data storage, and protect data.

Description

Gateway application system based on embedded real-time data base
Technical field
The utility model relates to a kind of gateway application system, relates in particular to a kind of embedded real-time data base of gateway application system.
Background technology
At present, development along with infotecies such as computing machine, communication, networks, message-switching technique has been widely used in factory, enterprise, at modern commercial production scene, a large amount of production 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 handling capacity 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 support equipment cost is higher, and the application and the maintenance of reality had higher requirement.
The utility model content
Technique effect of the present utility model 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 utility model 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 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 sensor 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 computational datas, control data and management data in addition.
Real time data processing is the operation of in supervisory system the value of variable in the real-time data base being carried out.Comprise demonstration, storage, warning to data, manage, provide controlled variable 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 raw 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 an integral 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, system performance, 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 unit 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 utility model;
Fig. 2 is an embedded database structured flowchart of the present utility model.
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 sensor 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 EmbeddedGraphic Configuration Software) 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 is safeguarded the streams data between graphical interfaces and real-time data base, the controlled device.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 data 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 unit, 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 sensor 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.
CN200920025815XU 2009-05-22 2009-05-22 Gateway application system based on embedded real-time database Expired - Lifetime CN201425713Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200920025815XU CN201425713Y (en) 2009-05-22 2009-05-22 Gateway application system based on embedded real-time database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200920025815XU CN201425713Y (en) 2009-05-22 2009-05-22 Gateway application system based on embedded real-time database

Publications (1)

Publication Number Publication Date
CN201425713Y true CN201425713Y (en) 2010-03-17

Family

ID=42025168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200920025815XU Expired - Lifetime CN201425713Y (en) 2009-05-22 2009-05-22 Gateway application system based on embedded real-time database

Country Status (1)

Country Link
CN (1) CN201425713Y (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339374A (en) * 2015-07-06 2017-01-18 天津九洲云物联科技有限公司 Embedded system file type real time history database algorithm

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339374A (en) * 2015-07-06 2017-01-18 天津九洲云物联科技有限公司 Embedded system file type real time history database algorithm

Similar Documents

Publication Publication Date Title
US10949242B2 (en) Development of embedded type devices and running method for embedded type virtual device and system
CN101895483A (en) Gateway application system based on embedded real-time data base
CN107229584B (en) I/O management system of avionic simulation test platform
CN101354758B (en) System and method for integrating real-time data and relationship data
CN104486255A (en) Service resource dispatching method and device
CN101751023A (en) Main control part and method for multi-parameter real-time measurement and control system
CN103792928A (en) Industrial field data collecting and analyzing system based on Modbus
CN102914998B (en) The axle digital control system in open type of built-in small four
CN103384268A (en) Embedded type integratedly-manufactured data collecting terminal based on network
CN108333566B (en) ZYNQ-based portable radar test system and test method
CN102946616A (en) Internet of things middleware performance testing system and testing method
CN102708218A (en) USB (universal serial bus) compound device integrated with U (USB) disc and data acquisition module
CN2824146Y (en) Automatic integrated power testing system
CN110650174A (en) MES system of distributed architecture and interaction method of client and server thereof
CN100385787C (en) DSP Chip-based excitation controller communication system and its method for realizing USB protocol
CN202159243U (en) Monitoring module of engineering machinery monitoring system
CN201425713Y (en) Gateway application system based on embedded real-time database
CN101751024A (en) System and method for observing and controlling distributed environmental parameters
CN103569421A (en) Data collection and analysis device for cigarette packing machine
CN106527371B (en) Intelligence manufacture BC system general driving frame
CN101541021B (en) Method for automatically generating capacity-warning reports
CN203038031U (en) Data acquisition system based on embedded real-time operation system
CN109656785A (en) The monitoring and display methods of software and hardware facilities operating status
CN107018160B (en) Manufacturing resource and clouding method based on layering
CN114676015A (en) Automatic generation method and system for monitoring and self-checking report of operation state of measurement and control device

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Ningxia City Road No. 288

Patentee after: QINGDAO GAOXIAO INFORMATION INDUSTRY CORP., LTD.

Address before: 266071 Shandong city of Qingdao province Ningxia City Road No. 288

Patentee before: Qingdao Gaoxiao Information Industry Co.,Ltd.

CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20100317