乐于分享
好东西不私藏

使用OpenClaw(小龙虾)调用 Flotherm 实现仿真项目自动化的技术

使用OpenClaw(小龙虾)调用 Flotherm 实现仿真项目自动化的技术
要用OpenClaw调用Flotherm实现热仿真自动化,核心思路是:将Flotherm的命令行批处理能力、Floxml/Floscript脚本接口封装成OpenClaw可调用的Skill,让智能体理解你的需求后自动完成参数化建模、批量工况计算、结果提取和报告生成的全流程。
Flotherm提供了非常成熟的自动化接口——Floscript(命令脚本)和Floxml(模型描述文件),配合Python可以实现端到端的自动化仿真。
🔍 一、Flotherm的三种自动化接口
在开始集成之前,你需要了解Flotherm支持的自动化方式:
方式 技术栈 核心能力 适用场景
命令行批处理(最简洁) .bat文件调用Flotherm求解器 无头模式运行仿真、多任务排队计算 批量作业、夜间自动计算
Floxml/Floscript(最强大) XML格式的模型描述文件、命令脚本 参数化建模、材料库创建、完整流程录制与回放 多工况参数扫描、模型自动生成
Python API(最灵活) Python调用subprocess、XML解析库 读取CSV自动生成模型、批量修改参数、结果提取 与OpenClaw深度集成、智能优化
关键洞察:Flotherm的Floxml本质是XML文件,这为Python脚本提供了天然的操作接口——你可以用xml.etree.ElementTree直接修改模型参数,这是OpenClaw集成的核心技术基础。
🤖 二、OpenClaw + Flotherm 集成架构
结合搜索到的Python-Flotherm集成实践,我为你设计了一套完整的技术架构:
```
┌─────────────────────────────────────────────────────────────┐
│                    OpenClaw 智能体层                        │
│  ┌─────────────┐  ┌─────────────┐  ┌─────────────┐         │
│  │ 意图解析    │  │ 任务规划    │  │ Skill调度   │         │
│  │ (LLM)      │──│ (多步分解)  │──│ (工具调用)  │         │
│  └─────────────┘  └─────────────┘  └─────────────┘         │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│              OpenClaw Skill 层(你需要封装)                │
│  ┌─────────────────────────────────────────────────────┐   │
│  │         flotherm_automation 技能包                  │   │
│  │  • flotherm_batch_run()      - 批量提交仿真         │   │
│  │  • flotherm_param_sweep()    - 参数扫描             │   │
│  │  • flotherm_modify_floxml()   - 修改Floxml参数      │   │
│  │  • flotherm_extract_results() - 提取温度/热阻数据   │   │
│  │  • flotherm_gen_report()      - 自动生成报告        │   │
│  └─────────────────────────────────────────────────────┘   │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│              Flotherm 执行层                                │
│  ┌─────────────────┐  ┌─────────────────┐                  │
│  │ flotherm -solve │  │ Floxml/Floscript│                  │
│  │ 命令行调用      │  │ 参数化模型      │                  │
│  └─────────────────┘  └─────────────────┘                  │
│  ┌─────────────────┐  ┌─────────────────┐                  │
│  │ .pdml项目文件   │  │ .res结果文件    │                  │
│  │ (XML格式)       │  │ (可解析)        │                  │
│  └─────────────────┘  └─────────────────┘                  │
└─────────────────────────────────────────────────────────────┘
```
🛠️ 三、核心技能封装详解
3.1 技能一:批量提交仿真(命令行批处理)
Flotherm支持通过命令行进行批处理计算。以下脚本封装了批量运行的核心逻辑:
```python
# flotherm_batch_skill.py
import subprocess
import os
def flotherm_batch_run(pdml_files, flotherm_path=None):
    """
    批量提交Flotherm仿真任务
    参数:
        pdml_files: .pdml项目文件路径列表
        flotherm_path: Flotherm.exe路径(如未指定则使用默认)
    """
    if flotherm_path is None:
        # 根据实际安装路径调整(Flotherm 2024.1为例)
        flotherm_path = r"C:\Program Files\Siemens\SimcenterFlotherm\2404\flotherm.exe"
    # 创建批处理脚本(参考易富迪科技推荐的.bat格式[citation:3])
    batch_lines = []
    for pdml in pdml_files:
        # 标准Flotherm命令行格式
        cmd = f'"{flotherm_path}" -solve "{pdml}"'
        batch_lines.append(cmd)
    # 保存并执行批处理文件
    batch_file = "flotherm_batch_jobs.bat"
    with open(batch_file, 'w') as f:
        f.write("\n".join(batch_lines))
    result = subprocess.run(batch_file, shell=True, capture_output=True, text=True)
    return {
        "status": "success" if result.returncode == 0 else "failed",
        "batch_file": batch_file,
        "jobs_count": len(pdml_files)
    }
```
3.2 技能二:参数化建模(修改Floxml文件)
Floxml是Flotherm的XML格式模型描述文件,Python的xml.etree.ElementTree可以直接操作:
```python
import xml.etree.ElementTree as ET
def flotherm_modify_model(template_flo, modifications):
    """
    修改Flotherm模型参数
    参数:
        template_flo: 基础模型文件(.flo或XML格式)
        modifications: 要修改的参数字典,如 {"chip_power": 15, "chip_count": 8}
    示例应用:IGBT项目中,通过修改Floxml批量生成8种工况模型[citation:1]
    """
    tree = ET.parse(template_flo)
    root = tree.getroot()
    # 示例:修改芯片功耗
    chip_node = root.find(".//component[@name='IGBT']")
    if chip_node is not None and "chip_power" in modifications:
        power_node = chip_node.find('power')
        if power_node is not None:
            power_node.text = str(modifications["chip_power"])
    # 示例:修改芯片数量
    if "chip_count" in modifications:
        chip_node.set('quantity', str(modifications["chip_count"]))
    # 保存修改后的模型
    output_file = f"modified_model_{modifications}.flo"
    tree.write(output_file)
    return output_file
```
高级应用:根据Siemens官方示例,还可以从CSV文件批量创建大量重复结构(如焊球阵列):
```python
import csv
def flotherm_create_from_csv(csv_file, output_xml):
    """
    从CSV批量创建Flotherm模型(如焊球矩阵)
    CSV格式要求: Name, X pos, Y pos, Z pos, X size, Y size, Z size[citation:7]
    """
    cuboids = []
    with open(csv_file, 'r') as f:
        reader = csv.reader(f)
        next(reader)  # 跳过表头
        for row in reader:
            cuboid = {
                "name": row[0],
                "x": row[1], "y": row[2], "z": row[3],
                "dx": row[4], "dy": row[5], "dz": row[6]
            }
            cuboids.append(cuboid)
    # 生成Floxml格式的模型文件(参考Siemens官方示例[citation:7])
    root = ET.Element("flotherm_model")
    for cuboid in cuboids:
        elem = ET.SubElement(root, "cuboid")
        elem.set("name", cuboid["name"])
        # ... 设置位置和尺寸属性
    tree = ET.ElementTree(root)
    tree.write(output_xml)
    return output_xml
```
3.3 技能三:参数扫描(多工况批量计算)
结合Floscript录制和Floxml修改,可以实现完整的参数扫描:
```python
def flotherm_param_sweep(template_flo, param_name, param_values):
    """
    Flotherm参数扫描
    原理:基于IGBT项目的8种工况自动建模经验[citation:1][citation:5]
    """
    import shutil
    results = []
    for value in param_values:
        # 复制模板文件
        temp_file = f"temp_{param_name}_{value}.flo"
        shutil.copy(template_flo, temp_file)
        # 修改参数
        modified_file = flotherm_modify_model(temp_file, {param_name: value})
        # 提交计算
        run_result = flotherm_batch_run([modified_file])
        # 提取结果
        results.append({
            "param_value": value,
            "status": run_result["status"]
        })
    return {"sweep_results": results}
```
3.4 技能四:结果提取与报告生成
Flotherm的结果文件(.res)可以通过Python解析,结合pandas和matplotlib生成报告:
```python
import pandas as pd
import matplotlib.pyplot as plt
def flotherm_extract_results(result_files, monitor_names):
    """
    提取Flotherm结果数据
    案例参考:IGBT项目中自动提取结温、热阻数据[citation:1][citation:5]
    """
    all_results = []
    for res_file in result_files:
        # 读取结果数据(假设已导出为CSV格式)
        data = pd.read_csv(res_file)
        case_result = {"file": res_file}
        for monitor in monitor_names:
            if monitor in data.columns:
                case_result[monitor] = data[monitor].max()  # 取最大值
        all_results.append(case_result)
    return pd.DataFrame(all_results)
def flotherm_gen_report(results_df, output_pptx):
    """
    自动生成PPT报告
    使用python-pptx库,参考IGBT自动化报告案例[citation:1]
    """
    from pptx import Presentation
    prs = Presentation()
    # 添加结果表格幻灯片
    slide = prs.slides.add_slide(prs.slide_layouts[5])
    title = slide.shapes.title
    title.text = "热仿真结果汇总"
    # 将DataFrame转换为表格(代码略)
    # ...
    prs.save(output_pptx)
    return output_pptx
```
🏗️ 四、OpenClaw Skill完整封装
将上述能力整合为OpenClaw可调用的技能包:
```python
# flotherm_skill.py
"""
Simcenter Flotherm热仿真自动化技能包
让OpenClaw能够调用Flotherm完成电子散热分析
"""
import subprocess
import os
import json
import xml.etree.ElementTree as ET
import tempfile
class FlothermSkill:
    """Flotherm热仿真自动化技能"""
    def __init__(self, config):
        self.config = config
        self.name = "flotherm_automation"
        self.description = "调用Simcenter Flotherm完成电子散热仿真(芯片热分析、散热器优化、多工况批处理)"
        # Flotherm路径配置(根据实际安装版本调整)
        self.flotherm_path = config.get("flotherm_path", 
            r"C:\Program Files\Siemens\SimcenterFlotherm\2404\flotherm.exe")
    async def execute(self, context):
        """OpenClaw主入口"""
        user_message = context.get("userMessage", "")
        params = self._parse_intent(user_message)
        action = params.get("action", "batch_run")
        if action == "batch_run":
            return await self._batch_run(params)
        elif action == "param_sweep":
            return await self._param_sweep(params)
        elif action == "extract_results":
            return await self._extract_results(params)
        elif action == "modify_model":
            return await self._modify_model(params)
        else:
            return await self._batch_run(params)
    async def _batch_run(self, params):
        """批量提交Flotherm仿真"""
        pdml_files = params.get("pdml_files", [])
        if not pdml_files:
            return {"status": "error", "message": "未指定仿真文件"}
        batch_lines = [f'"{self.flotherm_path}" -solve "{f}"' for f in pdml_files]
        batch_file = "flotherm_batch.bat"
        with open(batch_file, 'w') as f:
            f.write("\n".join(batch_lines))
        result = subprocess.run(batch_file, shell=True, capture_output=True, text=True)
        return {
            "status": "success" if result.returncode == 0 else "failed",
            "batch_file": batch_file,
            "jobs_count": len(pdml_files)
        }
    async def _modify_model(self, params):
        """修改Flotherm模型参数"""
        template = params.get("template_file")
        modifications = params.get("modifications", {})
        if not template or not os.path.exists(template):
            return {"status": "error", "message": f"模板文件不存在: {template}"}
        tree = ET.parse(template)
        root = tree.getroot()
        # 修改功耗参数
        if "power" in modifications:
            power_nodes = root.findall(".//power")
            for pn in power_nodes:
                pn.text = str(modifications["power"])
        # 保存修改后的模型
        output_file = f"modified_{os.path.basename(template)}"
        tree.write(output_file)
        return {
            "status": "success",
            "output_file": output_file,
            "modifications": modifications
        }
    async def _param_sweep(self, params):
        """参数扫描"""
        template = params.get("template_file")
        param_name = params.get("param_name")
        values = params.get("values", [])
        results = []
        for val in values:
            modified = await self._modify_model({
                "template_file": template,
                "modifications": {param_name: val}
            })
            if modified["status"] == "success":
                run_result = await self._batch_run({
                    "pdml_files": [modified["output_file"]]
                })
                results.append({"value": val, "result": run_result})
        return {"status": "completed", "sweep_results": results}
    async def _extract_results(self, params):
        """提取结果"""
        result_files = params.get("result_files", [])
        monitors = params.get("monitors", ["temperature", "thermal_resistance"])
        # 使用pandas读取结果(需预先导出)
        import pandas as pd
        all_data = []
        for res_file in result_files:
            if os.path.exists(res_file):
                df = pd.read_csv(res_file)
                summary = {monitor: df[monitor].max() for monitor in monitors if monitor in df.columns}
                all_data.append(summary)
        return {"status": "success", "results": all_data}
    def _parse_intent(self, message):
        """解析用户自然语言意图"""
        if "批量" in message or "多个模型" in message:
            return {"action": "batch_run"}
        elif "参数扫描" in message or "优化" in message:
            return {"action": "param_sweep"}
        elif "提取结果" in message or "后处理" in message:
            return {"action": "extract_results"}
        elif "修改模型" in message or "参数化" in message:
            return {"action": "modify_model"}
        else:
            return {"action": "batch_run"}
```
技能注册配置
```yaml
# flotherm-skill/skill.yaml
name: flotherm-automation
version: 1.0.0
description: Simcenter Flotherm热仿真自动化技能
author:
  name: Your Name
  email: you@example.com
triggers:
  - pattern: "Flotherm"
  - pattern: "热仿真"
  - pattern: "散热分析"
  - pattern: "电子散热"
config:
  flotherm_path:
    type: string
    required: true
    description: "Flotherm可执行文件路径(如 C:\\Program Files\\Siemens\\SimcenterFlotherm\\2404\\flotherm.exe)"
  python_env:
    type: string
    required: false
    description: "Python虚拟环境路径"
runtime: python3
entry: flotherm_skill.py
```
🚀 五、实战部署与使用
5.1 环境准备
```bash
# 1. 安装Python依赖(Siemens官方推荐[citation:2])
pip install numpy pandas matplotlib python-pptx
# 2. 确认Flotherm命令行可用
"C:\Program Files\Siemens\SimcenterFlotherm\2404\flotherm.exe" -help
# 3. 安装OpenClaw技能包
openclaw skills install ./flotherm-skill/
# 4. 配置Flotherm路径
openclaw skills config flotherm-automation --set flotherm_path="C:\Program Files\Siemens\SimcenterFlotherm\2404\flotherm.exe"
```
5.2 使用示例
示例1:批量运行仿真
"帮我用Flotherm批量计算三个IGBT散热模型:igbt_26chip.flo、igbt_28chip.flo、igbt_32chip.flo"
OpenClaw会自动调用_batch_run方法,依次提交三个任务。
示例2:参数扫描
"对散热器进行翅片厚度参数扫描,厚度从0.5mm到2.0mm,步长0.5mm"
假设你的模板文件中有功耗参数占位符,OpenClaw会生成4个临时模型并依次计算。
示例3:自动生成报告
"提取所有仿真结果中的芯片结温和热阻数据,生成PPT报告"
OpenClaw会调用结果提取和报告生成功能,输出完整的分析报告。
⚡ 六、效率提升参考案例
根据公开的IGBT热仿真自动化案例,实施Python-Flotherm自动化后的效率提升:
项目指标 人工操作 自动化后 提升幅度
IGBT项目(8种工况) 3天 4小时 70%
多工况模型生成 数小时 分钟级 90%+
报告整理 2-3小时 自动生成 95%
关键技术路径:录制基础Floscript → Python修改Floxml参数 → 批量导出PDML → 自动批处理计算 → 自动后处理 → PPT报告生成
⚠️ 七、注意事项
1. Flotherm版本兼容性:不同版本的Flotherm API可能有变化,建议使用2404及以上版本
2. Flux Export必须开启:运行Python脚本前,确保Flotherm项目中开启了flux export功能
3. 网格分辨率要求:确保模型每个厚度层至少包含2个网格单元以保证精度
4. Python环境配置:Flotherm 2404以上版本对Python 3.13+有更好支持
5. 文件路径规范:路径中的空格可能导致命令行解析错误,建议使用原始字符串(r"path")
📚 八、参考资源
· Siemens官方:Python安装与Flotherm脚本运行指南
· Siemens官方:Python脚本自动创建焊球矩阵
· Flotherm批处理运行方法(易富迪科技)
· Python+Flotherm集成开发案例(IGBT多工况)
· Floscript与Floxml使用说明
基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-04-04 07:02:58 HTTP/1.1 GET : https://www.yeyulingfeng.com/a/491864.html
  2. 运行时间 : 0.180037s [ 吞吐率:5.55req/s ] 内存消耗:4,867.74kb 文件加载:145
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=fc4e18014e4bd62ab0a431eeb31f96c5
  1. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/public/index.php ( 0.79 KB )
  2. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/autoload.php ( 0.17 KB )
  3. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/composer/platform_check.php ( 0.90 KB )
  5. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/composer/autoload_static.php ( 6.05 KB )
  7. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/ralouphie/getallheaders/src/getallheaders.php ( 1.60 KB )
  10. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  11. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  12. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  13. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  14. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  15. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  16. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  17. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  18. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  19. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  20. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/guzzlehttp/guzzle/src/functions_include.php ( 0.16 KB )
  21. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/guzzlehttp/guzzle/src/functions.php ( 5.54 KB )
  22. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  23. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  24. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  25. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/provider.php ( 0.19 KB )
  26. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  27. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  28. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  29. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/common.php ( 0.03 KB )
  30. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  31. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  32. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/alipay.php ( 3.59 KB )
  33. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  34. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/app.php ( 0.95 KB )
  35. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/cache.php ( 0.78 KB )
  36. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/console.php ( 0.23 KB )
  37. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/cookie.php ( 0.56 KB )
  38. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/database.php ( 2.48 KB )
  39. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/filesystem.php ( 0.61 KB )
  40. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/lang.php ( 0.91 KB )
  41. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/log.php ( 1.35 KB )
  42. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/middleware.php ( 0.19 KB )
  43. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/route.php ( 1.89 KB )
  44. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/session.php ( 0.57 KB )
  45. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/trace.php ( 0.34 KB )
  46. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/config/view.php ( 0.82 KB )
  47. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/event.php ( 0.25 KB )
  48. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  49. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/service.php ( 0.13 KB )
  50. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/AppService.php ( 0.26 KB )
  51. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  52. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  53. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  54. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  55. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  56. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/services.php ( 0.14 KB )
  57. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  58. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  59. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  60. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  61. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  62. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  63. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  64. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  65. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  66. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  67. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  68. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  69. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  70. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  71. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  72. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  73. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  74. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  75. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  76. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  77. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  78. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  79. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  80. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  81. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  82. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  83. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  84. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  85. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  86. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  87. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/Request.php ( 0.09 KB )
  88. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  89. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/middleware.php ( 0.25 KB )
  90. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  91. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  92. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  93. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  94. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  95. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  96. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  97. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  98. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  99. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  100. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  101. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  102. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  103. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/route/app.php ( 3.94 KB )
  104. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  105. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  106. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  107. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/controller/Index.php ( 9.87 KB )
  108. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/BaseController.php ( 2.05 KB )
  109. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  110. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  111. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  112. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  113. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  114. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  115. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  116. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  117. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  118. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  119. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  120. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  121. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  122. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  123. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  124. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  125. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  126. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  127. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  128. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  129. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  130. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  131. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  132. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  133. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  134. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  135. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/app/controller/Es.php ( 3.30 KB )
  136. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  137. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  138. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  139. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  140. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  141. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  142. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  143. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  144. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/runtime/temp/c935550e3e8a3a4c27dd94e439343fdf.php ( 31.80 KB )
  145. /yingpanguazai/ssd/ssd1/www/wwww.yeyulingfeng.com/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000766s ] mysql:host=127.0.0.1;port=3306;dbname=wenku;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000748s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000326s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.001653s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000486s ]
  6. SELECT * FROM `set` [ RunTime:0.000195s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000594s ]
  8. SELECT * FROM `article` WHERE `id` = 491864 LIMIT 1 [ RunTime:0.000450s ]
  9. UPDATE `article` SET `lasttime` = 1775257379 WHERE `id` = 491864 [ RunTime:0.004123s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 64 LIMIT 1 [ RunTime:0.000238s ]
  11. SELECT * FROM `article` WHERE `id` < 491864 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000421s ]
  12. SELECT * FROM `article` WHERE `id` > 491864 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000490s ]
  13. SELECT * FROM `article` WHERE `id` < 491864 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.001527s ]
  14. SELECT * FROM `article` WHERE `id` < 491864 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.000829s ]
  15. SELECT * FROM `article` WHERE `id` < 491864 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.000745s ]
0.184066s