Platform cascading method and system based on Rabbit MQ and Socket.io
A platform and cascading technology, applied in the field of distributed services, can solve the problems of network failure platform failure, complex implementation methods of heterogeneous platforms, and high coupling degree
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2017-02-22
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present invention relates to the technical field of distributed services, and more specifically, relates to a platform cascading method and system based on RabbitMQ and Socket.io. Background technique
[0002] In the deployment process of large-scale information systems in the public security industry, distributed deployment of multi-level platforms (national, provincial, municipal, district and county levels) is often required, and these platforms are often heterogeneous or provided by different vendors, so , it is particularly important to establish a data exchange function between these cross-regional, heterogeneous multi-level platforms. In the traditional platform data exchange methods in the past, data exchange is often carried out through database synchronization, ftp, WebService and other technologies, which are relatively deficient in data security, data confidentiality, system performance, system integration and concurrency, etc., especia...
Examples
Embodiment Construction
[0028] A method and system for cascading RabbitMQ and Socket.io platforms according to the present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0029] The following is a best example of a RabbitMQ and Socket.io platform cascading method and system described in the present invention, which does not limit the protection scope of the present invention.
[0030] figure 1 It shows a platform cascading method based on RabbitMQ and Socket.io, such as figure 2 As shown, platform 1 server and platform 2 server implement application-to-application communication through RabbitMQ, implement cross-platform real-time message push through Socket.io based on Node.js environment, and implement event-based communication through Express based on Node.js environment The web container that drives the non-blocking I / O model implements lightweight data exchange through JSON, including the following steps:
[0031] S1. Use the administr...