Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for realizing flow control, message main node, and token server

A technology of message system and flow control, applied in the field of data communication, can solve the problems of reduction, waste of tokens, slow forwarding speed, etc.

Active Publication Date: 2016-10-05
ADVANCED NEW TECH CO LTD
View PDF11 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] In the process of implementing this application, the inventor found that there are at least the following problems in the prior art: each message sub-center generally has a different frequency of forwarding messages, and there will be two situations. One situation is that some message sub-centers The speed is fast but the number of tokens is not enough, which will cause the message published by the message producer to be stuck on the message sub-center or the transmission speed will be slowed down; another situation is that some message sub-centers have remaining tokens due to the slow forwarding speed , which will result in a waste of some tokens
From the above two situations, it can be seen that although the amount allocated to each message sub-center is equal, the frequency of forwarding messages of each message sub-center is different, resulting in an "unbalanced" allocation of tokens and token distribution Decrease in usage

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 system for realizing flow control, message main node, and token server
  • Method and system for realizing flow control, message main node, and token server
  • Method and system for realizing flow control, message main node, and token server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0158] Embodiments of the present application provide a method for implementing flow control, a message master node, a token server, and a system.

[0159] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0160] Firstly, the first embodiment of the method for implementing traffic control in this application is introduced.

[0161] At least one message sub-center of the distributed message sys...

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 embodiment of the application discloses a method and system for realizing flow control, a message main node, and a token server. At least one message sub center of a distributed message system is a first message center main node; and a preset token number is set at the first message center main node. After the first message sub center receives a message issued by a message producer, the method comprises: the first message sub center sends an application message for token application to the first message center main node; the first message center main node returns a reply message confirming token application to the first message sub center and a current available token number is updated; and the first message sub center sends the message to a message consumer. According to the method provided by the embodiment of the application, a token usage rate of a distributed message system can be improved.

Description

technical field [0001] The present application relates to the technical field of data communication, in particular to a method for realizing flow control, a message master node, a token server and a system. Background technique [0002] A message system is usually used in a software system to transmit information. The message system can transfer information from one component in the software system to another in the form of messages. [0003] The architecture of a message system generally includes: a message producer, a message center, and a message consumer. Among them, message producers are used to send messages, and message consumers are used to receive messages. The message center is located between the message producer and the message consumer, and is used to coordinate the transmission of messages between the message producer and the message consumer. Specifically, the role of the message center includes receiving messages generated by message producers, and deliveri...

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): H04L12/811
Inventor 王磊
Owner ADVANCED NEW TECH CO LTD