Code Monkey home page Code Monkey logo

afc.socketnet's Introduction

AFC.SocketNet

一、项目情况 我们的工作主要是研发各城市的轨道交通自动售检票通迅系统AFC(参与的项目有天津地铁6号线、武汉地铁21号线、长春北湖线、深圳龙华有轨电车等城市的售检票系统)。因不同的城市会有不同的通迅标准协议,所以每个不同城市的AFC在准备前期,都必须花费大量的时间去实现Socket通迅模块(以TCP的长连接为主)。而且这些通迅模块会涉及到售检票系统交易数据、设备状态、软件更新等重要操作,是一个重中之重的模块。所以有必要针对此特殊情况,以不变应万变,在短时间内快速简单地完成通迅模块的开发工作,并能最大限度保证通迅服务的稳定性和满足高客流的高并发性能。

二、项目介绍 基于上述情况,特意把一直在变在通迅协议抽离出来,独立在可配置的配置文件中;把不变的通迅处理机制封装起来。可根据不同城市的通迅协议标准进行配置,就能自动快速生成可复用的TCP通迅框架,省去Socket通迅开发调试的步骤,快速进入相关业务的开发。

三、项目架构 1、AFC.SocketNet.Communication Socket通迅处理类库 2、AFC.SocketNet.Core 公共处理类库 3、AFC.SocketNet.Message 消息报文处类库 4、AFC.SocketNet.ServerApp 服务启动类

afc.socketnet's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar gobeyond avatar wikey avatar

Watchers

James Cloos avatar wikey avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.