Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Multilayer B/S and C/S hybrid software system and asynchronous real-time communication method between layers

A software system and real-time communication technology, applied in the field of data communication, can solve the problems of low third-party system interaction information, low Tomcat concurrency, difficult upgrade, modification and maintenance, etc., to achieve the effect of convenient direct invocation

Active Publication Date: 2020-04-10
HUBEI UNIV FOR NATITIES +1
View PDF14 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the development of the system architecture, the B / S mode of Tomcat itself is not high in concurrency. Although a cluster server is used, a large amount of business logic must be executed in the Tomcat container bean, and its interaction with third-party systems is not high. ; and the client in C / S mode is not easy to deploy and maintain, nor easy to upgrade, modify and maintain

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
  • Multilayer B/S and C/S hybrid software system and asynchronous real-time communication method between layers
  • Multilayer B/S and C/S hybrid software system and asynchronous real-time communication method between layers
  • Multilayer B/S and C/S hybrid software system and asynchronous real-time communication method between layers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, the specific implementation manners of the present invention will now be described in detail with reference to the accompanying drawings.

[0035] Please refer to figure 1 , which is a schematic diagram of the traditional C / S architecture. The traditional C / S architecture is a master-slave architecture. Each client software instance can send a request to a server or application server. In the traditional C / S Under the S architecture, the client and the socket server are usually based on the socket communication protocol. After the connection is made, the data transmission with the socket server is completed.

[0036] Please refer to figure 2 , which is a schematic diagram of the traditional B / S architecture, which is different from the C / S structure. Its client does not need to install special software, but only needs a browser. Work under the platform. ...

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 discloses a multi-layer B / S and C / S hybrid software system architecture and an asynchronous real-time communication method between layers. According to the system, on the basis of a JFinal framework, information interaction is directly carried out between a Web client and a Tomcat server by adopting a WebSocket or Http protocol; a UDP (User Datagram Protocol) pool and a TCP (Transmission Control Protocol) pool are configured in a Tomcat server, and real-time communication is carried out with a corresponding business server through a Socket socket; in order to improve the high availability of the whole software system, Nginx is adopted to realize load balancing, and Redis is used to realize data sharing of session, token, inter-thread data and the like. According to the system, the Nginx serves as a reverse proxy server, the load of a Tomcat server at the background can be balanced, the Nginx can process a request of a static page, and the Tomcat processes a JSP page request to achieve the purpose of dynamic and static separation.

Description

technical field [0001] The present invention relates to the field of data communication, more specifically, to a multi-layer B / S and C / S hybrid software system constructed based on the JFinal framework, and a method for realizing asynchronous real-time communication between layers. Background technique [0002] The design of software architecture is a key step in the whole software development process. For the large and complex systems in today's world, it is almost inconceivable to have a successful software design without a proper architecture. Different types of systems require different architectures, and even different subsystems of a system require different architectures. The choice of architecture often becomes the key to the success or failure of a system design. [0003] Common software systems in the prior art are these two software architectures of C / S and B / S, and many existing systems run on these two software architectures; The software architecture has its ...

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): H04L29/08H04L29/06
CPCH04L67/02H04L67/1044H04L67/30H04L67/141H04L69/162H04L67/1001H04L67/56H04L67/133H04L67/01
Inventor 陈世强宋礼文刘嵩邱达乔宇
Owner HUBEI UNIV FOR NATITIES
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products