The invention provides an SaaS tenant customized service method, and relates to the technical field of
software as a
service system architecture.The method comprises the steps that an independent
database or table space is generated through a tenant identifier, configuration parameters are converted into
JSON metadata in combination with a graphical tool and stored, and lightweight customization is achieved; according to the deep customization request, an independent
server or container instance is distributed for a tenant, personalized codes are deployed, and the personalized codes and standard codes are separated for running through a
dynamic loading mechanism; generating a unique second-level
domain name based on the tenant identifier, and routing the request to a corresponding service node through DNS analysis and
reverse proxy; and the standard tenants are supported to migrate to the customized tenants, configuration and service data are synchronized to a target instance,
domain name resolution and proxy configuration are updated, and seamless switching of service paths is realized.