Method, system and asynchronous SOCKET for processing asynchronous message alignment

An asynchronous message and message technology, applied in the field of communication, can solve the problems of loss of routing information, empty reading of upper-layer routing protocols, loss of packets, etc., and achieve the effect of improving processing efficiency, enhancing robustness, and improving speed.

Inactive Publication Date: 2008-08-20
HUAWEI TECH CO LTD
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] Embodiments of the present invention provide a method for processing asynchronous message queues to solve the problem that in the prior art, due to repeated writing of asynchronous read messages into the asynchronous message queue, it is easy to cause the resources in the asynchronous message queue to be full, and asynchronous read messages trigger a large number of upper-level The routing protocol reads empty, and SOCKET loses message data, which leads to the loss of routing information in the network.
[0016] Another embo

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, system and asynchronous SOCKET for processing asynchronous message alignment
  • Method, system and asynchronous SOCKET for processing asynchronous message alignment
  • Method, system and asynchronous SOCKET for processing asynchronous message alignment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0046]In the implementation process of asynchronous SOCKET, the asynchronous message queue used by asynchronous SOCKET is created and maintained by the routing manager. The entry of this asynchronous message queue is the asynchronous read message of asynchronous SOCKET, and the exit is the reading of the upper layer protocol. When the asynchronous SOCKET receives data from the bottom layer, it mounts the data in the receiving buffer. In the process of calling the asynchronous message queue by the asynchronous SOCKET, the asynchronous read event and the asynchronous read message are respectively processed. Among them, the asynchronous read event is to set the read event bit of the corresponding task when calling the asynchronous message queue ...

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 method for processing an asynchronous message queue, which includes the steps that: A. asynchronous data puts received underlying data into a receiving cash, an asynchronous read message in the asynchronous message queue is judged whether to read or not, if none of the asynchronous read message is in the asynchronous message queue, an item of the asynchronous read message is written to the asynchronous message queue, then step B is executed, else, the step B is directly executed; B. an upper protocol reads the asynchronous message queue, then the underlying data is red from a asynchronous SOCKET receiving cash. The invention also discloses a system for processing the asynchronous message queue and an asynchronous SOCKET. The application of the invention is that space for the asynchronous message queue occupied by the asynchronous read message is reduced; the speed for according packet data processed by the upper protocol is increased, the station of missing data caused by full load of the asynchronous message queue is avoided when large number of routing is initially booted and routing is shaken.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method and system for processing an asynchronous message queue and an asynchronous SOCKET. Background technique [0002] SOCKET (socket) is a handle of a communication chain, which is used to describe the IP address and port. The application usually sends a request to the network or responds to a network request through SOCKET. SOCKET is becoming more and more important in network communication. Existing routing protocols such as BGP (Border Gateway Protocol), LDP (Label Distribution Protocol), OSPF (Interior Gateway Protocol), ISIS (Link State Protocol), and TELNET (TCP / IP Terminal Emulation Protocol), FTP (File Transfer Protocol), HTTP (Hypertext Transfer Protocol) and other network transmission protocols rely on the interface provided by SOCKET to complete the data interaction with the bottom layer. [0003] Existing routing protocols usually use asynchronous SOCKET 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
IPC IPC(8): H04L12/56H04L29/06H04L12/861
Inventor 陈霞倪辉肖飒庄顺万
Owner HUAWEI 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