A message forwarding method and device
A message forwarding and message technology, applied in the field of communication, can solve the problem that the message forwarding method cannot meet the special message forwarding requirements, and achieve the effect of improving work ability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] Such as figure 2 As shown, the embodiment of the present invention provides a message forwarding method, the method specifically includes:
[0039] Step S201, creating an ordinary queue for caching ordinary messages and a special queue for caching special messages;
[0040] Preferably, in this step, when creating a special queue for buffering special messages, request the resource scheduling module of the system to reserve resources for the special queue to ensure the forwarding of special messages.
[0041] In this step, the common message queue includes multiple priority queues with priorities ranging from low to high.
[0042] Step S202, creating a common message forwarding channel for the common queue, and creating a special message forwarding channel for the special queue;
[0043] Step S203, when receiving the message, cache each message in the corresponding queue according to the message type;
[0044] Step S204, sending a message forwarding request to the re...
Embodiment 2
[0052] Such as image 3 As shown, the embodiment of the present invention provides a message forwarding device, which specifically includes:
[0053] A queue creation module, configured to create a common queue for caching common messages and a special queue for caching special messages; wherein, the normal message queue includes multiple priority queues with priorities ranging from low to high.
[0054] A channel creation module, configured to create a common message forwarding channel for the common queue, and create a special message forwarding channel for the special queue;
[0055] The queue management module is configured to cache each message in a corresponding queue according to the message type when receiving the message, and send a message forwarding request to the resource scheduling module, and respond to the request according to the feedback of the resource scheduling module Messages, forwarding control of cached ordinary messages and special messages;
[0056] ...
Embodiment 3
[0066] The embodiment of the present invention is a further elaboration of the method described in Embodiment 1 and the device described in Embodiment 2, and specifically involves the following:
[0067] The message forwarding device provided by the embodiment of the present invention includes: a queue module (including a queue creation module and a queue management module), a channel creation module and a resource scheduling module;
[0068] Among them, the queue module is mainly used to create various priority queues and special queues to realize the storage and forwarding of ordinary messages and special messages.
[0069] The channel creation module is mainly used to create a shared priority channel and a shared special channel, which are respectively used to realize the forwarding of ordinary messages and special messages.
[0070] The resource scheduling module is mainly used to respond and reply to the request according to the resource occupation when receiving the forw...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 