Method for realizing webpage service channel by adopting Netty framework

A web service and channel technology, applied in the field of communication, can solve the problems of low traffic, inability to develop quickly, low service, and low development efficiency.

Inactive Publication Date: 2016-12-14
SHENZHEN BINCENT TECH
View PDF1 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The current web service channels are often lengthy and other reasons, unable to quickly develop and serve, 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
  • Method for realizing webpage service channel by adopting Netty framework
  • Method for realizing webpage service channel by adopting Netty framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] see Figure 1 to Figure 2 , figure 1 It is an implementation flowchart of a method for implementing a web page service channel by using the Netty framework of the present invention; figure 2 With figure 1 The schematic diagram of the overall model corresponding to the flow chart of the steps.

[0050] The invention discloses a method for implementing a web page service channel by using a Netty framework, comprising the following steps: creating a Netty server and a client, the client sends an HTTP request to the Netty server, and the server parses the HTTP request, The server sends an HTTP response to the client, and the client parses the HTTP response;

[0051]Wherein, Netty provides HttpRequestDecorder, HttpRequestEncoder, HttpResponseDecorder, HttpResponseEncoder, said step "client resolves HTTP response" implementation steps include: HttpRequest is encoded, stream data is parsed as HttpRequest, HttpResponset is coded, and stream data is parsed as HttpResponse ...

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 provides a method for realizing a webpage service channel by adopting a Netty framework. The method comprises the following steps: a Netty service end is created, the client sends an HTTP request to the Netty service end, the service end analyzes the HTTP request, the service end sends HTTP response to the client, and the client analyzes the HTTP response. The method for realizing the webpage service channel by adopting the Netty framework is high in development efficiency, low in development threshold and high in performance, technical difficulties on an asynchronous non-blocking framework does not need to be considered during the development, high concurrent access can be withstood, and the framework is mature and stable.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method for realizing a webpage service channel by using a Netty framework. Background technique [0002] As the scale of the website continues to expand, the number of concurrent visits to the system is also increasing. The traditional vertical architecture based on web containers such as Tomcat can no longer meet the demand. It is necessary to split the application for service to improve the efficiency of development and maintenance. From the perspective of networking, after the vertical architecture is split, the system adopts distributed deployment, and remote service calls are required between nodes. A high-performance RPC framework is essential. Netty, as an asynchronous high-performance communication framework, is often used as the basic communication Components are used by these RPC frameworks; [0003] The current web service channels are often lengthy and other ...

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): H04L29/08H04L29/06
CPCH04L67/02H04L67/30H04L67/01
Inventor 刘康王国彬
Owner SHENZHEN BINCENT 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