AI驱动的运维智能监控:从理论到实践

news2026/4/14 23:30:14
AI驱动的运维智能监控从理论到实践一、AI驱动运维的核心概念1.1 AI在运维中的应用价值AI驱动的运维智能监控是指利用人工智能技术提升运维效率和系统可靠性的方法。其核心价值包括智能异常检测自动识别系统异常和潜在问题预测性维护预测设备和系统故障提前采取措施智能告警减少误报提高告警准确性根因分析快速定位问题根源缩短故障恢复时间自动化运维自动执行常规运维任务减少人工干预性能优化识别性能瓶颈提供优化建议1.2 运维监控的演进阶段特点技术局限性传统监控基于阈值的告警简单脚本、SNMP误报率高、无法预测智能监控基于规则的分析规则引擎、统计分析规则维护复杂、适应性差AI驱动监控基于机器学习的智能分析机器学习、深度学习需要大量数据、模型训练复杂自主运维基于AI的自动化决策强化学习、知识图谱技术复杂度高、需要持续优化二、AI驱动的监控架构2.1 架构组成一个完整的AI驱动运维监控系统包含以下组件数据采集层收集系统指标、日志、事件等数据数据处理层数据清洗、预处理、特征提取AI分析层异常检测、预测分析、根因分析决策执行层告警管理、自动修复、优化建议可视化层监控面板、报表、趋势分析2.2 数据流架构# 数据采集与处理流程 import pandas as pd import numpy as np from sklearn.preprocessing import StandardScaler from sklearn.ensemble import IsolationForest # 数据采集 def collect_metrics(): # 模拟采集服务器指标数据 metrics { timestamp: pd.date_range(2024-04-14, periods100, freq5min), cpu_usage: np.random.normal(60, 10, 100), memory_usage: np.random.normal(70, 15, 100), disk_usage: np.random.normal(50, 10, 100), network_io: np.random.normal(100, 30, 100) } return pd.DataFrame(metrics) # 数据预处理 def preprocess_data(df): # 处理缺失值 df df.fillna(df.mean()) # 特征提取 df[cpu_memory_ratio] df[cpu_usage] / df[memory_usage] df[network_disk_ratio] df[network_io] / df[disk_usage] # 数据标准化 scaler StandardScaler() features df[[cpu_usage, memory_usage, disk_usage, network_io, cpu_memory_ratio, network_disk_ratio]] scaled_features scaler.fit_transform(features) return pd.DataFrame(scaled_features, columnsfeatures.columns) # 异常检测 def detect_anomalies(data): # 使用Isolation Forest检测异常 model IsolationForest(contamination0.05, random_state42) anomalies model.fit_predict(data) # -1表示异常1表示正常 return anomalies # 主流程 def main(): # 采集数据 df collect_metrics() # 预处理数据 processed_data preprocess_data(df) # 检测异常 anomalies detect_anomalies(processed_data) # 标记异常 df[anomaly] anomalies # 输出异常结果 anomaly_records df[df[anomaly] -1] print(f检测到 {len(anomaly_records)} 个异常) print(anomaly_records) if __name__ __main__: main()三、AI技术在运维监控中的应用3.1 异常检测3.1.1 基于机器学习的异常检测# 使用LSTM进行时间序列异常检测 import tensorflow as tf from tensorflow.keras.models import Sequential from tensorflow.keras.layers import LSTM, Dense import numpy as np # 准备时间序列数据 def prepare_data(series, n_steps): X, y [], [] for i in range(len(series)): end_ix i n_steps if end_ix len(series)-1: break seq_x, seq_y series[i:end_ix], series[end_ix] X.append(seq_x) y.append(seq_y) return np.array(X), np.array(y) # 构建LSTM模型 def build_model(n_steps, n_features): model Sequential() model.add(LSTM(50, activationrelu, return_sequencesTrue, input_shape(n_steps, n_features))) model.add(LSTM(50, activationrelu)) model.add(Dense(1)) model.compile(optimizeradam, lossmse) return model # 检测异常 def detect_anomalies_with_lstm(data, threshold0.95): # 准备数据 n_steps 10 X, y prepare_data(data, n_steps) X X.reshape((X.shape[0], X.shape[1], 1)) # 构建模型 model build_model(n_steps, 1) # 训练模型 model.fit(X, y, epochs100, verbose0) # 预测 y_pred model.predict(X) # 计算预测误差 errors np.abs(y - y_pred.flatten()) # 确定异常阈值 threshold np.percentile(errors, threshold * 100) # 标记异常 anomalies np.zeros(len(data)) anomalies[n_steps:] (errors threshold).astype(int) return anomalies, threshold # 示例使用 data np.random.normal(100, 10, 200) # 注入异常 data[50:60] data[50:60] 50 anomalies, threshold detect_anomalies_with_lstm(data) print(f异常阈值: {threshold}) print(f检测到的异常: {np.sum(anomalies)})3.1.2 基于深度学习的异常检测# 使用Autoencoder进行异常检测 from tensorflow.keras.models import Model from tensorflow.keras.layers import Input, Dense # 构建Autoencoder模型 def build_autoencoder(input_dim): # 编码器 input_layer Input(shape(input_dim,)) encoded Dense(32, activationrelu)(input_layer) encoded Dense(16, activationrelu)(encoded) encoded Dense(8, activationrelu)(encoded) # 解码器 decoded Dense(16, activationrelu)(encoded) decoded Dense(32, activationrelu)(decoded) decoded Dense(input_dim, activationsigmoid)(decoded) # 构建模型 autoencoder Model(input_layer, decoded) autoencoder.compile(optimizeradam, lossmse) return autoencoder # 检测异常 def detect_anomalies_with_autoencoder(data, threshold0.95): # 构建模型 input_dim data.shape[1] autoencoder build_autoencoder(input_dim) # 训练模型 autoencoder.fit(data, data, epochs100, batch_size32, verbose0) # 重建数据 reconstructed autoencoder.predict(data) # 计算重建误差 mse np.mean(np.power(data - reconstructed, 2), axis1) # 确定异常阈值 threshold np.percentile(mse, threshold * 100) # 标记异常 anomalies (mse threshold).astype(int) return anomalies, threshold, mse # 示例使用 from sklearn.datasets import make_classification # 生成正常数据 X_normal, _ make_classification(n_samples1000, n_features20, n_informative15, n_redundant5, random_state42) # 生成异常数据 X_anomaly np.random.uniform(low-3, high3, size(100, 20)) # 合并数据 X np.vstack([X_normal, X_anomaly]) labels np.zeros(len(X)) labels[len(X_normal):] 1 # 检测异常 anomalies, threshold, mse detect_anomalies_with_autoencoder(X) print(f异常阈值: {threshold}) print(f检测到的异常: {np.sum(anomalies)}) print(f真实异常: {np.sum(labels)})3.2 预测性维护# 使用ARIMA进行时间序列预测 from statsmodels.tsa.arima.model import ARIMA import pandas as pd import numpy as np # 生成时间序列数据 def generate_time_series(): # 生成带有趋势和季节性的时间序列 date_range pd.date_range(2024-01-01, 2024-04-14, freqD) trend np.linspace(0, 100, len(date_range)) seasonality 50 * np.sin(np.arange(len(date_range)) * 2 * np.pi / 7) # 周季节性 noise np.random.normal(0, 10, len(date_range)) values trend seasonality noise return pd.Series(values, indexdate_range) # 预测未来值 def predict_with_arima(series, steps7): # 拟合ARIMA模型 model ARIMA(series, order(5, 1, 0)) # ARIMA(p, d, q) model_fit model.fit() # 预测未来值 forecast model_fit.forecast(stepssteps) return forecast # 示例使用 time_series generate_time_series() forecast predict_with_arima(time_series, steps7) print(预测结果:) print(forecast) # 可视化 import matplotlib.pyplot as plt plt.figure(figsize(12, 6)) plt.plot(time_series, label历史数据) plt.plot(pd.date_range(time_series.index[-1], periods8, freqD)[1:], forecast, label预测数据, colorred) plt.legend() plt.title(时间序列预测) plt.show()3.3 根因分析# 使用因果推断进行根因分析 import numpy as np import pandas as pd from sklearn.linear_model import LinearRegression # 生成模拟数据 def generate_metrics_data(): # 生成时间戳 timestamps pd.date_range(2024-04-14, periods100, freq5min) # 生成CPU使用率根因 cpu_usage np.random.normal(60, 10, 100) # 注入异常 cpu_usage[40:60] cpu_usage[40:60] 30 # 生成其他指标受CPU影响 memory_usage cpu_usage * 0.8 np.random.normal(20, 5, 100) disk_usage cpu_usage * 0.5 np.random.normal(30, 5, 100) response_time cpu_usage * 0.3 np.random.normal(50, 10, 100) # 创建DataFrame data pd.DataFrame({ timestamp: timestamps, cpu_usage: cpu_usage, memory_usage: memory_usage, disk_usage: disk_usage, response_time: response_time }) return data # 因果分析 def causal_analysis(data): # 选择特征和目标变量 features [cpu_usage, memory_usage, disk_usage] target response_time # 拟合线性回归模型 model LinearRegression() model.fit(data[features], data[target]) # 获取特征重要性系数 feature_importance pd.DataFrame({ feature: features, coefficient: model.coef_, importance: np.abs(model.coef_) }) # 按重要性排序 feature_importance feature_importance.sort_values(importance, ascendingFalse) return feature_importance # 示例使用 data generate_metrics_data() importance causal_analysis(data) print(特征重要性根因分析:) print(importance) # 可视化 import matplotlib.pyplot as plt plt.figure(figsize(12, 6)) plt.subplot(2, 2, 1) plt.plot(data[timestamp], data[cpu_usage]) plt.title(CPU Usage) plt.subplot(2, 2, 2) plt.plot(data[timestamp], data[memory_usage]) plt.title(Memory Usage) plt.subplot(2, 2, 3) plt.plot(data[timestamp], data[disk_usage]) plt.title(Disk Usage) plt.subplot(2, 2, 4) plt.plot(data[timestamp], data[response_time]) plt.title(Response Time) plt.tight_layout() plt.show()四、AI驱动的智能告警系统4.1 告警管理# 智能告警系统 class SmartAlertSystem: def __init__(self, threshold0.95): self.threshold threshold self.anomaly_history [] self.alert_history [] def detect_anomaly(self, metric_value, historical_values): 检测异常 if len(historical_values) 10: return False mean np.mean(historical_values) std np.std(historical_values) z_score abs(metric_value - mean) / std return z_score self.threshold def suppress_alerts(self, alert_type, time_window300): 告警抑制 current_time time.time() recent_alerts [alert for alert in self.alert_history if alert[type] alert_type and current_time - alert[timestamp] time_window] return len(recent_alerts) 0 def generate_alert(self, metric_name, metric_value, anomaly_score): 生成告警 alert { timestamp: time.time(), metric: metric_name, value: metric_value, anomaly_score: anomaly_score, type: f{metric_name}_anomaly } # 检查是否需要抑制 if not self.suppress_alerts(alert[type]): self.alert_history.append(alert) print(f告警: {metric_name} 异常值: {metric_value:.2f}, 异常分数: {anomaly_score:.2f}) return alert def process_metric(self, metric_name, metric_value, historical_values): 处理指标数据 is_anomaly self.detect_anomaly(metric_value, historical_values) if is_anomaly: # 计算异常分数 mean np.mean(historical_values) std np.std(historical_values) anomaly_score abs(metric_value - mean) / std # 生成告警 self.generate_alert(metric_name, metric_value, anomaly_score) self.anomaly_history.append({ timestamp: time.time(), metric: metric_name, value: metric_value, anomaly_score: anomaly_score }) return is_anomaly # 示例使用 import time # 初始化系统 alert_system SmartAlertSystem(threshold2.0) # 模拟指标数据 cpu_values [] for i in range(100): # 生成正常数据 if i 50 or i 70: cpu np.random.normal(60, 5) else: # 生成异常数据 cpu np.random.normal(90, 5) cpu_values.append(cpu) # 保持历史数据长度 if len(cpu_values) 20: cpu_values.pop(0) # 处理指标 alert_system.process_metric(CPU, cpu, cpu_values) time.sleep(0.1) print(f总共生成 {len(alert_system.alert_history)} 个告警)4.2 告警优先级管理# 告警优先级管理 class AlertPrioritizer: def __init__(self): # 指标权重 self.metric_weights { CPU: 0.8, Memory: 0.7, Disk: 0.6, Network: 0.5, ResponseTime: 0.9 } # 业务影响权重 self.impact_weights { critical: 1.0, high: 0.8, medium: 0.5, low: 0.2 } def calculate_priority(self, alert): 计算告警优先级 # 获取指标权重 metric_weight self.metric_weights.get(alert[metric], 0.5) # 基于异常分数和指标权重计算优先级 base_priority alert[anomaly_score] * metric_weight # 考虑业务影响 impact alert.get(impact, medium) impact_weight self.impact_weights.get(impact, 0.5) # 计算最终优先级 priority base_priority * impact_weight # 映射到优先级级别 if priority 3.0: level critical elif priority 2.0: level high elif priority 1.0: level medium else: level low return level, priority def prioritize_alerts(self, alerts): 对告警进行优先级排序 prioritized_alerts [] for alert in alerts: level, priority self.calculate_priority(alert) alert[priority_level] level alert[priority_score] priority prioritized_alerts.append(alert) # 按优先级分数排序 prioritized_alerts.sort(keylambda x: x[priority_score], reverseTrue) return prioritized_alerts # 示例使用 alerts [ {metric: CPU, anomaly_score: 2.5, impact: critical}, {metric: Memory, anomaly_score: 1.8, impact: high}, {metric: Disk, anomaly_score: 1.5, impact: medium}, {metric: ResponseTime, anomaly_score: 3.0, impact: critical}, {metric: Network, anomaly_score: 1.2, impact: low} ] prioritizer AlertPrioritizer() prioritized_alerts prioritizer.prioritize_alerts(alerts) print(优先级排序后的告警:) for alert in prioritized_alerts: print(f{alert[metric]} - 优先级: {alert[priority_level]} (分数: {alert[priority_score]:.2f}))五、AI驱动的自动化运维5.1 自动修复# 自动修复系统 class AutoRemediationSystem: def __init__(self): # 修复规则 self.remediation_rules { CPU: { high: [restart_service, scale_up], critical: [kill_processes, scale_up, alert_admin] }, Memory: { high: [clear_cache, restart_service], critical: [kill_processes, scale_up, alert_admin] }, Disk: { high: [clean_logs, remove_temp_files], critical: [clean_logs, remove_temp_files, alert_admin] }, ResponseTime: { high: [restart_service, optimize_query], critical: [restart_service, scale_up, alert_admin] } } def generate_remediation_plan(self, alert): 生成修复计划 metric alert[metric] priority alert[priority_level] # 获取修复规则 if metric in self.remediation_rules and priority in self.remediation_rules[metric]: actions self.remediation_rules[metric][priority] else: actions [alert_admin] return { alert: alert, actions: actions, timestamp: time.time() } def execute_remediation(self, plan): 执行修复计划 print(f执行修复计划 for {plan[alert][metric]} (优先级: {plan[alert][priority_level]})) for action in plan[actions]: print(f执行动作: {action}) # 模拟执行动作 self._execute_action(action) return True def _execute_action(self, action): 执行具体动作 # 模拟执行动作 time.sleep(0.5) print(f动作 {action} 执行完成) # 示例使用 remediation_system AutoRemediationSystem() # 处理告警 for alert in prioritized_alerts: plan remediation_system.generate_remediation_plan(alert) remediation_system.execute_remediation(plan) print()5.2 智能资源调度# 智能资源调度 class SmartResourceScheduler: def __init__(self): self.resources { cpu: {current: 60, max: 100, threshold: 80}, memory: {current: 70, max: 100, threshold: 85}, disk: {current: 50, max: 100, threshold: 90} } def monitor_resources(self): 监控资源使用情况 # 模拟资源使用数据 for resource in self.resources: # 模拟资源使用波动 self.resources[resource][current] np.random.normal(0, 5) # 确保值在合理范围内 self.resources[resource][current] max(0, min(self.resources[resource][max], self.resources[resource][current])) return self.resources def make_decision(self, resources): 做出资源调度决策 decisions [] for resource, info in resources.items(): usage info[current] threshold info[threshold] if usage threshold: decisions.append({ resource: resource, action: scale_up, reason: f{resource} usage ({usage:.1f}%) exceeds threshold ({threshold}%) }) elif usage threshold * 0.5: decisions.append({ resource: resource, action: scale_down, reason: f{resource} usage ({usage:.1f}%) is below 50% of threshold ({threshold}%) }) return decisions def execute_decision(self, decision): 执行资源调度决策 print(f执行决策: {decision[action]} for {decision[resource]}) print(f原因: {decision[reason]}) # 模拟执行决策 if decision[action] scale_up: print(f正在扩展 {decision[resource]} 资源...) elif decision[action] scale_down: print(f正在缩减 {decision[resource]} 资源...) print(决策执行完成) # 示例使用 scheduler SmartResourceScheduler() # 模拟监控和决策 for i in range(10): print(f\n监控周期 {i1}:) resources scheduler.monitor_resources() print(当前资源使用情况:) for resource, info in resources.items(): print(f{resource}: {info[current]:.1f}% (阈值: {info[threshold]}%)) decisions scheduler.make_decision(resources) if decisions: for decision in decisions: scheduler.execute_decision(decision) else: print(无需资源调度) time.sleep(1)六、AI驱动运维的最佳实践6.1 数据管理数据收集全面收集系统指标、日志、事件等数据数据质量确保数据的准确性、完整性和一致性数据存储使用时序数据库存储监控数据数据预处理清洗、去噪、特征提取数据保留制定合理的数据保留策略6.2 模型管理模型选择根据场景选择合适的AI模型模型训练使用历史数据训练模型模型评估定期评估模型性能模型更新根据新数据持续更新模型模型部署将模型部署到生产环境6.3 系统集成与现有监控系统集成如Prometheus、Grafana等与CI/CD系统集成在部署过程中进行监控与IT服务管理系统集成如Jira、ServiceNow等与自动化工具集成如Ansible、Terraform等6.4 团队协作跨团队协作开发、运维、安全团队协作知识共享建立AI运维知识库技能培训培训团队成员AI运维技能持续改进基于反馈持续优化系统七、案例分析AI驱动的智能运维实践7.1 案例背景某大型互联网公司的服务器集群面临以下挑战传统监控系统误报率高故障预测能力不足故障恢复时间长运维成本高7.2 解决方案数据采集与处理部署Prometheus收集系统指标使用ELK Stack收集和分析日志建立数据预处理 pipelineAI模型部署使用Isolation Forest进行异常检测使用LSTM进行时间序列预测使用因果推断进行根因分析智能告警系统建立告警优先级机制实现告警抑制和聚合自动生成告警报告自动化修复建立修复规则库实现自动修复流程与IT服务管理系统集成7.3 实施效果指标实施前实施后改进率告警误报率60%10%83.3%故障预测准确率30%85%183.3%平均故障恢复时间45分钟15分钟66.7%运维人力成本10人3人70%系统可用性99.5%99.95%0.45%八、未来发展趋势8.1 技术发展趋势深度学习的深度应用使用更复杂的深度学习模型进行异常检测和预测强化学习使用强化学习优化运维决策知识图谱构建运维知识图谱提高根因分析能力边缘计算在边缘设备上部署AI模型减少延迟联邦学习在保护数据隐私的前提下进行模型训练8.2 行业趋势AIOps平台化AI驱动的运维平台成为标配自动化程度提升从智能监控到自主运维多云环境支持支持跨云平台的统一监控可持续发展优化资源使用减少能源消耗标准化AI运维标准和最佳实践的形成九、总结AI驱动的运维智能监控是运维领域的重要发展方向它通过结合人工智能技术和传统运维实践显著提高了系统的可靠性和运维效率。通过智能异常检测、预测性维护、根因分析和自动化修复企业可以降低运维成本提高系统可用性为业务发展提供更加稳定的技术支撑。成功实施AI驱动的运维智能监控需要综合考虑数据管理、模型管理、系统集成和团队协作等多个方面。企业需要建立完善的数据采集和处理体系选择合适的AI模型与现有系统集成并培养具备AI和运维技能的团队。随着技术的不断发展AI驱动的运维将向更加智能化、自动化的方向演进。未来自主运维系统将成为可能系统可以自动发现问题、分析根因、采取措施并持续优化为企业数字化转型提供更加强大的技术保障。关于作者lady_mumuAI运维专家拥有丰富的智能监控系统设计和实施经验。标签AI运维、智能监控、异常检测、预测性维护、自动化运维、机器学习

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2518002.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

