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
CN110995797AActive Publication Date: 2020-04-10HUBEI UNIV FOR NATITIES +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HUBEI UNIV FOR NATITIES
Publication Date
2020-04-10

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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