Message processing method and device
A message processing and message technology, which is applied in the communication field, can solve the problems of message loss and low utilization rate of message processing time, and achieve the effects of avoiding waste, improving utilization rate, and avoiding loss
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] The embodiment of the present invention provides a message processing method, such as figure 1 As shown, the method includes:
[0026] 101. The communications device establishes a packet delivery queue for a sending transaction, where the sending transaction is in one-to-one correspondence with the packet delivery queue.
[0027] In this embodiment, the communication device mainly includes a data communication device, such as a router, a switch, etc., but is not limited thereto.
[0028] Specifically, the communication device is configured with multiple interfaces, each interface corresponds to a sending transaction of the interface, and there are one or more receiving transactions in the entire communication device. In this embodiment, the communication device establishes a corresponding message delivery queue for each sending transaction. Since the sending transaction is in one-to-one correspondence with the interface of the communication device, the message delivery...
Embodiment 2
[0038] exist figure 1 On the basis of the illustrated embodiment, further, this embodiment provides a message processing method. Such as figure 2 As shown, the method includes:
[0039] 201. The communications device establishes a packet delivery queue for a sending transaction, where the sending transaction is in one-to-one correspondence with the packet delivery queue.
[0040] In this embodiment, for the corresponding relationship between the sending transaction, the message delivery queue, and the interface of the communication device, refer to the relevant description in Embodiment 1, and details are not repeated here.
[0041] 202. The communication device determines the output interface of the message to be sent, determines the sending transaction corresponding to the output interface, stores the message to be sent in the message delivery queue corresponding to the sending transaction, and the output interface of the communication device There is a one-to-one corres...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 