SpringBoot-17-MyBatis动态SQL标签之常用标签

文章目录 1 代码1.1 实体User.java1.2 接口UserMapper.java1.3 映射UserMapper.xml1.3.1 标签if1.3.2 标签if和where1.3.3 标签choose和when和otherwise1.4 UserController.java2 常用动态SQL标签2.1 标签set2.1.1 UserMapper.java2.1.2 UserMapper.xml2.1.3 UserController.ja…

wordpress后台更新后 前端没变化的解决方法

使用siteground主机的wordpress网站,会出现更新了网站内容和修改了php模板文件、js文件、css文件、图片文件后,网站没有变化的情况。 不熟悉siteground主机的新手,遇到这个问题,就很抓狂,明明是哪都没操作错误&#x…

网络编程(Modbus进阶)

思维导图 Modbus RTU(先学一点理论) 概念 Modbus RTU 是工业自动化领域 最广泛应用的串行通信协议,由 Modicon 公司(现施耐德电气)于 1979 年推出。它以 高效率、强健性、易实现的特点成为工业控制系统的通信标准。 包…

UE5 学习系列(二)用户操作界面及介绍

这篇博客是 UE5 学习系列博客的第二篇,在第一篇的基础上展开这篇内容。博客参考的 B 站视频资料和第一篇的链接如下: 【Note】:如果你已经完成安装等操作,可以只执行第一篇博客中 2. 新建一个空白游戏项目 章节操作,重…

