整体架构分层:外网访问层 → Web接入网关层(TongHttpServer THS) → 业务应用层 → 数据层 → 信创基础底座,支持多子站点统一站群管理。
#mermaid-svg-kxqRXkJF5MBlRn1X{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-kxqRXkJF5MBlRn1X .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-kxqRXkJF5MBlRn1X .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-kxqRXkJF5MBlRn1X .error-icon{fill:#552222;}#mermaid-svg-kxqRXkJF5MBlRn1X .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-kxqRXkJF5MBlRn1X .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-kxqRXkJF5MBlRn1X .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-kxqRXkJF5MBlRn1X .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-kxqRXkJF5MBlRn1X .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-kxqRXkJF5MBlRn1X .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-kxqRXkJF5MBlRn1X .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-kxqRXkJF5MBlRn1X .marker{fill:#333333;stroke:#333333;}#mermaid-svg-kxqRXkJF5MBlRn1X .marker.cross{stroke:#333333;}#mermaid-svg-kxqRXkJF5MBlRn1X svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-kxqRXkJF5MBlRn1X p{margin:0;}#mermaid-svg-kxqRXkJF5MBlRn1X .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#mermaid-svg-kxqRXkJF5MBlRn1X .cluster-label text{fill:#333;}#mermaid-svg-kxqRXkJF5MBlRn1X .cluster-label span{color:#333;}#mermaid-svg-kxqRXkJF5MBlRn1X .cluster-label span p{background-color:transparent;}#mermaid-svg-kxqRXkJF5MBlRn1X .label text,#mermaid-svg-kxqRXkJF5MBlRn1X span{fill:#333;color:#333;}#mermaid-svg-kxqRXkJF5MBlRn1X .node rect,#mermaid-svg-kxqRXkJF5MBlRn1X .node circle,#mermaid-svg-kxqRXkJF5MBlRn1X .node ellipse,#mermaid-svg-kxqRXkJF5MBlRn1X .node polygon,#mermaid-svg-kxqRXkJF5MBlRn1X .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-kxqRXkJF5MBlRn1X .rough-node .label text,#mermaid-svg-kxqRXkJF5MBlRn1X .node .label text,#mermaid-svg-kxqRXkJF5MBlRn1X .image-shape .label,#mermaid-svg-kxqRXkJF5MBlRn1X .icon-shape .label{text-anchor:middle;}#mermaid-svg-kxqRXkJF5MBlRn1X .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-kxqRXkJF5MBlRn1X .rough-node .label,#mermaid-svg-kxqRXkJF5MBlRn1X .node .label,#mermaid-svg-kxqRXkJF5MBlRn1X .image-shape .label,#mermaid-svg-kxqRXkJF5MBlRn1X .icon-shape .label{text-align:center;}#mermaid-svg-kxqRXkJF5MBlRn1X .node.clickable{cursor:pointer;}#mermaid-svg-kxqRXkJF5MBlRn1X .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-kxqRXkJF5MBlRn1X .arrowheadPath{fill:#333333;}#mermaid-svg-kxqRXkJF5MBlRn1X .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-kxqRXkJF5MBlRn1X .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-kxqRXkJF5MBlRn1X .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-kxqRXkJF5MBlRn1X .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-kxqRXkJF5MBlRn1X .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-kxqRXkJF5MBlRn1X .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-kxqRXkJF5MBlRn1X .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-kxqRXkJF5MBlRn1X .cluster text{fill:#333;}#mermaid-svg-kxqRXkJF5MBlRn1X .cluster span{color:#333;}#mermaid-svg-kxqRXkJF5MBlRn1X div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-kxqRXkJF5MBlRn1X .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-kxqRXkJF5MBlRn1X rect.text{fill:none;stroke-width:0;}#mermaid-svg-kxqRXkJF5MBlRn1X .icon-shape,#mermaid-svg-kxqRXkJF5MBlRn1X .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-kxqRXkJF5MBlRn1X .icon-shape p,#mermaid-svg-kxqRXkJF5MBlRn1X .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-kxqRXkJF5MBlRn1X .icon-shape .label rect,#mermaid-svg-kxqRXkJF5MBlRn1X .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-kxqRXkJF5MBlRn1X .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-kxqRXkJF5MBlRn1X .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-kxqRXkJF5MBlRn1X :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;} 信创服务器硬件&操作系统底座
站点1 www.a.gov.cn
站点2 www.b.gov.cn
站点3 www.c.gov.cn
站群后台 admin.xxx.gov.cn
监控采集
监控采集
监控采集
互联网/公众用户
浏览器访问各子站域名
负载均衡 / 防火墙
WAF安全防护
TongHttpServer(THS) 东方通Web接入网关
✅信创名录产品
功能:虚拟主机、域名路由、静态资源、FastCGI转发、国密HTTPS、防攻击
PHP‑FPM独立进程
子站A网站业务
PHP‑FPM独立进程
子站B网站业务
PHP‑FPM独立进程
子站C网站业务
站群管理后台
统一栏目管理、内容发布、权限、内容审核、静态化生成
数据库层
达梦/人大金仓(信创数据库)
站群库+各子站点业务库
文件存储
站点附件、图片、静态页面资源
鲲鹏/飞腾/海光CPU服务器
银河麒麟V10 /统信服务器操作系统
运维监控平台
日志采集、告警、安全监测
架构文字说明
- 接入层:用户访问经过防火墙、WAF安全设备,流量送入东方通TongHttpServer(THS)Web接入网关;THS承担域名分发、虚拟主机、国密HTTPS、静态资源返回,PHP动态请求通过FastCGI协议转发给后端PHP‑FPM。
- 业务层 :各个子站点、站群管理后台均运行于独立PHP‑FPM进程;TongHttpServer只做接入转发,不解析PHP代码。站群后台实现多站点统一管理、内容审核、权限管控、页面静态化。
- 数据存储层:采用信创数据库达梦/人大金仓存储站群配置、栏目、文章业务数据;图片附件等资源使用本地存储或分布式文件存储。
- 基础底座:全部部署在国产CPU(飞腾/鲲鹏/海光)+银河麒麟/统信服务器操作系统,完整满足信创改造要求。
- 运维侧:对接运维监控系统,实现日志收集、故障告警、安全监测。
关键避坑标注(图上备注要点)
❌禁止将PHP站点部署到TongWeb Java应用中间件;
✅PHP业务完全依靠PHP‑FPM独立运行,THS负责Web接入与FastCGI转发。