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

Method and device for controlling message processing threads

A technology of message processing and control methods, applied in multi-programming devices, data processing applications, calculations, etc., can solve problems such as reduction of business processing memory resources, business processing speed reduction, and system memory occupation, so as to improve business processing efficiency, The effect of reducing waiting time and reducing response time

Inactive Publication Date: 2015-04-29
ZTE CORP
View PDF5 Cites 34 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] 1. As the number of threads increases, the business system will allocate a thread stack for each thread, and the increase in the number of threads will occupy a large part of the system memory, resulting in the reduction of memory resources available for real business processing;
[0014] 2. After the number of threads increases, the CPU overhead consumed by thread scheduling increases significantly, and it will compete with business processing for CPU resources, resulting in a decrease in business processing speed.

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 and device for controlling message processing threads
  • Method and device for controlling message processing threads
  • Method and device for controlling message processing threads

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0046] Such as figure 2 As shown, it is a schematic flow chart of the first embodiment of the method for controlling a message processing thread in the present invention.

[0047] It should be emphasized that: figure 2 The flow chart shown is only a preferred embodiment, and those skilled in the art should know that any embodiment constructed around the idea of ​​the present invention should not deviate from the scope covered by the following technical solutions:

[0048] When receiving the business request message sent by the client, determine the business content in the received business request message; divide the determined business content into different types of business according to the type, and send each different type of business to the corresponding thread to process.

[0049] The following are specifi...

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 are a method and apparatus for controlling a message processing thread. The present invention categorizes service content in a received service request message by type into a service of a different type, and sends service content of a different type to a corresponding different thread for processing. Therefore, in a case of concurrent service request messages from a large number of users, the time that a service request message waits in a message queue is shortened, so that a response time for a service request is shortened, and service processing efficiency of a service system is enhanced.

Description

technical field [0001] The invention relates to the field of business system message processing, in particular to a method and device for controlling a message processing thread. Background technique [0002] Now the business system is getting bigger and bigger, and tens of thousands of users are online at the same time, and the request response speed is getting higher and higher, which puts forward higher requirements for the application server that supports the operation of the business system. It is necessary to be able to make full use of the physical performance of the server to handle a large number of concurrent business request messages from clients. [0003] refer to figure 1 , the process of a common application server processing concurrent business request messages from clients is as follows: [0004] 1. The application server 100 receives the service request message sent from the client 101 , 102 , 103 and delivers it to the message distributor 104 . [0005] ...

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): G06F9/50
CPCH04L47/24G06Q10/10H04L47/56
Inventor 张舰郑平罗秋野
Owner ZTE CORP
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