IDEA运行Tomcat出现乱码问题解决汇总

最近正值期末周,有很多同学在写期末Java web作业时,运行tomcat出现乱码问题,经过多次解决与研究,我做了如下整理: 原因: IDEA本身编码与tomcat的编码与Windows编码不同导致,Windows 系统控制台…

利用最小二乘法找圆心和半径

#include <iostream> #include <vector> #include <cmath> #include <Eigen/Dense> // 需安装Eigen库用于矩阵运算 // 定义点结构 struct Point { double x, y; Point(double x_, double y_) : x(x_), y(y_) {} }; // 最小二乘法求圆心和半径 …

使用docker在3台服务器上搭建基于redis 6.x的一主两从三台均是哨兵模式

一、环境及版本说明 如果服务器已经安装了docker,则忽略此步骤,如果没有安装,则可以按照一下方式安装: 1. 在线安装(有互联网环境): 请看我这篇文章 传送阵>> 点我查看 2. 离线安装(内网环境):请看我这篇文章 传送阵>> 点我查看 说明&#xff1a;假设每台服务器已…

XML Group端口详解

在XML数据映射过程中&#xff0c;经常需要对数据进行分组聚合操作。例如&#xff0c;当处理包含多个物料明细的XML文件时&#xff0c;可能需要将相同物料号的明细归为一组&#xff0c;或对相同物料号的数量进行求和计算。传统实现方式通常需要编写脚本代码&#xff0c;增加了开…

