Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Active Publication Date: 2017-02-22
武汉众智数字技术有限公司
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

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., especially The implementation method between heterogeneous platforms is relatively complicated and needs to be integrated one by one. The platforms are interdependent and the coupling is too high. A network failure, downtime or maintenance of one platform may easily lead to failures of other platforms.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Platform cascading method and system based on Rabbit MQ and Socket.io
  • Platform cascading method and system based on Rabbit MQ and Socket.io
  • Platform cascading method and system based on Rabbit MQ and Socket.io

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a platform cascading method and system based on Rabbit MQ and Socket.io. The method includes the following steps that S1, administrative region division codes and platform codes are used as queue names and routing keys, and when task assistance or feedback assistance information is sent, messages are sent to designated queues through the designated routing keys; when all levels of platforms read the task assistance / feedback messages, the messages are read from the corresponding queues through the designated routing keys; S2, a socket.io message real-time push background service is set up based on the Node.js environment, other server applications or clients submit the messages needing to be pushed to the socket.io background service in the JSON format, and the messages are pushed or broadcast to the clients through the socket.io background service. Task cooperation, information feedback and part business data exchange functions can be achieved among multiple stages of transregional and heterogeneous platforms, and the seamless data demand of police in the synthetic combat process is met.

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...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/54H04L29/08
CPCH04L67/02H04L67/10G06F9/544G06F9/546G06F9/547H04L67/55
Inventor 李仙伟
Owner 武汉众智数字技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products