一种基于容器的Web服务配置方法、装置及介质

By reading container environment variable information after the web system starts, generating valid agent information, and hot-loading differential configurations, the risk of configuration errors and untimely updates caused by manually compiling agent configuration files are solved, and the automatic and timely updates of agent services are realized.

CN117834417BActive Publication Date: 2026-07-17HANGZHOU HOLLYSYS AUTOMATION

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HANGZHOU HOLLYSYS AUTOMATION
Filing Date
2023-12-29
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Manually compiling the proxy configuration file may lead to the risk of human configuration errors and the inability to update the proxy service in a timely manner.

Method used

After the web system starts, it reads the container environment variable information, generates valid proxy information, and determines whether the current configuration file is consistent with the configuration file of the previous cycle. If they are different, it hot-loads the difference configuration information into the web application.

Benefits of technology

It avoids the risk of configuration errors that may occur when manually compiling proxy configuration files, enables timely updates of proxy services, and takes effect without restarting the web container, thus ensuring the timeliness of container applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117834417B_ABST
    Figure CN117834417B_ABST
Patent Text Reader

Abstract

本申请公开了一种基于容器的Web服务配置方法、装置及介质;涉及计算机技术领域,解决静态加载代理配置文件不能及时更新代理服务的问题。根据容器环境变量信息得到可运行的有效代理信息;根据有效代理信息生成代理配置文件;将当前的代理配置文件与上一周期的代理配置文件不一致的差异配置信息热加载到Web应用;技术人员可通过设置容器环境变量信息实现代理信息的更新,根据容器环境变量信息得到可运行的有效代理信息,对应输出的代理配置文件中的代理服务都是可有效运行的,当代理配置文件更新时,热加载差异配置信息,避免了手动编译代理配置文件可能产生人为配置失误风险,不需要重启才能使代理服务更改生效,保证容器应用的时效性。
Need to check novelty before this filing date? Find Prior Art