摘要 |
The present invention discloses a client end interface machine, a server end interface machine, and method and system for processing a message thereof. The method comprises: setting a current remaining processing capacity value of a server end interface machine, each time when a synchronization response message returned by the server end interface machine is received, writing a remaining processing capacity of the server end interface machine carried in the synchronization response message into the current remaining processing capacity value of the server end interface machine; when receiving a rejection message from the server end interface machine, setting the current remaining processing capacity value of the server end interface machine to be zero; when the current remaining processing capacity value of the server end interface machine is greater than zero, the client end interface machine sending a synchronization message to the server end interface machine, and subtracting one from the current remaining processing capacity value of the server end interface machine. The method can perform message synchronization processing based on the current remaining processing capacity, therefore the message synchronization and the message processing speed can be matched effectively, and congestion or overflow of the interface can be prevented. |