Embedded web MVC development framework based on fastcgi and html template

A development framework and embedded technology, applied in the direction of program control devices, etc., can solve the problems of many special products, low performance, not suitable for general WEB development, etc., and achieve the effect of reducing page space occupation, excellent structure, and superior performance.

Active Publication Date: 2016-03-30
XIAMEN YEALINK NETWORK TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But this method is too simple to implement. Some just implement a template similar to HTML, which maps business to business code through a label. There are many special ones, which are not suitable for general WEB development and basically only suitable for CGI. The performance is low.

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
  • Embedded web MVC development framework based on fastcgi and html template
  • Embedded web MVC development framework based on fastcgi and html template
  • Embedded web MVC development framework based on fastcgi and html template

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Such as figure 1 As shown, the framework system context definition, web server refers to the Web front-end server, this server is responsible for completing connection management, static resource file processing, etc., the web server of the present invention needs to support FastCGI, reference server such as: Lighttpd, Apache etc.; FastCGI process management The device refers to the middleware that implements the FastCGI specification and can complete the process management function of the CGI parser; FCGIServer is the framework part of the present invention, and the framework operation needs to rely downward on the FastCGI process manager and the web server, and provides services for the WebAppPlugin business module upward ; WebAppPlugin is a business logic processing module implemented by the user based on the secondary development of the framework described in the present invention. This module needs to implement the framework interface, and exists in the form of a pl...

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

Disclosed is an embedded WEB MVC development framework based on a Fast CGI and an HTML template. The operation of the framework depends on a Fast CGI process manager and a web page server downward and provides service for a Web App Plug in business logic processing module upward. The framework comprises a Fast CGI sub-process module, a request distribution control module, a listener management module, a business plug-in management module, a Session control module, an encoding and decoding module, a data receiving module, a data response output module and an HTML template module. The embedded WEB MVC development framework based on the Fast CGI and an HTML template is applicable to small embedded devices, small and exquisite, efficient and good in structure, and the framework is small and exquisite in volume and accounts for about 100K of flash space.

Description

technical field [0001] The invention relates to an embedded WEBMVC development framework based on FastCGI and HTML template. Background technique [0002] At present, there are many WEB development frameworks for embedded devices on the market, such as using PHP, EJscript, and the new server-side JavaScript, etc., but most of them are too large and often several megabytes. On some small embedded devices, due to cost reasons, the Flash space is very small, many of which are only 6-8M. At this point, most of the flash space is used to store business program codes, and it is impossible to use too large a development framework for WEB applications. [0003] There are also some WEB development frameworks for small embedded devices on the market. The implementation method is as follows: WebServer receives the Http request, parses the data submitted by the user and puts it in the environment variable, and the CGI program reads the user data from the environment variable and perform...

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 XIAMEN YEALINK NETWORK TECH
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
Try Eureka
PatSnap group products