LBE-LEX系列工业语音播放器|预警播报器|喇叭蜂鸣器的上位机配置操作说明

LBE-LEX系列工业语音播放器|预警播报器|喇叭蜂鸣器专为工业环境精心打造&#xff0c;完美适配AGV和无人叉车。同时&#xff0c;集成以太网与语音合成技术&#xff0c;为各类高级系统&#xff08;如MES、调度系统、库位管理、立库等&#xff09;提供高效便捷的语音交互体验。 L…

(LeetCode 每日一题) 3442. 奇偶频次间的最大差值 I (哈希、字符串)

题目&#xff1a;3442. 奇偶频次间的最大差值 I 思路 &#xff1a;哈希&#xff0c;时间复杂度0(n)。 用哈希表来记录每个字符串中字符的分布情况&#xff0c;哈希表这里用数组即可实现。 C版本&#xff1a; class Solution { public:int maxDifference(string s) {int a[26]…

【大模型RAG】拍照搜题技术架构速览:三层管道、两级检索、兜底大模型

摘要 拍照搜题系统采用“三层管道&#xff08;多模态 OCR → 语义检索 → 答案渲染&#xff09;、两级检索&#xff08;倒排 BM25 向量 HNSW&#xff09;并以大语言模型兜底”的整体框架&#xff1a; 多模态 OCR 层 将题目图片经过超分、去噪、倾斜校正后&#xff0c;分别用…

