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

Server and data processing method thereof

A data processing and server technology, applied in data exchange networks, digital transmission systems, electrical components, etc., can solve the problems of high thread and code dependencies, difficult expansion, slow processing speed, etc., to achieve low dependencies and fast processing speed. , Easy to upgrade and maintain

Inactive Publication Date: 2012-02-01
SHENZHEN WUJU SCI TECH
View PDF5 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a server and a data processing method thereof, aiming to solve the problems of slow processing speed of the existing server data processing system, high dependency between threads and codes, and difficult expansion

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
  • Server and data processing method thereof
  • Server and data processing method thereof
  • Server and data processing method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0026] see figure 1 , is a flow chart of the server data processing method according to the first embodiment of the present invention. The server data processing method of the first embodiment of the present invention includes the following steps:

[0027] Step 101: Receive the connection request sent by the client;

[0028] In step 101, the client sends a connection request to the listening port of the server, and the server listens to a thread to receive the connection request. A connection identifier is assigned to the connection request, and the above connection identifier is the unique syst...

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 server and a data processing method thereof. The method comprises the following steps of: receiving a connection request from a client; forming a two-tuple request data packet by using a connection identifier of the connection request and transmitted byte data, and storing the two-tuple request data packet to a two-tuple request data packet queue; resolving the two-tuple request data packet into a java data object, and storing the java data object to a legal request java object queue; searching for an idle thread of a corresponding type according to the request type of the java data object for processing, forming a processing result java object by using a processing result and the connection identifier, and storing the processing result java object to a processing result java object queue; and finding the connection request from a requested connection queue according to the connection identifier, and transmitting the processing result to the client. By the technical scheme provided by the invention, the processing speed of a system is high, a thread and a code are less dependent, upgrading and maintaining are convenient, and the logical process of the system can be extended to different service rules and service logics without modification.

Description

technical field [0001] The invention belongs to the field of network communication data processing, and in particular relates to a server and a data processing method thereof. Background technique [0002] In the prior art, the HTTP (Hyper Text Transfer Protocol, Hypertext Transfer Protocol) connection between the client browser and the server is stateless. That is to say, every time the browser and the server perform an HTTP operation, a connection is established, but the connection is terminated when the operation is completed. If an HTML (Hyper Text Markup Language, a markup language designed for web page creation) web page or other types of web pages accessed by the client browser contains other network resources, such as JavaScript (a web page developed by the client scripting language) files, image files, CSS (a computer language used for structured documents) files, etc., when the browser encounters such a network resource, it will establish an HTTP connection with t...

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 Applications(China)
IPC IPC(8): H04L29/08H04L12/56
Inventor 伍杰
Owner SHENZHEN WUJU SCI TECH
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