[Major update] ServerSuperIO 2.0 (SSIO) download from the open-source cross-platform Iot communication framework, and serversuperiossio

Source: Internet
Author: User

[Major update] ServerSuperIO 2.0 (SSIO) download from the open-source cross-platform Iot communication framework, and serversuperiossio

For details about the update, refer to [update design] cross-platform Iot communication framework ServerSuperIO 2.0, functions, bugs, details, and upgrade thinking process!

Statement: The company is building an industrial big data platform, and the SSIO can work in handy. Therefore, we have improved it and upgraded it to version 2.0, hoping to help everyone.Open-source learning only. for commercial use, contact the author.


1. SSIO features

  • The lightweight and high-performance communication framework is suitable for multiple application scenarios, including polling mode, automatic control mode, concurrency mode, and Singleton mode.
  • It is not only a communication framework, but also a coordination mechanism for device drivers, IO channels, and control mode scenarios.
  • Supports protocol drives and standard and custom protocols can be written according to specifications.
  • Supports sending data caches, command cache resends, and priority-based sending.
  • Supports protocol filters, filters data by rules, and supports custom filtering through interfaces.
  • Supports receiving data caches to cache data that does not match the filter and splice the data received next time.
  • Allows you to schedule devices by device command priority to ensure that drivers with advanced commands are sent in a timely manner.
  • Supports one device driver, and supports both the serial port and network communication modes to monitor IO channel data.
  • Supports one device driver and TCP Server and TCP Client for network communication.
  • Multiple devices can share the same I/O channel for communication.
  • Supports timed cleanup of time-out network I/O channels.
  • The display view interface is supported to meet different display requirements.
  • Supports service component interfaces to customize the OPC Service, 4-20mA output, LED dashboard display, SMS service, and multi-function gateway service.
  • You can create multiple service instances to split different services.
  • Supports cross-platform deployment and runs on Linux and Windows systems.
  • 2. Protocol for the test process

Protocol header (2 bytes), client number (ASCII, 4 digit characters), file name, file content, Protocol end (2 bytes)

Example: 0x35,0x35,0001,yyMMddHHmmss.txt, file content, 0x33,0x33

3. Test Results

The test starts from, January 16,. A 65kb file is sent every 5s, and SSIO is responsible for receiving and storing data. For example:

Why is error data displayed in red circles? This is because the Protocol starts with 0x35 and 0x35 and ends with 0x33 and 0x33, but the protocol data contains the file name, which is named by Time: yyMMddHHmmss.txt, therefore, the data in the file name protocol may include data of 0x35 or 0x33, so the data may be truncated incorrectly. This is normal. However, pay special attention to the design of communication protocols.

4. Open Source Branch

SSIO 2.0 was modified on the basis of SSIO1.3 and has many modifications. Therefore, a new branch is created. You must pay attention to this when downloading it on github, 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

 


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.