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

Service message distribution method and service message distribution device

A technology of service messages and message characteristics, applied in the field of network communication, can solve the problems of increasing the amount of communication data between the main process and the sub-process, affecting the work efficiency of network equipment, etc., and achieve the effect of improving service processing efficiency.

Active Publication Date: 2016-10-05
HANGZHOU DPTECH TECH
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This processing method increases the amount of communication data between the main process and the sub-process, and all messages are sent and received through the main process, which has a bottleneck, which affects the working efficiency of network devices

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
  • Service message distribution method and service message distribution device
  • Service message distribution method and service message distribution device
  • Service message distribution method and service message distribution device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In order to make the purpose, technical solutions and advantages of the present application clearer, the solutions described in the present application will be further described in detail below with reference to the accompanying drawings.

[0019] At present, more and more network devices adopt a multi-CPU multi-process manner to improve the service processing capability of the network device. The network device receives service packets sent by other network devices through the Socket in the user state of the operating system. Taking the service packets transmitted by the UDP (User Datagram Protocol) protocol as an example, the network device in the user state of the operating system passes UDP Socket receives business packets. When UDP Sockets of multiple user-mode processes listen to the same destination port at the same time, the operating system cannot know which UDP Socket of the user-mode process has obtained the business packets due to destination port conflicts. ...

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 present invention provides a service message distribution method and a service message distribution device. The method includes the following steps that: a service message is received through a kernel state; a socket for sending the service message is determined according to the message characteristics of the service message; and the service message is sent to a corresponding user state process through the socket. According to the service message distribution method and the service message distribution device of the invention, in the kernel state, the service message is directly distributed to the corresponding user state process for processing the service message, and therefore, the service processing efficiency of network equipment can be improved.

Description

technical field [0001] The present application relates to the technical field of network communication, in particular to a service message distribution method and device. Background technique [0002] At present, more and more network devices use a multi-CPU (Central Processing Unit, central processing unit) multi-process manner to improve the service processing capability of the network device. The network device receives service packets sent by other network devices through the Socket (socket) in the user mode of the operating system. When multiple processes listen to the same port at the same time, the operating system cannot know which process's Socket has been acquired due to port conflicts. The service message cannot be determined in which process the service message is processed. [0003] In the existing technical solution, a main process is used to correspond to multiple sub-processes. The main process is responsible for receiving service messages, and then distribu...

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/08
CPCH04L67/51
Inventor 孔伟政刘宇驰
Owner HANGZHOU DPTECH 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