Check patentability & draft patents in minutes with Patsnap Eureka AI!

Web system front-end and back-end separation method

A separation method, front-end and back-end technologies, applied in the field of front-end and back-end separation of Web systems, can solve the problems that application servers can only access the internal network, and the ability to analyze static resources does not have a web server, so as to reduce concurrency/load pressure and save development time and cost Effect

Pending Publication Date: 2019-11-08
SHANDONG INSPUR COMML SYST CO LTD
View PDF2 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Application server: generally refers to servers such as Tomcat, Jetty, and Resin that can parse dynamic resources and static resources, but the ability to parse static resources is not as good as web servers; generally only web servers can be accessed by external networks, application servers Intranet access only

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
  • Web system front-end and back-end separation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] Such as figure 1 As shown, a front-end and back-end separation method of a Web system, wherein:

[0044] The HTML page at the front end of the Web system calls the RESTFUL API interface at the back end through AJAX for data interaction;

[0045] The front end of the web system is the View layer and the Controller layer of the system architecture, which are responsible for implementing the front-end pages and front-end interaction logic, and using ajax to interact with the middle layer node.js server;

[0046] The backend of the web system is the Model layer of the system architecture, which is responsible for business processing and data processing, and provides an API interface, uses redis to manage sessions, and interacts with the database.

[0047] The implementation process of the method includes:

[0048] 1. In the project design stage, the person in charge of the front-end and back-end architecture will analyze the project as a whole to determine the API style, ...

Embodiment 2

[0053] On the basis of Embodiment 1, Java, node.js, and nginx described in this embodiment adopt the same cluster deployment mode, and the processes of Java, node.js, and nginx all run on the same machine.

Embodiment 3

[0055] On the basis of Embodiment 1, the Java, node.js, and nginx described in this embodiment are deployed in clusters, one cluster for nginx+Java, and one cluster for node.js.

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 Web system front-end and back-end separation method, which comprises the following steps that: an HTML (Hypertext Markup Language) page at the front end of a Web system callsa RESTFUL API (Application Program Interface) at the back end through AJAX (Asynchronous JavaScript And Exchange) to carry out data interaction. According to the method, the software development timecost can be saved, responsibility division of front-end and back-end workers is clear in the development process, and occurring problems are clearly positioned. Real front-end and back-end decouplingcan be realized, and the concurrency / load pressure of a rear-end server is reduced.

Description

technical field [0001] The invention relates to the technical field of computer architecture, in particular to a method for separating front and rear ends of a Web system. Background technique [0002] There are a large number of front-end and back-end coupled web systems in traditional Internet applications. With the rapid development of Internet technology, a web system with front-end and back-end separation has emerged, which has gradually been widely adopted by the industry. One of the purposes of this separation of front-end and back-end is to achieve specialized division of labor, improve project quality and development efficiency, and reduce the dependence of the front-end on the back-end. [0003] In the current stage of WEB projects, the separation of front-end and back-end (usually refers to client and server) is very common, and it is widely used in various projects such as single-page mode and cordova. The backend is only responsible for providing data and calc...

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
IPC IPC(8): G06F8/30G06F8/60
CPCG06F8/30G06F8/60
Inventor 郭传超程林杨培强
Owner SHANDONG INSPUR COMML SYST CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More