Nginx web backend data processing method and system based on c language

A processing method and back-end data technology, applied in the field of data processing, can solve problems such as increased system overhead, large distribution packages, and programming difficulties, and achieve the effects of saving hardware costs, improving operating efficiency, and improving functions

CN106777346BActive Publication Date: 2018-07-06杨飞
3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2018-07-06

Smart Images

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

Abstract

The invention discloses an Nginx web back-end data processing method and system based on C language. The method is applied to an Nginx server and includes the following steps: acquiring a http data request sent by a user; caching the HTTP data request; filtering the HTTP data request according to the user's definition; packaging the HTTP data request which have been filtered; distributing the HTTP data which have been packaged; analyzing the HTTP data which have been packaged; sending the analyzed HTTP data request to the data processing terminal for data processing to obtain the results; sending the data processing results to the client. The Nginx server can directly achieve the dynamic service page agent function without relying on other program processors for back-end data processing, complexity of a system is reduced, and expenses are saved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of data processing, in particular to a C language-based Nginx web backend data processing method and system. Background technique

[0002] Nginx is a high-performance HTTP and reverse proxy server, and it is also an IMAP / POP3 / SMTP server. Due to its excellent performance, it has attracted more and more people's attention around the world. Currently, Nginx is generally used for static Web servers or reverse proxy servers. For proxy servers and other applications, most of the Web back-end processing uses the Nginx reverse proxy function, with ApacheHTTP Server or Internet Information Services (Internet Information Services, IIS) framework as the Web program processor, and the programming language basically uses Java, JSP, hypertext Preprocessor (PHP: Hypertext Preprocessor, PHP), ASP.NET. These programming languages ​​are generally pre-compiled or non-compiled pure interpretive languages, and require a corresponding op...

Examples

Embodiment Construction

[0041] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0042] The purpose of the present invention is to provide a kind of Nginx web back-end data processing method and system based on C language, make Nginx server can directly realize dynamic service page agent function, and do not rely on other program processors to carry out back-end data processing, reduce system complexity and save overhead.

[0043] In order to make the above objects, features and advantages of the present invention more comprehensible, the ...