【Axure高保真原型】引导弹窗

今天和大家中分享引导弹窗的原型模板&#xff0c;载入页面后&#xff0c;会显示引导弹窗&#xff0c;适用于引导用户使用页面&#xff0c;点击完成后&#xff0c;会显示下一个引导弹窗&#xff0c;直至最后一个引导弹窗完成后进入首页。具体效果可以点击下方视频观看或打开下方…

接口测试中缓存处理策略

在接口测试中&#xff0c;缓存处理策略是一个关键环节&#xff0c;直接影响测试结果的准确性和可靠性。合理的缓存处理策略能够确保测试环境的一致性&#xff0c;避免因缓存数据导致的测试偏差。以下是接口测试中常见的缓存处理策略及其详细说明&#xff1a; 一、缓存处理的核…

龙虎榜——20250610

上证指数放量收阴线&#xff0c;个股多数下跌&#xff0c;盘中受消息影响大幅波动。 深证指数放量收阴线形成顶分型&#xff0c;指数短线有调整的需求&#xff0c;大概需要一两天。 2025年6月10日龙虎榜行业方向分析 1. 金融科技 代表标的&#xff1a;御银股份、雄帝科技 驱动…

观成科技:隐蔽隧道工具Ligolo-ng加密流量分析

1.工具介绍 Ligolo-ng是一款由go编写的高效隧道工具&#xff0c;该工具基于TUN接口实现其功能&#xff0c;利用反向TCP/TLS连接建立一条隐蔽的通信信道&#xff0c;支持使用Let’s Encrypt自动生成证书。Ligolo-ng的通信隐蔽性体现在其支持多种连接方式&#xff0c;适应复杂网…

