diff --git a/f/web-kboss/src/utils/data-manager.js b/f/web-kboss/src/utils/data-manager.js index a02b44e..90a3a97 100644 --- a/f/web-kboss/src/utils/data-manager.js +++ b/f/web-kboss/src/utils/data-manager.js @@ -54,7 +54,7 @@ const clusterData = { userConsumption: [ { rank: 1, name: '用户A', amount: 520000 }, { rank: 2, name: '用户B', amount: 450000 }, - { rank: 3, name: '用户B', amount: 186000 }, + { rank: 3, name: '用户C', amount: 186000 }, { rank: 4, name: '用户D', amount: 120000 }, { rank: 5, name: '用户E', amount: 56000 }, { rank: 6, name: '用户F', amount: 43000 }, @@ -169,6 +169,404 @@ const clusterData = { { name: '在线数量', value: 0 } ] } + }, + // 内蒙 + neimeng: { + header: { + demandPower: Math.floor(1500 * 0.294), + supplyPower: Math.floor(35320 * 0.294), + clusterCount: 1, + customerCount: Math.floor(352 * 0.294), + chipCount: Math.floor(75368 * 0.294), + modelCount: Math.floor(75 * 0.294) + }, + + left: { + chipScale: { + NVIDIA: Math.floor(33000 * 0.294), + ascend: Math.floor(5000 * 0.294), + supercomputer: Math.floor(8000 * 0.294), + total: Math.floor(5100 * 0.294) + }, + + runningChips: [16909, 15050, 16240, 21470, 18940, 18950, 17450].map(num => Math.floor(num * 0.294)), + + modelUsage: [ + { name: 'deepseek', value: Math.floor(105 * 0.294) }, + { name: '通义千问', value: Math.floor(78 * 0.294) }, + { name: 'kimi', value: Math.floor(70 * 0.294) }, + { name: '豆包', value: Math.floor(120 * 0.294) }, + { name: '文心一言', value: Math.floor(60 * 0.294) }, + { name: '元宝', value: Math.floor(85 * 0.294) } + ], + + tokenUsage: [ + { name: '千问3-max', value: Math.floor(5000 * 0.294) }, + { name: 'kimi', value: Math.floor(4300 * 0.294) }, + { name: '豆包', value: Math.floor(3500 * 0.294) }, + { name: 'deepseek', value: Math.floor(3200 * 0.294) }, + { name: '千帆', value: Math.floor(2800 * 0.294) } + ] + }, + + right: { + appTypes: ['智能推理', '智能训练', '图形渲染', '蛋白质分析', '其他'], + + userConsumption: [ + { rank: 1, name: '用户A', amount: Math.floor(520000 * 0.294) }, + { rank: 2, name: '用户B', amount: Math.floor(450000 * 0.294) }, + { rank: 3, name: '用户C', amount: Math.floor(186000 * 0.294) }, + { rank: 4, name: '用户D', amount: Math.floor(120000 * 0.294) }, + { rank: 5, name: '用户E', amount: Math.floor(56000 * 0.294) }, + { rank: 6, name: '用户F', amount: Math.floor(43000 * 0.294) }, + { rank: 7, name: '用户G', amount: Math.floor(35000 * 0.294) }, + { rank: 8, name: '用户H', amount: Math.floor(28000 * 0.294) } + ], + + powerUsage: [12300, 11500, 11500, 13400, 12900, 13500, 13200].map(num => Math.floor(num * 0.294)) + }, + + overview: { + supply: [ + { name: 'CPU', value: Math.floor(2350 * 0.294) }, + { name: 'GPU', value: Math.floor(5500 * 0.294) }, + { name: '进程数量', value: 0 }, + { name: '资源统计', value: 0 }, + { name: '运行中', value: '30%' }, + { name: '关机中', value: '70%' }, + { name: '故障数量', value: 0 }, + { name: '在线数量', value: 0 } + ], + demand: [ + { name: 'CPU', value: 0 }, + { name: 'GPU', value: 0 }, + { name: '进程数量', value: 0 }, + { name: '资源统计', value: 0 }, + { name: '运行中', value: 0 }, + { name: '关机中', value: 0 }, + { name: '故障数量', value: 0 }, + { name: '在线数量', value: 0 } + ] + } + }, + // 新疆集群数据 (全国数据 × 0.156) + xinjiang: { + header: { + demandPower: Math.floor(1500 * 0.156), + supplyPower: Math.floor(35320 * 0.156), + clusterCount: 1, + customerCount: Math.floor(352 * 0.156), + chipCount: Math.floor(75368 * 0.156), + modelCount: Math.floor(75 * 0.156) + }, + + left: { + chipScale: { + NVIDIA: Math.floor(33000 * 0.156), + ascend: Math.floor(5000 * 0.156), + supercomputer: Math.floor(8000 * 0.156), + total: Math.floor(5100 * 0.156) + }, + + runningChips: [16909, 15050, 16240, 21470, 18940, 18950, 17450].map(num => Math.floor(num * 0.156)), + + modelUsage: [ + { name: 'deepseek', value: Math.floor(105 * 0.156) }, + { name: '通义千问', value: Math.floor(78 * 0.156) }, + { name: 'kimi', value: Math.floor(70 * 0.156) }, + { name: '豆包', value: Math.floor(120 * 0.156) }, + { name: '文心一言', value: Math.floor(60 * 0.156) }, + { name: '元宝', value: Math.floor(85 * 0.156) } + ], + + tokenUsage: [ + { name: '千问3-max', value: Math.floor(5000 * 0.156) }, + { name: 'kimi', value: Math.floor(4300 * 0.156) }, + { name: '豆包', value: Math.floor(3500 * 0.156) }, + { name: 'deepseek', value: Math.floor(3200 * 0.156) }, + { name: '千帆', value: Math.floor(2800 * 0.156) } + ] + }, + + right: { + appTypes: ['智能推理', '智能训练', '图形渲染', '蛋白质分析', '其他'], + + userConsumption: [ + { rank: 1, name: '用户A', amount: Math.floor(520000 * 0.156) }, + { rank: 2, name: '用户B', amount: Math.floor(450000 * 0.156) }, + { rank: 3, name: '用户C', amount: Math.floor(186000 * 0.156) }, + { rank: 4, name: '用户D', amount: Math.floor(120000 * 0.156) }, + { rank: 5, name: '用户E', amount: Math.floor(56000 * 0.156) }, + { rank: 6, name: '用户F', amount: Math.floor(43000 * 0.156) }, + { rank: 7, name: '用户G', amount: Math.floor(35000 * 0.156) }, + { rank: 8, name: '用户H', amount: Math.floor(28000 * 0.156) } + ], + + powerUsage: [12300, 11500, 11500, 13400, 12900, 13500, 13200].map(num => Math.floor(num * 0.156)) + }, + + overview: { + supply: [ + { name: 'CPU', value: Math.floor(2350 * 0.156) }, + { name: 'GPU', value: Math.floor(5500 * 0.156) }, + { name: '进程数量', value: 0 }, + { name: '资源统计', value: 0 }, + { name: '运行中', value: '30%' }, + { name: '关机中', value: '70%' }, + { name: '故障数量', value: 0 }, + { name: '在线数量', value: 0 } + ], + demand: [ + { name: 'CPU', value: 0 }, + { name: 'GPU', value: 0 }, + { name: '进程数量', value: 0 }, + { name: '资源统计', value: 0 }, + { name: '运行中', value: 0 }, + { name: '关机中', value: 0 }, + { name: '故障数量', value: 0 }, + { name: '在线数量', value: 0 } + ] + } + }, + + // 长三角集群数据 (全国数据 × 0.098) + changsanjiao: { + header: { + demandPower: Math.floor(1500 * 0.098), + supplyPower: Math.floor(35320 * 0.098), + clusterCount: 1, + customerCount: Math.floor(352 * 0.098), + chipCount: Math.floor(75368 * 0.098), + modelCount: Math.floor(75 * 0.098) + }, + + left: { + chipScale: { + NVIDIA: Math.floor(33000 * 0.098), + ascend: Math.floor(5000 * 0.098), + supercomputer: Math.floor(8000 * 0.098), + total: Math.floor(5100 * 0.098) + }, + + runningChips: [16909, 15050, 16240, 21470, 18940, 18950, 17450].map(num => Math.floor(num * 0.098)), + + modelUsage: [ + { name: 'deepseek', value: Math.floor(105 * 0.098) }, + { name: '通义千问', value: Math.floor(78 * 0.098) }, + { name: 'kimi', value: Math.floor(70 * 0.098) }, + { name: '豆包', value: Math.floor(120 * 0.098) }, + { name: '文心一言', value: Math.floor(60 * 0.098) }, + { name: '元宝', value: Math.floor(85 * 0.098) } + ], + + tokenUsage: [ + { name: '千问3-max', value: Math.floor(5000 * 0.098) }, + { name: 'kimi', value: Math.floor(4300 * 0.098) }, + { name: '豆包', value: Math.floor(3500 * 0.098) }, + { name: 'deepseek', value: Math.floor(3200 * 0.098) }, + { name: '千帆', value: Math.floor(2800 * 0.098) } + ] + }, + + right: { + appTypes: ['智能推理', '智能训练', '图形渲染', '蛋白质分析', '其他'], + + userConsumption: [ + { rank: 1, name: '用户A', amount: Math.floor(520000 * 0.098) }, + { rank: 2, name: '用户B', amount: Math.floor(450000 * 0.098) }, + { rank: 3, name: '用户C', amount: Math.floor(186000 * 0.098) }, + { rank: 4, name: '用户D', amount: Math.floor(120000 * 0.098) }, + { rank: 5, name: '用户E', amount: Math.floor(56000 * 0.098) }, + { rank: 6, name: '用户F', amount: Math.floor(43000 * 0.098) }, + { rank: 7, name: '用户G', amount: Math.floor(35000 * 0.098) }, + { rank: 8, name: '用户H', amount: Math.floor(28000 * 0.098) } + ], + + powerUsage: [12300, 11500, 11500, 13400, 12900, 13500, 13200].map(num => Math.floor(num * 0.098)) + }, + + overview: { + supply: [ + { name: 'CPU', value: Math.floor(2350 * 0.098) }, + { name: 'GPU', value: Math.floor(5500 * 0.098) }, + { name: '进程数量', value: 0 }, + { name: '资源统计', value: 0 }, + { name: '运行中', value: '30%' }, + { name: '关机中', value: '70%' }, + { name: '故障数量', value: 0 }, + { name: '在线数量', value: 0 } + ], + demand: [ + { name: 'CPU', value: 0 }, + { name: 'GPU', value: 0 }, + { name: '进程数量', value: 0 }, + { name: '资源统计', value: 0 }, + { name: '运行中', value: 0 }, + { name: '关机中', value: 0 }, + { name: '故障数量', value: 0 }, + { name: '在线数量', value: 0 } + ] + } + }, + + // 珠三角集群数据 (全国数据 × 0.117) + zhusanjiao: { + header: { + demandPower: Math.floor(1500 * 0.117), + supplyPower: Math.floor(35320 * 0.117), + clusterCount: 1, + customerCount: Math.floor(352 * 0.117), + chipCount: Math.floor(75368 * 0.117), + modelCount: Math.floor(75 * 0.117) + }, + + left: { + chipScale: { + NVIDIA: Math.floor(33000 * 0.117), + ascend: Math.floor(5000 * 0.117), + supercomputer: Math.floor(8000 * 0.117), + total: Math.floor(5100 * 0.117) + }, + + runningChips: [16909, 15050, 16240, 21470, 18940, 18950, 17450].map(num => Math.floor(num * 0.117)), + + modelUsage: [ + { name: 'deepseek', value: Math.floor(105 * 0.117) }, + { name: '通义千问', value: Math.floor(78 * 0.117) }, + { name: 'kimi', value: Math.floor(70 * 0.117) }, + { name: '豆包', value: Math.floor(120 * 0.117) }, + { name: '文心一言', value: Math.floor(60 * 0.117) }, + { name: '元宝', value: Math.floor(85 * 0.117) } + ], + + tokenUsage: [ + { name: '千问3-max', value: Math.floor(5000 * 0.117) }, + { name: 'kimi', value: Math.floor(4300 * 0.117) }, + { name: '豆包', value: Math.floor(3500 * 0.117) }, + { name: 'deepseek', value: Math.floor(3200 * 0.117) }, + { name: '千帆', value: Math.floor(2800 * 0.117) } + ] + }, + + right: { + appTypes: ['智能推理', '智能训练', '图形渲染', '蛋白质分析', '其他'], + + userConsumption: [ + { rank: 1, name: '用户A', amount: Math.floor(520000 * 0.117) }, + { rank: 2, name: '用户B', amount: Math.floor(450000 * 0.117) }, + { rank: 3, name: '用户C', amount: Math.floor(186000 * 0.117) }, + { rank: 4, name: '用户D', amount: Math.floor(120000 * 0.117) }, + { rank: 5, name: '用户E', amount: Math.floor(56000 * 0.117) }, + { rank: 6, name: '用户F', amount: Math.floor(43000 * 0.117) }, + { rank: 7, name: '用户G', amount: Math.floor(35000 * 0.117) }, + { rank: 8, name: '用户H', amount: Math.floor(28000 * 0.117) } + ], + + powerUsage: [12300, 11500, 11500, 13400, 12900, 13500, 13200].map(num => Math.floor(num * 0.117)) + }, + + overview: { + supply: [ + { name: 'CPU', value: Math.floor(2350 * 0.117) }, + { name: 'GPU', value: Math.floor(5500 * 0.117) }, + { name: '进程数量', value: 0 }, + { name: '资源统计', value: 0 }, + { name: '运行中', value: '30%' }, + { name: '关机中', value: '70%' }, + { name: '故障数量', value: 0 }, + { name: '在线数量', value: 0 } + ], + demand: [ + { name: 'CPU', value: 0 }, + { name: 'GPU', value: 0 }, + { name: '进程数量', value: 0 }, + { name: '资源统计', value: 0 }, + { name: '运行中', value: 0 }, + { name: '关机中', value: 0 }, + { name: '故障数量', value: 0 }, + { name: '在线数量', value: 0 } + ] + } + }, + + // 川渝集群数据 (全国数据 × 0.156) + chuanyu: { + header: { + demandPower: Math.floor(1500 * 0.156), + supplyPower: Math.floor(35320 * 0.156), + clusterCount: 1, + customerCount: Math.floor(352 * 0.156), + chipCount: Math.floor(75368 * 0.156), + modelCount: Math.floor(75 * 0.156) + }, + + left: { + chipScale: { + NVIDIA: Math.floor(33000 * 0.156), + ascend: Math.floor(5000 * 0.156), + supercomputer: Math.floor(8000 * 0.156), + total: Math.floor(5100 * 0.156) + }, + + runningChips: [16909, 15050, 16240, 21470, 18940, 18950, 17450].map(num => Math.floor(num * 0.156)), + + modelUsage: [ + { name: 'deepseek', value: Math.floor(105 * 0.156) }, + { name: '通义千问', value: Math.floor(78 * 0.156) }, + { name: 'kimi', value: Math.floor(70 * 0.156) }, + { name: '豆包', value: Math.floor(120 * 0.156) }, + { name: '文心一言', value: Math.floor(60 * 0.156) }, + { name: '元宝', value: Math.floor(85 * 0.156) } + ], + + tokenUsage: [ + { name: '千问3-max', value: Math.floor(5000 * 0.156) }, + { name: 'kimi', value: Math.floor(4300 * 0.156) }, + { name: '豆包', value: Math.floor(3500 * 0.156) }, + { name: 'deepseek', value: Math.floor(3200 * 0.156) }, + { name: '千帆', value: Math.floor(2800 * 0.156) } + ] + }, + + right: { + appTypes: ['智能推理', '智能训练', '图形渲染', '蛋白质分析', '其他'], + + userConsumption: [ + { rank: 1, name: '用户A', amount: Math.floor(520000 * 0.156) }, + { rank: 2, name: '用户B', amount: Math.floor(450000 * 0.156) }, + { rank: 3, name: '用户C', amount: Math.floor(186000 * 0.156) }, + { rank: 4, name: '用户D', amount: Math.floor(120000 * 0.156) }, + { rank: 5, name: '用户E', amount: Math.floor(56000 * 0.156) }, + { rank: 6, name: '用户F', amount: Math.floor(43000 * 0.156) }, + { rank: 7, name: '用户G', amount: Math.floor(35000 * 0.156) }, + { rank: 8, name: '用户H', amount: Math.floor(28000 * 0.156) } + ], + + powerUsage: [12300, 11500, 11500, 13400, 12900, 13500, 13200].map(num => Math.floor(num * 0.156)) + }, + + overview: { + supply: [ + { name: 'CPU', value: Math.floor(2350 * 0.156) }, + { name: 'GPU', value: Math.floor(5500 * 0.156) }, + { name: '进程数量', value: 0 }, + { name: '资源统计', value: 0 }, + { name: '运行中', value: '30%' }, + { name: '关机中', value: '70%' }, + { name: '故障数量', value: 0 }, + { name: '在线数量', value: 0 } + ], + demand: [ + { name: 'CPU', value: 0 }, + { name: 'GPU', value: 0 }, + { name: '进程数量', value: 0 }, + { name: '资源统计', value: 0 }, + { name: '运行中', value: 0 }, + { name: '关机中', value: 0 }, + { name: '故障数量', value: 0 }, + { name: '在线数量', value: 0 } + ] + } } }; diff --git a/f/web-kboss/src/views/product/bigScreen/Newscreen/ScreenCenter/Map.vue b/f/web-kboss/src/views/product/bigScreen/Newscreen/ScreenCenter/Map.vue index 4c08a2b..0d2c09d 100644 --- a/f/web-kboss/src/views/product/bigScreen/Newscreen/ScreenCenter/Map.vue +++ b/f/web-kboss/src/views/product/bigScreen/Newscreen/ScreenCenter/Map.vue @@ -41,6 +41,7 @@