CPC H04L 67/62 (2022.05) [H04L 67/1004 (2013.01)] | 20 Claims |
1. A middleware system configured to communicate with a service request end and a plurality of servers, wherein the middleware system comprises:
a storage apparatus configured to store a service agent unit, a time agent unit, and a message distributor; and
a processor electrically connected to the storage apparatus and configured to execute the service agent unit, the time agent unit, and the message distributor,
wherein the processor receives a plurality of service requests sent by the service request end, and the processor writes the plurality of service requests into a service request queue in sequence,
wherein the service agent unit outputs the plurality of service requests to the plurality of servers according to the service request queue in sequence, and the plurality of servers respond with a plurality of service request results to the service agent unit according to the plurality of service requests,
wherein the time agent unit detects the time when the processor receives the plurality of service requests, so as to write a plurality of service request end messages and a plurality of service request times of the plurality of service requests into a service request time queue in sequence,
wherein the message distributor builds a message distribution table according to the service request time queue, and the message distributor outputs the plurality of service request results to the service request end in sequence according to the message distribution table.
|