铭豹扩展坞 USB转网口 突然无法识别解决方法

当 USB 转网口扩展坞在一台笔记本上无法识别,但在其他电脑上正常工作时,问题通常出在笔记本自身或其与扩展坞的兼容性上。以下是系统化的定位思路和排查步骤,帮助你快速找到故障原因: 背景: 一个M-pard(铭豹)扩展坞的网卡突然无法识别了,扩展出来的三个USB接口正常。…

未来机器人的大脑:如何用神经网络模拟器实现更智能的决策?

编辑&#xff1a;陈萍萍的公主一点人工一点智能 未来机器人的大脑&#xff1a;如何用神经网络模拟器实现更智能的决策&#xff1f;RWM通过双自回归机制有效解决了复合误差、部分可观测性和随机动力学等关键挑战&#xff0c;在不依赖领域特定归纳偏见的条件下实现了卓越的预测准…

Linux应用开发之网络套接字编程(实例篇)

服务端与客户端单连接 服务端代码 #include <sys/socket.h> #include <sys/types.h> #include <netinet/in.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <arpa/inet.h> #include <pthread.h> …

华为云AI开发平台ModelArts

华为云ModelArts&#xff1a;重塑AI开发流程的“智能引擎”与“创新加速器”&#xff01; 在人工智能浪潮席卷全球的2025年&#xff0c;企业拥抱AI的意愿空前高涨&#xff0c;但技术门槛高、流程复杂、资源投入巨大的现实&#xff0c;却让许多创新构想止步于实验室。数据科学家…

深度学习在微纳光子学中的应用

深度学习在微纳光子学中的主要应用方向 深度学习与微纳光子学的结合主要集中在以下几个方向&#xff1a; 逆向设计 通过神经网络快速预测微纳结构的光学响应&#xff0c;替代传统耗时的数值模拟方法。例如设计超表面、光子晶体等结构。 特征提取与优化 从复杂的光学数据中自…