The invention discloses a dynamic routing arrangement method and
system based on Spring Cloud Gateway, and belongs to the technical field of service gateways. The method comprises the following steps: S1, registering dynamic routing rule information; S2, starting, loading and monitoring dynamic routing configuration; S3, requesting to call the gateway; S4, matching a
route filtering control strategy; S5, executing a dynamic routing arrangement process; and S6, returning the request. According to the invention, the arrangement of Spring Cloud Gateway dynamic routing is realized, the
service gateway is changed from nothing to the existence, a
service provider does not need to concern the details of dynamic routing arrangement, the
service gateway can be generated only by configuring corresponding strategy information according to requirements, the
service gateway uniformly calls an address prefix, all gateways are managed and controlled in a centralized manner by means of a global filter, individual gateways are managed and controlled in an isolated mode according to private filters, logs are asynchronously stored in stages in the calling process, request return results are accurate and reliable, and the gateways are high in performance and available.