Server and service processing method thereof

A business processing and server technology, applied in the field of communication, can solve problems such as low system operation efficiency, achieve the effects of improving efficiency, increasing throughput, and reducing coupling

Inactive Publication Date: 2016-08-03
SHENZHEN GAMESCI INTERACTION SCI & TECH CO LTD
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to solve the problem of low system operation efficiency caused by processing each client through a thread

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0042] The main solutions of the embodiments of the present invention are: receiving a service request from a client through a network process; when the network process receives the service request, sending the service request to a corresponding logic processing process through a message queue; When the logic processing process receives the service request, it performs corresponding service processing according to the service request.

[0043] In the existing server business processing process, based on the multi-threaded architecture, each client corresponds to one thread, so that in the logical processing process, it is often impossible to process the connection and data sending and receiving services from the client. The logical processing blocks the connection of the client and the data sending and receiving...

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 a service processing method of a server. The method comprises the following steps that a service request from a client is received by a network process; when the network process receives the service request, the service request is sent to a corresponding logic processing process via a message queue; and when the logic processing process receives the service request, corresponding service processing is carried out according to the service request. The invention also discloses the server. According to the invention, the connection efficiency as well as the data transmitting-receiving efficiency of the client are improved, and the system throughput is improved; asynchronous message processing is realized; the coupling degree among processes is reduced; and the message queue can store a message that cannot be processed by the logic processing process, and a service corresponding to the logic processing progress is thus prevented from being unavailable.

Description

technical field [0001] The present invention relates to the field of communication technologies, and in particular, to a server service processing method and a server. Background technique [0002] In the existing server business processing process, most of them are based on a multi-threaded architecture, especially in game servers, a new thread is created for each client's request to process, and as many threads as there are clients. Each client corresponds to a thread, which results in that in the process of logic processing, the connection and data sending and receiving services from the client are often no longer processed, so that the logic processing blocks the connection of the client and the data sending and receiving processing, which reduces the system performance. operation efficiency. Therefore, the problem of low system operation efficiency caused by processing each client through one thread needs to be solved by the inventor urgently. [0003] The above conte...

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/06H04L29/08
CPCH04L67/51H04L67/01
Inventor 余冉星
Owner SHENZHEN GAMESCI INTERACTION SCI & TECH CO LTD
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