Distributed high-availability and high-concurrency IoT (Internet of Vehicles-JT808 protocol) platform architecture solution




 

 

Technical support QQ: 78772895

 

1. The vehicle terminal gateway adopts the mina/netty+spring architecture, which is independent of other applications. It is mainly responsible for maintaining the tcp link of the access terminal, decoding, encoding, flow control, black and white lists of uplink and downlink messages and other security controls. The gateway also supports traffic The two versions of JT/T808-2011 and JT/T808-2013 are all 808 protocols. The gateway application provides a secondary development interface, which supports the extension of the protocol in the form of plug-ins without changing any original code. The access gateway uses json messages to interact with the business platform through the MQ message queue, supports ActiveMQ and RabbitMQ , and can seamlessly access various heterogeneous systems.

This gateway application has been tested and passed the Ministry of Transportation's standard test for many times, and its performance is stable. It is suitable for applications in the field of Internet of Things (Internet of Vehicles), especially the intelligent terminal monitoring platform based on the 808 protocol of the Ministry of Communications or its extended protocol, such as vehicle GPS positioning . monitoring platform. Tested on a common PC , a single gateway application can support at least 1w or more terminals online at the same time, and has a data processing capability of at least 600w GPS data / hour (see the attached performance test report).

This gateway can be horizontally extended to a distributed architecture that supports high availability and high concurrency

 

2. Uplink message processing service, using spring+mysql+redis+mongoDB framework, is based on event-driven responsibility chain design mode to process terminal uplink messages, batch store messages, publish terminal important messages (alarms, online and offline, etc.) and other platform business processing , provides a secondary development interface for message processing in the form of a plug-in without changing any original code to achieve individual business processing capabilities. This service can be horizontally extended to a distributed architecture that supports high availability and high concurrency

 

3. The platform service layer is a spring-boot- based micro-service architecture, which integrates a service registry, an interface gateway, and supports a distributed architecture with high concurrency and high availability; the bottom layer encapsulates several highly abstract restful -style interfaces based on metadata (Including CRUD interface, complex query interface, message delivery interface and other personalized customization interfaces), the business system does not need to develop the code for database-related operations separately (adding a new database table only needs to establish entity mapping, which can be added and changed. and other functions), just focus on business logic development. At the same time, the module also provides a secondary development interface, without changing any original code, to achieve individual business processing and custom interface capabilities.

 

4. The web side of the presentation layer encapsulates JQuery EasyUI for a second time, providing some common js components. For ordinary CRUD operations, you only need to develop the relevant interface according to the template to display it perfectly. The web side also integrates WDR to log on and off the terminal, Alerts and other important information are pushed in real time.

 

5. The framework integrates the redis cache, and the cache can be used through simple annotations;

 

6. The business functions are currently implemented:

   a . Support all the instructions of the JT/T808 protocol, such as taking pictures, text distribution, monitoring, roll call, etc.;

   b . Platform alarm settings: in situ fortification, fence alarm (circle, rectangle, polygon), overspeed alarm;

   c . Vehicle monitoring: regional vehicle inspection, vehicle online and offline prompts, real-time alarm prompts, real-time vehicle tracking, historical trajectory, fuel consumption, mileage, etc.;

   d . Vehicle management: vehicle information maintenance, multimedia information, uplink messages, downlink messages, alarm query, etc.;

   e . Account maintenance: enterprise registration, enterprise information maintenance, password modification, etc.;

   f . Various statistical reports.

 

7. The open platform follows the standard oauth2.0 , and provides several highly abstract, restful -style data interfaces for adding, deleting, modifying, and checking data based on metadata and some customized business interfaces; the open platform supports interface calling frequency control (based on token bucket algorithm) ), support ip black and white list, interface calling permissions and other functions.

 

 

Download address of trial version gateway program:

http://download.csdn.net/detail/gaoshbo/9340739 , if you need a genuine copy, please contact QQ: 78772895

 

Platform experience URL:

 

http://elink.legaoyi.com,登陆用户:test007,密码:123456

 



 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326476435&siteId=291194637