Serialization | Iot framework ServerSuperIO tutorial-17. Supports real-time databases and high-concurrency storage of measurement point data. Appendix: Release and version update instructions ., Serversuperio

Source: Internet
Author: User

Serialization | Iot framework ServerSuperIO tutorial-17. Supports real-time databases and high-concurrency storage of measurement point data. Appendix: Release and version update instructions ., Serversuperio

1. C # Introduction to cross-platform Iot communication framework ServerSuperIO (SSIO)

Serialization | Iot framework ServerSuperIO tutorial 1.4 communication modes and mechanisms.

Serialization | Iot framework ServerSuperIO tutorial 2. service instance configuration parameters

Serialization | Iot framework ServerSuperIO tutorial-3. Device Driver Introduction

Serialization | Iot framework ServerSuperIO tutorial-4. For example, you can develop a device driver that supports both serial and network communication.

Serialization | Iot framework ServerSuperIO tutorial-5. Polling communication mode development and precautions.

Serialization | Iot framework ServerSuperIO tutorial-6. concurrent communication mode development and precautions

Serialization | Iot framework ServerSuperIO tutorial-7. Self-control communication mode development and precautions

Serialization | Iot framework ServerSuperIO tutorial-8. single-instance communication mode development and precautions

Serialization | Iot framework ServerSuperIO tutorial-9. protocol filter to solve multiple packet-related, sticky packet, and redundant data

Serialization | Iot framework ServerSuperIO tutorial-10. Two Methods for continuous transmission of large data streams (such as files)

Serialization | Iot framework ServerSuperIO tutorial-11. Implement device (driver) and device (driver) interaction and cascade control.

Serialization | Iot framework ServerSuperIO tutorial-12. Service Interface Development and bidirectional interaction with the cloud

Serialization | Iot framework ServerSuperIO tutorial-13. Custom View display interface development to meet different display requirements

Serialization | Iot framework ServerSuperIO tutorial-14. Introduction to preparation tools and mounting of device drivers, view drivers, and service instances

Serialization | Iot framework ServerSuperIO tutorial-15. Use of data persistence Interfaces

Serialization | Iot framework ServerSuperIO tutorial-16.OPC Server usage steps

Contents

17. Support for real-time databases and high-concurrency storage of measurement point data... 2

17.1 overview... 2

17.2 ServerSuperIO interfacing with real-time databases... 4

17.2.1 inherits the dynamic interface and sets the Persistent object... 4

17.2.2 add device drivers... 5

17.2.3 label attribute preparation... 6

17.2.4 install a real-time database... 7

17.2.5 configure real-time database parameters... 7

17.2.6 run the program... 8

17.3 considerations... 8

17.4 video demo... 8

17. Support for real-time databases and high-concurrency storage of measurement point data
17.1 Overview

The real-time database system is a background supporting software for developing real-time control systems and systems. Massive use of real-time database systems for control system monitoring, advanced system control and Optimization Control, it also provides real-time data services and a variety of data management functions for enterprise production management and scheduling, data analysis, decision-making support, and remote online browsing. Real-time databases have become the basic data platform for Enterprise Informatization. They can directly collect and obtain various data during enterprise operation in real time and convert it into public information that is effective for various businesses, meet the requirements of real-time information integrity, consistency, and security sharing among enterprise production management, enterprise process monitoring, and enterprise operation management, it can establish information communication bridges between enterprise automation systems and management information systems.

An important feature of real-time databases is real-time, including real-time data and real-time transactions. Real-time data is the update cycle of on-site I/O data. In general, the real-time data is mainly restricted by the field equipment, especially for some older systems. The real-time transaction processing speed of the database. It can be an event trigger or timed trigger. If an event is triggered, scheduling can be obtained immediately. This type of event can be handled immediately, but the system resources are consumed. A scheduled event is triggered within a certain period of time.

The system framework diagram is as follows:


The structure diagram is as follows:

Public class DeviceDyn: DeviceDynamic {public DeviceDyn (): base () {} public override string GetAlertState () {throw new NotImplementedException ("no alarm information ");} private float Flow {set; get;} private float Signal {set; get ;}}

After the dynamic data property is developed, set this type of persistence device in the device driver initialization. The Code is as follows:

Public DeviceDriver (): base () {_ devicePara = new DevicePara (); _ deviceDyn = new DeviceDyn (); // use a real-time database to persistently store Dynamic Data _ deviceDyn. initDataPersistence (new RDBPersistence (); _ protocol = new DeviceProtocol (); _ contextMenuComponent = new ContextMenuComponent ();}

Of course, the development of device drivers not only includes this. For more information, see previous tutorials.

17.2.2 add device drivers

Run the “serversuperio.tool.exe tool and click the basic configuration menu. Configure the developed device driver assembly in the configuration tool to verify that the current device driver can run on the platform, for example:

 

1. [serialization] C # communication (Serial Port and network) Framework Design and Implementation

2. [Open Source] C # cross-platform Iot communication framework ServerSuperIO (SSIO) Introduction

2. Overall system construction solution using SuperIO and open-source cross-platform Iot framework ServerSuperIO

3. C # technical route of industrial IoT and integrated system solutions (data sources, , data upload and receiving, ActiveMQ, Mongodb, WebApi, and mobile App)

5. ServerSuperIO Open Source Address: https://github.com/wxzz/ServerSuperIO

Internet of Things & integrated technology (. NET) QQ Group:54256083

: Http://www.bmpj.net/thread-14-1-1.html

 

 


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.