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

An implementation method of an agile and efficient layered server-side interface architecture

A server-side, implementation method technology, applied in the direction of program control devices, etc., can solve the problems of complex and bloated organizational structure, too many underlying protocol packages, inconvenient organization, etc., to avoid memory consumption problems, good response efficiency, and avoid low efficiency Effect

Active Publication Date: 2016-03-02
上海雷腾软件股份有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] 1. The overall processing performance is not ideal
Struts2 encapsulates each request protocol into an independent object; each request needs to create a new action to do logic processing to achieve thread safety; integrate various types of return results; extensive use of proxies, regular expressions, reflections, etc. technology, although very powerful and easy to develop, but at the expense of operational efficiency
[0017] 2. The overall organizational structure is relatively complex and bloated, with many and complicated configuration files, which is inconvenient to organize and cumbersome to maintain
[0018] 3. Too much encapsulation of the underlying protocol is not convenient for efficient and flexible protocol extension

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
  • An implementation method of an agile and efficient layered server-side interface architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail:

[0034] figure 1 It is a schematic diagram of an implementation method of an agile and efficient layered server-side interface architecture according to an embodiment of the present invention, the interface architecture includes: a request distribution layer 100, receiving a request from a client; a business processing layer 200, including a plurality of actions ( Action), the business processing layer 200 performs specific business processing through at least one of the actions according to the client's request, and generates the final unified simplified protocol result (result) to return to the client; wherein the request distribution layer includes: servlet dispatcher ( ServletDispatcher) 101, receives the client request, and according to the request pro...

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 an interface architecture of an agile efficient layering server side. The interface architecture comprises a request distribution layer and a service processing layer. The request distribution layer receives the request of the client side; the service processing layer comprises multiple actions, and the service processing layer specifically processes the services through at least one of the actions according to the request of the client side, generates the result of the final uniform simple protocol and returns back the result to the client side. The request distribution layer comprises a servlet scheduler and an action caller, wherein the servlet scheduler receives the client side request, and calls a Get processing function / Post processing function to process the request according to the request protocol type; and the action caller is injected into the servlet scheduler, and is in charge of requesting for matching with each action in the service processing layer, and distributing and calling the actions. With the adoption of the interface architecture of the server side, the problems of low efficiency and internal memory consumption caused by repeatedly creating objects by different requests are solved, and the interface architecture provided by the invention is convenient in logical processing and excellent in response efficiency.

Description

technical field [0001] The invention relates to a software architecture, in particular to an implementation method of an agile and efficient layered server-side interface architecture. Background technique [0002] With the development of the mobile Internet, mobile terminal application software emerges in an endless stream, and more and more begin to rely on the server side for personalized information storage, acquisition and interaction, so as to realize the information security, continuity and shareability of the overall service , easy integration and high availability. [0003] Based on the above background, the server-side software, which is the information support of the terminal software, began to interact with the terminal software through the development and opening of external interfaces to build an information response platform. The traditional server-side interface development has the following problems: [0004] 1. Solutions that focus on the protocol layer h...

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 Patents(China)
IPC IPC(8): G06F9/44
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