<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>云平台_电碳云平台</title><link>http://www.diantanyun.com/yunjisuan/</link><pubDate>2026-05-06 07:08:46</pubDate><item id="23"><title><![CDATA[漫画：数据仓库、数据中台、数据湖，终于搞懂了！]]></title><link>http://www.diantanyun.com/yunjisuan/show.php?itemid=23</link><thumb>http://www.nengtanyun.cn/file/upload/202312/24/194205271.png</thumb><description><![CDATA[漫画：数据仓库、数据中台、数据湖，终于搞懂了！1、数据仓库数据仓库由数据仓库之父比尔·恩门于1990年提出，英文名称为Data Wa]]></description><content><![CDATA[<p>漫画：数据仓库、数据中台、数据湖，终于搞懂了！</p><p><img src="https://t12.baidu.com/it/app=49&f=JPEG&fm=173&fmt=auto&u=3186720647%2C1696204767?w=640&h=272&s=76C348B61D9838494CBA4F990300B08E" width="640" class="_1g4Ex _1i_Oe"/></p><p><img src="https://pics2.baidu.com/feed/a1ec08fa513d26972f7a0351c3785afd4216d89f.jpeg@f_auto?token=5f028d31dd6d3e1067654c8fcec9b8cc" width="640" class="_1g4Ex _1i_Oe"/></p><p><img src="https://pics5.baidu.com/feed/0d338744ebf81a4cd85597125aa9885f242da614.jpeg@f_auto?token=b6267b13e80d40a24d8309a4ef3a4eb6" width="640" class="_1g4Ex _1i_Oe"/></p><p><img src="https://pics5.baidu.com/feed/91ef76c6a7efce1b81fa031224d21bd8b68f659b.jpeg@f_auto?token=d14e4dbfa17ad5c94914f48c14b6e923" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-h3" style="overflow-y: auto; max-width: 100%; display: inline-block; position: relative; padding-left: 9px; font-weight: 700; color: rgb(0, 0, 0);">1、数据仓库</span></p><p><img src="https://pics1.baidu.com/feed/f703738da9773912a5a2c6b16c9a6e1e347ae2e0.jpeg@f_auto?token=31e0be4b7b459559ad88d6af0847b9c3" width="640" class="_1g4Ex _1i_Oe"/></p><p><img src="https://pics2.baidu.com/feed/dc54564e9258d109bf4787c947db24b96d814daa.jpeg@f_auto?token=5fecab5f9da6c02f546b8f44ab4a80b8" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">数据仓库</span>由数据仓库之父比尔·恩门于1990年提出，英文名称为Data Warehouse，可简写为DW或DWH。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">数据仓库，是为企业所有级别的决策制定过程，提供所有类型数据支持的战略集合。它是单个数据存储，出于分析性报告和决策支持目的而创建，为需要业务智能的企业，提供指导业务流程改进、监视时间、成本、质量以及控制。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">主要特点如下:</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">■ 面向主题</span>，指数据仓库内的信息是按主题进行组织的，而不是像业务系统那样按照功能组织。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">■ 集成</span>，指数据仓库中的信息不是从各个业务系统中简单抽取出来的，而是经过一系列加工、整理和汇总的过程，因此数据仓库中的信息是关于整个企业的一致的全局信息。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">■ 数据是基于历史的</span>，指数据仓库内的信息并不只是反映企业当前的状态，而是记录了从过去某一时点到当前各个阶段的信息。通过这些信息，可以对企业的发展历程和未来趋势做出定量分析和预测。</span></p><p><img src="https://pics0.baidu.com/feed/37d3d539b6003af38631c490bea92e5a1238b6c5.jpeg@f_auto?token=6017d5aa76af1b7e3cfb8a5642aa5c3a" width="640" class="_1g4Ex _1i_Oe"/></p><p><img src="https://pics0.baidu.com/feed/d6ca7bcb0a46f21f5fcc8d6d63a783660d33ae9b.jpeg@f_auto?token=49cddb29c419241da417894fba53cb7d" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-ul" style="overflow-y: auto; max-width: 100%; color: rgb(51, 51, 51); list-style-type: disc; display: block; line-height: 27px; padding-left: 26px;"><span class="bjh-li" style="max-width: 100%; display: list-item; margin-bottom: 11px;"><span class="bjh-p" style="max-width: 100%;">MOLAP，数据以多维方式存储以减少存储空间并提高查询效率，代表厂商为微软；</span></span><span class="bjh-li" style="max-width: 100%; display: list-item; margin-bottom: 0px;"><span class="bjh-p" style="max-width: 100%;">ROLAP，数据以关系数据库方式存储，代表厂商为SAP BO。</span></span></span></p><p><img src="https://pics4.baidu.com/feed/d6ca7bcb0a46f21f63789fa77da783660d33ae05.jpeg@f_auto?token=323b186035ce5e82d26d5463d13cd76f" width="640" class="_1g4Ex _1i_Oe"/></p><p><img src="https://pics2.baidu.com/feed/8718367adab44aedda102357389f6f07a08bfbb6.jpeg@f_auto?token=481e91a3cdaae878d8010b015135b1c6" width="640" class="_1g4Ex _1i_Oe"/></p><p><img src="https://pics7.baidu.com/feed/d4628535e5dde711b6db9101336c261d9c166142.jpeg@f_auto?token=25079ae0bbca7544d4cbc8da535b7663" width="640" class="_1g4Ex _1i_Oe"/></p><p><img src="https://pics6.baidu.com/feed/a8ec8a13632762d003b855492c6fe0fc533dc6c9.jpeg@f_auto?token=63a1e51104724349ac15cc72cf355fa3" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">■ 数据实时性问题</span>：由于数据仓库是基于历史数据的，无法满足现代企业管理需求，原来数据仓库基于历史数据设计主要是为了提高查询效率，但是现代的硬件技术与分布式计算早已提供了更好的解决方法。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">■ 数据共享问题</span>：数据仓库以主题方式组织数据，比如财务数据、销售数据、采购数据，就使得在解决数据孤岛的问题上又形成了一棵棵“数据烟囱”，各部门在使用数据时，仍然会面临数据不一致问题，且数据仓库与业务之间高度耦合，也使得数据仓库维护工作量很大，修改起来工作量巨大，难以跟上管理变革。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">■ 数据分析对业务的支撑不足</span>：由于数据分析是基于历史数据的分析，而业务是实时的，所以两者之间存在一定的时间差，导致数据分析只能起到对业务的“支撑”作用，而无法起到对业务的“驱动”作用。</span></p><p><span class="bjh-h3" style="overflow-y: auto; max-width: 100%; display: inline-block; position: relative; padding-left: 9px; font-weight: 700; color: rgb(0, 0, 0);">2、数据中台</span></p><p><img src="https://pics6.baidu.com/feed/7e3e6709c93d70cf3105de1a745f3906bba12bb7.jpeg@f_auto?token=bf28e2af8c9be8c2d99426555a47cfdc" width="640" class="_1g4Ex _1i_Oe"/></p><p><img src="https://pics0.baidu.com/feed/54fbb2fb43166d22ce541c2bd5a0e1f19152d2fc.jpeg@f_auto?token=cdb553f549594335277fa64e09f06218" width="640" class="_1g4Ex _1i_Oe"/></p><p><img src="https://pics5.baidu.com/feed/7a899e510fb30f24a68e496b43163945ac4b03c8.jpeg@f_auto?token=938931031816e3e1691c39d2e8b7d71c" width="640" class="_1g4Ex _1i_Oe"/></p><p><img src="https://pics4.baidu.com/feed/72f082025aafa40ff7fe4b7b36e7eb4979f019e2.jpeg@f_auto?token=175fb78fc527651223df03e1cd406a69" width="640" class="_1g4Ex _1i_Oe"/></p><p><img src="https://pics7.baidu.com/feed/0eb30f2442a7d9339a15f57326c8391572f001fe.jpeg@f_auto?token=c188517650568d46542b6b1c9917df2d" width="640" class="_1g4Ex _1i_Oe"/></p><p><img src="https://pics3.baidu.com/feed/77c6a7efce1b9d160687b89f675d5c898d546412.jpeg@f_auto?token=952258bea6145ce384a4c345ee1e49a9" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">数据中台主要特点如下：</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">■ 数据是“打平”的</span>，而非主题式，以利于企业从全局角度对数据进行分析。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">■ 数据是实时的</span>，实时不是简单指数据只有最新数据，而是不仅仅有历史数据，也有当前实时数据，当数据发生变化时，如果对历史数据产生影响，历史数据的影响也要能实时反应出来。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">■ 数据是可平滑扩充的</span>，利用分布式存储与分布式计算技术，当数据量扩大或者分析业务扩充时，能够在不影响已有数据的情况下，快速平滑扩充。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">■ 数据的变化与使用是可追溯的</span>，支持血缘追溯功能，当数据发生错误时，可快速定位错误的来源，并且对数据的影响范围与用户清晰，化被动为主动。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">■ 数据是以业务语言表示的</span>，业务人员可直接使用：不同于数据仓库时代数据都是以表和字段等技术语言来表示，数据中台的数据要支撑管理模型，对外以业务语言来表示，能够为业务人员直接使用。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">■ 数据与业务松耦合</span>，当数据发生变化时，不会对业务分析造成困扰，同样当业务需求发生变化时，也不会直接影响到数据中台的数据组织方式。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">注意：在数据中台阶段，因习惯性，数据仓库的名称仍然被沿用，此处数据仓库指的是数据中台内存储数据的数据库及数据（包括关系型数据库或分布式数据）。</span></p><p><span class="bjh-h3" style="overflow-y: auto; max-width: 100%; display: inline-block; position: relative; padding-left: 9px; font-weight: 700; color: rgb(0, 0, 0);">3、数据湖</span></p><p><img src="https://pics4.baidu.com/feed/b21c8701a18b87d6bac19bf28c8bc03e1d30fde2.jpeg@f_auto?token=f993536a67ac7b84babad10e1b7b0f32" width="640" class="_1g4Ex _1i_Oe"/></p><p><img src="https://pics7.baidu.com/feed/4034970a304e251f2e625737290521117d3e53f6.jpeg@f_auto?token=6f97009bbfa1c5e7fbe71caf5361bd80" width="640" class="_1g4Ex _1i_Oe"/></p><p><img src="https://pics1.baidu.com/feed/f703738da977391209fa6a71749a6e1e377ae249.jpeg@f_auto?token=6149c54272cbc96a72305ab21eae51a0" width="640" class="_1g4Ex _1i_Oe"/></p><p><img src="https://pics6.baidu.com/feed/8718367adab44aed38f508b23d9f6f07a08bfbb3.jpeg@f_auto?token=c9fced9089eed6185424a684a0c20d91" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">数据湖的概念最初是由大数据厂商提出的，是一种数据存储的理念。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">特点如下：</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">■ 数据是以原始格式存储</span>，不同于数据中台的结构化存储方式，数据湖以自然格式存储数据。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">■ 数据不需要提前进行定义</span>，在准备使用数据时，再定义即可，提高了最高的灵活性与可扩展性。</span></p><p><img src="https://pics6.baidu.com/feed/0e2442a7d933c8955a334f0f44909bf6830200fb.jpeg@f_auto?token=fcc54fe387d2cac1e5be89c2d08de821" width="640" class="_1g4Ex _1i_Oe"/></p><p><img src="https://pics3.baidu.com/feed/9825bc315c6034a8f24ef8435890a1520b2376ca.jpeg@f_auto?token=b062435eb31e1d5a48c805be4be20add" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">目前<span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">Hadoop是最常用的部署数据湖的技术</span>，所以很多人会误解觉得数据湖就是Hadoop集群，其实数据湖是一个概念，Hadoop是实现这个概念的技术。同样很多厂商跟风宣称支持数据湖，其实只是支持Hadoop而已。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">数据湖是一个新的概念，也是一个非常好的理念，但是从一个理念变成一个可以落地的系统时，就<span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">面临着许多问题：</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">■ 数据的存储成本：</span>数据湖把所有数据都存储下来，需要一个前提，就是存储成本很低，在当今数据爆炸的时代，把所有原始数据，不区分价值大小，都存储下来，这在经济上能否被企业接受，存在疑问。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">■ 数据的安全：</span>数据湖中存储着所有的明细数据、日志数据，这些数据的安全怎么保证？怎样划分权限？特别是以非结构化形式存储，权限如何划定？比如一个视频，员工A只能看第一分钟的左半屏的视频，员工B只能看第五分钟的上半屏的视频，当前权限无法支撑。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">■ 数据治理、数据质量问题：</span>数据使用时再对数据进行定义，谁来定义？数据谁来治理，谁来进行数据质量保证？数据发生错误怎样开速定位？</span></p><p><span class="bjh-h3" style="overflow-y: auto; max-width: 100%; display: inline-block; position: relative; padding-left: 9px; font-weight: 700; color: rgb(0, 0, 0);">4、对比与区别</span></p><p><img src="https://pics2.baidu.com/feed/d058ccbf6c81800a706473f23ab6dbfc808b47d7.jpeg@f_auto?token=9e5b5325459eca18e9972d0a3d5a96a4" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">三种概念的直接对比与建议：</span></span></p><p><img src="https://pics5.baidu.com/feed/d788d43f8794a4c20e39334b9b77f3d3ac6e39c6.jpeg@f_auto?token=3b7818d39e4feec7f64883ae549aeee2" width="640" class="_1g4Ex _1i_Oe"/></p><p><img src="https://pics6.baidu.com/feed/d53f8794a4c27d1e94e5174b90564568dfc43883.jpeg@f_auto?token=3e696a74e78b71b066f0101d5f21b938" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">比如企业A有两个客户：“明星公司”、“天天公司”，2019年“明星公司”收购“天天公司”，变成一家公司，新公司名称仍为“群星公司”，现在A企业要对所有客户进行收入分析与客户ABC分析。原始数据如下：</span></p><p><img src="https://pics0.baidu.com/feed/b999a9014c086e06e202a6558e8b93f20bd1cb95.jpeg@f_auto?token=c0f9b126faae73eb15ff5f3822489867" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">1）如果用数据仓库方式实现，设计如下：</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">参照表：（数据处理过程表，不面向最终使用者）</span></p><p><img src="https://pics3.baidu.com/feed/3b87e950352ac65c4a1edf9f69715a1792138a49.jpeg@f_auto?token=64b9b450e60aaed7509ce5f4487a594a" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">在数据抽取时，会对数据进行标准化处理，结果如下：</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">① 如果是在2019年前进行的数据仓库建设，事实表如下：</span></span></p><p><img src="https://pics0.baidu.com/feed/6c224f4a20a44623d4e07af214a19a080df3d787.jpeg@f_auto?token=30a4007d7c8b13d2c981aa1401d70903" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">2018年的数据作为“历史数据”，不会被后来发生的事情影响，那么当进行客户增长性分析、客户利润分析及ABC分析时，会得到错误的结果。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">② 如果是在2019年后进行的数据仓库建设，事实表如下：</span></span></p><p><img src="https://pics4.baidu.com/feed/9c16fdfaaf51f3de5abaab7d006d18193a29792d.jpeg@f_auto?token=4e223b215f6c9730632b0e2ab107e5cc" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">作为历史的“天天公司”在业务人员面前“消失”，但是当进行地区分析时，又会得到错误的结果。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">2）如果用数据中台方式实现，设计如下：</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">参照表（对业务人员开放）：</span></p><p><img src="https://pics7.baidu.com/feed/a686c9177f3e67097b05e127a944773bf9dc556f.jpeg@f_auto?token=4b65feb56408fb2ee35993886cfe2ba9" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">数据在进行抽取及清洗时，不进行标准化处理，而是把历史数据与变化信息均存储下来，并形成一个客户变更的模型，在变更模型内，业务表与参照表自动建立关联关系，当业务人员查询时，会根据需要自动形成如下结果：</span></p><p><img src="https://pics6.baidu.com/feed/55e736d12f2eb938633d58f859e16d33e4dd6ff6.jpeg@f_auto?token=ae34f44d2d9ded0a6e22c6d6ca1ddf93" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">业务人员可以根据分析需求使用数据，保证了数据的正确性。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">3）如果用数据湖的方式实现</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">数据将采用与原业务系统一致的方式存储，但是在数据使用时，需要对数据进行定义。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">基于目前的成熟度与企业未来发展与扩充考虑，我们建议企业采用混搭结构，数据统一以原始格式存储于数据湖内（直接用Hadoop即可以实现），确认有用的数据从数据湖内转为结构化存储，进入数据中台使用</span></p><p><br/></p>]]></content><pubDate>2023-12-24 19:39:03</pubDate></item><item id="22"><title><![CDATA[数据中台为什么这么火呀]]></title><link>http://www.diantanyun.com/yunjisuan/show.php?itemid=22</link><thumb>http://www.nengtanyun.cn/file/upload/202312/24/154123951.png</thumb><description><![CDATA[数字时代的到来加速了全行业数字化的进程，阿里、腾讯、百度、京东等头部互联网公司纷纷调整架构，将To B计划调整为企业的发展重]]></description><content><![CDATA[<p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">数字时代的到来加速了全行业数字化的进程，阿里、腾讯、百度、京东等头部互联网公司纷纷调整架构，将To B计划调整为企业的发展重点战略，并在组织架构中增设“数据中台”，借助大数据能力提升公司的效率。这样的数据思维在2019年由互联网公司传递向社会各界辐射了出来，传统企业纷纷寻求数字化转型、部署企业的数据中台，也有越来越多的科技公司投身数据服务，提供多样化的数字化解决方案。</p><p class="ql-align-center" style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; text-align: center; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><img src="http://5b0988e595225.cdn.sohucs.com/images/20190906/a2522093ba1b40b28be738279a604ecd.png"/></p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">那么，对于寻求数字化转型的企业而言，究竟该如何管理公司的数据资源？如何让数据产生价值，有效服务前端业务？</p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">在2019年，呼声最高的答案无疑是数据中台。</p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">数据中台是通过大数据，将海量数据进行采集、计算、存储加工、统一口径、形成标准等，构成企业大数据资产层；借助数据处理工具，形成用户画像、智能推荐等服务，进而赋能于前台应用，为客户提供高效服务。数据中台能够帮助企业降低重复建设、减少烟囱式协作的成本，同时连接数据与业务，沉淀企业的数据资产，实现数据价值化。</p><h1 style="font-size: 1.25em; margin: 0.63em 0px 1.8em; border: 0px; padding: 0px; color: rgb(25, 25, 25); line-height: 38px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><span style="border: 0px; margin: 0px; padding: 0px;">数据中台的巨大能量</span></h1><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><span style="font-weight: 700; border: 0px; margin: 0px; padding: 0px;">数据汇集，融会贯通</span></p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">数据中台以大数据平台为基础</p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">平台，能汇集多源数据，包括业务系统、财务系统、人力系统等结构化、半结构化与非结构化数据，运营多种IT系统，支持新型数据的存储，满足企业数据互通的诉求；借助数据中台提供的DMP等数据工具，为数据打上标签，根据标签形成企业专属用户画像，实现企业在不同场景下的精准营销、智能推荐等。</p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><span style="font-weight: 700; border: 0px; margin: 0px; padding: 0px;">企业的“能力架构师”</span></p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">企业的数字化转型并不是简单地利用创新技术推动产品与业务的创新，同样重要的还有通过数据中台提升企业的业务能力、技术能力、计算能力和数据能力，未来还需承载企业的AI能力等，沉淀企业在组织层面可传递、可复用的各项能力，通过全域数据整合与应用，减少反应时间、降低成本、规避风险，全面提高企业的效率。</p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><span style="font-weight: 700; border: 0px; margin: 0px; padding: 0px;">企业数字化的驱动者</span></p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">企业中可能存在众多业务分支，不同业务分支都拥有自己的系统和数据源，各系统之间还会有功能和数据之间、服务与应用之间的冲突，导致数据在各系统之间无法共享、效率低下。通过大数据平台，数据中台能够实现全域数据的统筹，包括数据监测和统计、数据化运营和分析，支持个性化检索、定制化营销、智能化用户运营等，做到让企业数据真正地“跑起来”。</p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><span style="font-weight: 700; border: 0px; margin: 0px; padding: 0px;">数据与业务的双驱动</span></p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">数据中台介于业务前台与系统后台之间，以大数据能力为基础，通过数据治理、统一ID、搭建标签体系、设计场景算法等，实现业务场景、交易处理、商品供应链、用户触点等业务的数据化，通过数据分析处理后，形成用户画像、智能推荐等数据应用服务，实现数据反哺业务。数据中台能够根据企业业务选择切入不同的数据应用场景，促使后续服务持续升级创新、业务实时联动以及全局优化，实现数据与业务的双驱动。</p><p class="ql-align-center" style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; text-align: center; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><img src="http://5b0988e595225.cdn.sohucs.com/images/20190906/69dd96c0f5c746a7a6b424f826386f9e.png"/></p><h1 style="font-size: 1.25em; margin: 0.63em 0px 1.8em; border: 0px; padding: 0px; color: rgb(25, 25, 25); line-height: 38px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><span style="border: 0px; margin: 0px; padding: 0px;">数据中台部署应“因材施教”</span></h1><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">数据中台的重点优势在于，能够帮助企业实现业务数据化、业务数据化，而不同行业的业务大不相同、相同行业的不同企业的业务也不尽相同，因此企业需从自身业务与企业发展阶段出发，选择不同数据架构的数据中台。数据中台并不是一个一成不变的标准化产品，而是一种数据思维的集中体现，内部架构依据不同行业的业务需求有不同的设计。</p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><span style="font-weight: 700; border: 0px; margin: 0px; padding: 0px;">地产行业</span></p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">地产企业多以集团化运作，业态丰富多样，涉及到的业态包含酒店、机器人、农业、社区零售服务等。在多业态的运作模式下，物业和项目的数据显得繁复冗杂。因此，数据治理及多系统数据的融合打通是地产企业的基本需求。而由于市场、政策和舆论的共同作用，地产行业的增量市场不断萎缩，地产企业需要探索更多的业务形态，因此对存量市场的精细化运营、驱动业务更加高效地运转、构建数据指标、为投策及用户精细化运营提供数据依据，是地产企业数字化转型的发展性需求。</p><p class="ql-align-center" style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; text-align: center; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><img src="http://5b0988e595225.cdn.sohucs.com/images/20190906/fd4330f3e97d4af29ad117520d025952.png"/></p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">地产数据中台总体分为三层：</p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">数据层尽可能保留原始全量业务数据，接入企业销售系统、HR系统、仓储系统、财务系统等内部数据源以及爬虫与手工收集等外部数据源，由大数据工程师将数据进行打通、治理、清洗与转换；</p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">中间数据层保留统一规范的标准业务数据，通过 ID-Mapping 把各业务板块的数据打通，保持以对象为中心的全域标签数据；</p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">数据应用层按照业务的需要从中间层、标签层抽取数据进行组装，满足业务以及性能需求，为企业提供数据产品、数据API、业务产品、商业产品、智能投资预测等服务，帮助地产企业实现全域数据资产化、经营管理数字化。</p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><span style="font-weight: 700; border: 0px; margin: 0px; padding: 0px;">金融行业</span></p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">金融行业经历了信息金融时代、互联网金融时代的发展，积累了大体量、多类型的业务数据与用户数据，而在数字化时代，金融行业面临业务变化快、数据量大、高并发等问题。因此，金融行业数据中台需要能够同时支撑多个业务系统、让业务之间的信息形成交互，整合资源、合理安排，避免重复工作，同时给多个产品赋能，实现敏捷化共享服务、提升业务创新能力。</p><p class="ql-align-center" style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; text-align: center; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><img src="http://5b0988e595225.cdn.sohucs.com/images/20190906/b8e7b1087a2a42af9c00846b894dee45.png"/></p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">金融行业数据中台基本架构同样包含了大数据基础平台、数据中台工具及数据应用服务，但根据金融服务场景化、多维化、高频化的特征，重点提供实时数据报表、自助分析平台服务，帮助金融企业快速作出反应；而在数据应用服务层面，金融行业数据中台基于大数据、人工智能、机器学习等技术进行建模、预测，为金融企业提供风控、反欺诈分析、客服机器人、智能投研、客户流失预测、销售渠道优化、产品服务优化、舆情分析等智能应用。</p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><span style="font-weight: 700; border: 0px; margin: 0px; padding: 0px;">泛零售行业</span></p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">零售行业经过几百年的演变，逐渐形成了百货商场、超级市场、便利店、购物中心的形态，而这是线下的发展支线。零售行业的线上发展始于1990年，电子商务逐渐发展起来，到了2010年兴起网络商城购物。而如今，线上线下的融合打通，又促成了以消费者的体验为中心、以数据为驱动的泛零售业态，主要涵盖行业包括商超便利、鞋服零售、医药美业。</p><p class="ql-align-center" style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; text-align: center; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><img src="http://5b0988e595225.cdn.sohucs.com/images/20190906/4964926509ac41a4ab3dcd666d1e17c3.png"/></p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><span style="font-weight: 700; border: 0px; margin: 0px; padding: 0px;">商超便利</span>的主要需求在于智能推荐、营销引流、快捷自助等提升用户购物体验的服务升级，数据中台打通单个及多个门店的消费链数据，为企业提供价签扫码、自助支付、人脸支付等数字化服务，给顾客提供便捷快速的交互服务和更娱乐化、人性化的消费体验；商超便利的数据中台还应侧重于用户画像的刻画及智能营销工具的提供、门店库存实时监控和智能仓储物流，帮助企业优化门店的经营管理，扩大可运营客户，增强企业长期竞争力。</p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><span style="font-weight: 700; border: 0px; margin: 0px; padding: 0px;">鞋服零售</span>行业数据中台的数据架构以解决供应链、财务、人资、物流及运营等方面的数字化运作为导向而设计，主要包含有商品管理体系、财务体系、人力体系、用户运营体系等。数据中台的大数据基础层与数据工具层实现数据的融合打通及分析处理；针对鞋服零售行业特点，数据应用层聚焦于提供多门店数据实时可视化报表、门店智能导购服务、门店数字化经营管理系统、业务财务一体化管理、人力资源管理标准化等服务，帮助鞋服零售企业快速响应市场需求，实时掌握全局动态，多门店商品精准采购捕获，实现企业全方位的数字化变革、快速扩张。、</p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><span style="font-weight: 700; border: 0px; margin: 0px; padding: 0px;">医药企业</span>数字化转型“难念的经”在于AI+药物发现、数字药物、临床实验数字化、临床数据挖掘、电子健康记录、药物安全、市场数据洞察等。因此医药行业数据中台应具备极高的数据挖掘能力、数据计算能力及强大的数据建模能力，借助数据工具帮助医药企业从海量数据中找到价值点，为药物开发、营销策略、市场洞察提供更有力的决策支持。而对<span style="font-weight: 700; border: 0px; margin: 0px; padding: 0px;">美业</span>而言，主要痛点在于客户信息缺失、数据提报混乱、推广手段匮乏。针对这些痛点，数据中台需要贴合美业业务构建护肤美容数据库、知识图谱库等，结合前端硬件设备与人工智能技术提供五官分析、肤质监测、妆容定制等服务并沉淀用户数据，根据用户的面部特征，匹配相应的产品方案，接入智能导购系统，赋能一线导购员，提升用户的消费体验及服务质量。</p><h1 style="font-size: 1.25em; margin: 0.63em 0px 1.8em; border: 0px; padding: 0px; color: rgb(25, 25, 25); line-height: 38px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><span style="border: 0px; margin: 0px; padding: 0px;">WakeData数据中台</span></h1><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">WakeData企业经营数据中台惟客通包含了大数据平台、流计算平台、数据接入平台、数据开发平台、数据治理平台、机器学习平台等数据处理平台，在六大数据平台基础上，提供自助分析平台、画像平台、开发服务平台及推荐平台等数据应用服务。结合数据处理平台与数据应用服务，为企业提供一站式客户经营大数据解决方案，帮助企业IT从业务支撑走向业务赋能。</p><p class="ql-align-center" style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; text-align: center; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><img src="http://5b0988e595225.cdn.sohucs.com/images/20190906/2a1df0f0a38948a6b87dfe443e04c5b4.png"/></p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">WakeData数据中台的中台工具与应用，按照开发难度分为了三层。最简单的是提供标签库（DMP），企业可以基于标签的组装快速形成营销客户群，一般面向业务人员；其次是提供数据开发平台，企业可以基于该平台访问到所有的数据并进行可视化开发，一般面向SQL开发人员；最后是提供应用环境和组件，让企业技术人员可以自主打造个性化数据产品，层层递进，以满足不同层次的企业需求。</p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">面对不同行业、不同发展阶段的企业，WakeData数据中台支持个性化定制服务，深度融合了企业业务、产品、系统、组织各个模块，结合企业特点与需求，设计不同的数据架构、数据指标、标签体系、数据应用、营销工具等数据中台工具、应用与服务。根据企业的规模和业务的不同，数据中台可大可小，规模、复杂度都各不相同，但它对业务产生的价值是一样的，因此，企业应根据自身需求，灵活部署数据中台。</p><p class="ql-align-center" style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; text-align: center; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);"><img src="http://5b0988e595225.cdn.sohucs.com/images/20190906/2b20f7c1fef34a11a7e3fb552ea15d1d.png"/></p><p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(25, 25, 25); font-family: &quot;PingFang SC&quot;, Arial, 微软雅黑, 宋体, simsun, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);">数字经济时代，企业数字化转型需从自身业务需求及发展阶段出发，选择不同数据中台进行部署，建设企业数字化生态，迎接5G智慧时代。WakeData数据中台顺应企业数字化转型的趋势，深耕客户需求，为企业量身打造数字化解决方案，以帮助企业构建自己的大数据能力为使命，帮助企业建立数据资产，实现数据价值化，最终降低成本、提高效率，快速平稳地完成数字化转型，共赢数字时代新机遇</p><p><br/></p>]]></content><pubDate>2023-12-24 15:39:47</pubDate></item><item id="18"><title><![CDATA[5G电力行业应用研究：5G赋能未来电力]]></title><link>http://www.diantanyun.com/yunjisuan/show.php?itemid=18</link><thumb>http://www.nengtanyun.cn/file/upload/202312/22/185944891.png</thumb><description><![CDATA[一、5G 驱动未来电力未来大部分的电力场景将搭建在能源互联网之上，能量像信 息一样在网络中随时随地产生和共享，其发展呈现出新]]></description><content><![CDATA[<p><img src="https://pics1.baidu.com/feed/4b90f603738da977178f8e03caf3da118718e3a4.jpeg@f_auto?token=64e7aec851967858c75e2a2d14389ba7&s=F1978B74D3AFE14D5E7684D20200C0BB" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-h3" style="overflow-y: auto; max-width: 100%; display: inline-block; position: relative; padding-left: 9px; font-weight: 700; color: rgb(0, 0, 0);">一、5G 驱动未来电力</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">未来大部分的电力场景将搭建在能源互联网之上，能量像信 息一样在网络中随时随地产生和共享，其发展呈现出新的趋 势和特征：发电清洁友好，融合多种清洁分布式电源，融合 储能和电动汽车，融合分散可靠负荷，具备清洁低碳、网源 协同、灵活高效的特征；输变电安全高效，具备态势感知、 柔性可靠、协调优化的特征；配电灵活可靠，具备可观可 控、开放兼容、经济适用的特征；用电多样互动，具备多元 友好、双向互动、灵活多样、节约高效的特征。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">通信技术是各项数字技术在电力行业应用的基础，是发展能 源互联网的技术支撑。目前，电网可以通过不同类型的通信 网络进行互联，但日益多样化的电力需求需要一个更精密、 包容和创新的系统以满足海量设备互联互通和数据传输。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">1.1 从电力行业看 5G</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">5G 定义的三大场景——增强移动带宽（eMBB）、超可靠低 时延通信（uRLLC）和大规模机器通信（mMTC），具备超高 带宽、超低时延、超大连接的技术特点，在电力系统的发电、输电、变电、配电、用电、调度， 以及应急通信各个环节，均可发挥重要作用，能够深刻变革电力通信网，全面提升电力信息化水 平。据估算，到 2026 年，5G 将为全球十个主要产业带来 1.3 万亿美元的数字化市场规模，其中 能源产业/公用事业（水、电、燃气等）占比最高为 19%1 ，约为 2500 亿美元。</span></p><p><img src="https://pics3.baidu.com/feed/bd3eb13533fa828bf6b06bcb86bd633c960a5ab5.jpeg@f_auto?token=2bfc53f891996c1f3a151fe708c14835&s=19AAFD129B71798004C86156020010F2" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">5G 通信特点与电力通信网络需求高度契合</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">5G 网络技术的峰值速率、区域速率、边缘速率，都比 4G 大幅提高。5G 峰值速率最高可达 20Gbps，满足高清视频、虚拟现实等数据的大量传输。5G 的通信时延比 4G 少一个数量级，空中 接口的时延在 1ms 左右，因此为电力差动保护、精准切负荷等超低时延业务应用创造了条件。5G 网络容量更大，每平方公里能够连接 100 万个终端，包括智能家电和各种智能终端，能够满足电 力物联网的海量智能终端的接入需求。5G 技术通过通信原理的优化，会降级传感器或节点的能 耗，不需要对通信设备进行更换电池或者充电，给万物互联提供了很好的技术条件。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">5G 特点与智能电网性能高度匹配</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">基于 5G 的智能电网将充分支持分布式新能源、分布式储能、电动汽车、大功率电动智能机器等 各种新型电器进入家庭、商业建筑、工厂和园区，为满足个性化、多样化、市场化的能源供应服 务提供连接的桥梁。5G 为电力终端接入网提供了泛在、灵活、低成本、高质量的全新技术选择， 为打造更加安全、可靠、绿色、高效的智能电网提供了强大的基础能力。5G+智能电网不仅能够 大幅降低用户平均停电时间、有效提升供电可靠性和管理效率；同时可以极大的丰富和扩展电网 应用场景，降本增效，助力电网向综合能源服务商转型，为用户提供更好的电力综合服务。在为 用户供电服务方面，其电能质量、响应速度、服务内容均将因 5G 而发生重要变化。因 5G 而全面 实现智能电网的有关业务，将大幅提升电力系统的服务质量，基于 5G 的电能质量监测和治理， 也将减少因供电引起的故障或失效，用户的服务响应速度也将十分迅捷，新能源报装、电动充电 桩报装、电费结算、账单查询、精确到分钟级的用电查询都将十分快捷方便。</span></p><p><img src="https://pics0.baidu.com/feed/d788d43f8794a4c2b82ba202745639ddad6e393d.jpeg@f_auto?token=b4f57bfd7f201ae90484cf5f63f58c4c&s=8C066290444686E8141CEC4A0300A0D2" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">1.2 全球及中国 5G+电力行业发展</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">目前全球已有 42 个国家和地区部署 5G 商用，386 家运营商已宣布对 5G 进行投资，81 家运营商 已经推出了一项或多项支持 3GPP 标准的 5G 服务。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">标准制定</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">标准化将确保连入 5G 网络的各个设备和解决方案的互操作性和网络安全。3GPP（第三代合作伙伴计划）是最重要的 5G 标准制定国际组织，重点覆盖交通、能源等重点通信垂直应用行业相关 单位。该组织目前已成功吸纳中国移动、中国电信、中国联通三大电信运营商及华为、中兴主要 通信设备制造商等来自 40 多个国家的 500 家会员单位。 中国电科院（国网能源互联网技术研究 院）于 2020 年 4 月成功加入 3GPP 国际标准化组织，标志着电力企业在参与 5G 国际标准制定方 面迈出重要步伐。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">2020 年 8 月，由中国电信牵头并联合国家电网、中国南方电网、华为、中国移动、中国联通等 5G 确定性网络产业联盟成员单位，以及海内外运营商、设备商等 28 家成员单位提交的 5G 智能 电网研究项目在 3GPP R18(第 18 版)标准中成功立项。该项目研究范围包括传统能源系统服务、远 程控制、远程保护、计量以及高级计量基础设施、分布式发电、分布式自动化、需求响应、能源 管理系统和配电管理系统等智能电网服务。是第一次定义 5G+智能电网端到端标准体系架构，为 5G+智能电网的快速发展奠定标准框架和平台。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">商用部署</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">全球各国高度重视 5G 发展。欧盟将发展 5G 作为构建“单一数字市场”的关键举措，计划 2020 年 底在所有成员国部署 5G，重点放在 5G 垂直行业如汽车、医疗及电力领域的应用。美国 5G 发展 规划主要围绕美国三大运营商开展，截至目前 AT&amp;T 和 T-Mobile 已宣布实现全美境内的 5G 网络低 频段覆盖。美国 5G 规划重点在于建立共通的 5G 软件标准，使之适用于任何 5G 硬件设备，以摆 脱对5G 设备商的依赖；目前考虑使用美国公司包括戴尔、微软、AT&amp;T 作为发展美国 5G 基础设 施的主导者。2020 年 3 月日本三大电信运营商相继推出 5G 服务，标志日本正式进入 5G 时代。 韩国已经在 2018 年平昌冬奥会期间开展 5G NSA 预商用试验，并在 2019 年 3 月开始商用部署。 中国自 2014 年便开始 5G 场景需求的制定、技术研发和测试验证工作，2018 年全面开展 5G 规模 试验，2019 年实现 5G 试商用，2020 年实现全面商用。 2020 年是中国 5G 建设的关键年。三大运营商计划年底建成 55 万个 5G 基站，其中中国移动计划 目标是 30 万个，中国联通和中国电信计划联合建设 25 万个 5G 基站。然而根据运营商前三季度 财报，5G 建网任务现已超额完成，SA 核心网覆盖 31 个省区市所有地级以上城市。据工信部数 据，至 9 月底，全国累计开通 5G 基站 69 万个，超过全球总数的 75%，连接用户数超过 1.6 亿， 行业应用的基站数超过 3.2 万个，涌现出数据采集和感知、高清视频、机器视觉、精准远程操 控、现场辅助、数字孪生等典型应用场景。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">产业落地</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">2020 年 3 月，工信部与国家发改委印发《关于组织实施 2020 年新型基础设施建设工程(宽带网络 和 5G 领域)的通知》，明确提出了重点支持面向智能电网等七大领域的 5G 创新应用。通知指出 在面向智能电网的 5G 新技术规模化应用方面，将基于 5G 新型网络架构及智能电网场景，开展 5G 端到端网络切片及资源调度系统研发，研发网络关键设备和原型系统，提供融合 5G 技术的智 能电网整体解决方案。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">在国家政策指引下，各地纷纷提出了 5G 智能电网建设计划，雄安、内蒙古、云南、海南等地纷 纷启动 5G 智能电网建设。以雄安为例，5G 正在与电网工程建设深度融合，现已开展基于 5G 网络的电力业务适配性试点验证工作，选取配电自动化、用电信息采集业务进行了业务承载性能测 试。此外，国内首个基于 SA（独立组网）架构的“5G+MEC（移动边缘计算）”电力保护物联示范 工程于 2020 年 10 月在雄安正式投运，核心技术达到国际领先水平。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">电网公司是 5G 智能电网技术攻关及工程实践的引领者和主导者。国家电网开展了广泛的 5G 业务 研究和应用实践，主要在 5G 智能电网架设、控制类业务如配网差动保护、移动巡检类业务如视频交互上着力。国网青岛供电公司、中国电信青岛分公司和华为公司联合开发的青岛 5G 智能电 网项目一期工程于 2020 年 7 月正式交付投产。据报道，此项目既实现了电网对配电线路故障在 几十毫秒内自动切除，又通过削峰填谷电源节省 5G 单基站电耗 20%，缓解“功耗过高”这一困扰 5G 运营的最大难题。南方电网也积极开展了试点和应用合作，重点攻克 5G 智能电网的控制类业 务如配网差动保护。南方电网与中国移动在广州市南沙区明珠湾区域建立最大 5G 智能电网应用 示范区，应用场景达 54 个，目前已完成上线业务 14 个。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">与此同时，运营商也加快了与电力行业开展 5G 合作的步伐，进行了一系列 5G 赋能电力行业的 实践。实践横跨控制类业务如精准负荷控制和配网差动保护，采集类业务如用电信息采集，以及 移动巡检类业务。此外，一些电力设备企业也蓄势待发，积极入场，与通讯设备企业进行深度 合作。</span></p><p><span class="bjh-h3" style="overflow-y: auto; max-width: 100%; display: inline-block; position: relative; padding-left: 9px; font-weight: 700; color: rgb(0, 0, 0);">二、5G 电力行业主要应用场景</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">5G 在电力行业主要有四大应用场景，分别为控制类业务、采 集类业务、移动应用类业务、以及以多站融合为代表的电网 新型业务。在控制类业务中，5G 技术将优化能源配置，避免 大面积停电以影响企业和居民用电，同时也将满足于配电网 实时动态数据的在线监测应用。在采集类业务中，5G 将推动 收集和提供整个系统的原始用电信息。在移动应用类业务 中，5G 预防安全事故和环境污染，减少人工巡检工作量，在 未来可进行简单的带电操作。在多站融合业务中，5G 技术将 推进平台型、共享型企业建设。</span></p><p><img src="https://pics4.baidu.com/feed/314e251f95cad1c892252ee5049c4501cb3d5184.jpeg@f_auto?token=38735de6f44e587039a5a0937c64080d&s=F0E12DE06B368FDE4C78CC080300F0C2" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">2.1 控制类业务</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">电网控制类对通信需求的典型特征是低时延、高可靠、安全性要求高，适合 5G 技术体制下的 uRRLC 应用场景，典型的业务有精准切负荷控制业务和配网差动保护业务。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">2.1.1 精准负荷控制</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">（1）应用场景</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">精准负荷控制技术是指当多直流馈入电网发生多直流连续换相失败和故障导致直流闭锁、受端电 网有功大幅缺额、频率急剧下降时，根据直流损失功率的大小通过精准控制分散性海量电力用户 可中断负荷，实现电网与电源、负荷友好互动，达到电力供需瞬时平衡，支撑能源大范围优化配 置，避免了大面积停电的发生，将电网损失降至最小，对企业和居民用电的影响降至最低。 基于 5G 通信网络的精准负荷控制系统由业务终端、需求响应终端、通信网络和主站系统构成。 其中，业务终端通过本地网络接入楼宇需求响应终端，需求响应终端通过 5G 通信网络接入需求 响应系统主站，具体应用场景如下图所示。</span></p><p><img src="https://pics0.baidu.com/feed/eaf81a4c510fd9f92dead9a45c8ff6222a34a4ad.jpeg@f_auto?token=b24a8d32ee1379874f2f2a7cc490db47&s=601AC532591F40CC187CF5DA000010B2" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">（2）通信需求</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">精准负荷控制系统需快速恢复大电网供需平衡、确保电网频率在直流闭锁故障发生后约 650 毫秒 内恢复至正常值（50Hz），因此主站至终端的切负荷指令通信通道传输时延不能超过 50 毫秒。精 准负荷控制系统整组动作时延越少，恢复电网故障就越快。因此，对通信的时延是越低越好。对 通信的需求中，重点强调时延、可用性、安全性、可靠性。具体通信需求如下：</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">带宽：&lt;256kbps</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">时延：控制主（子）站到终端时延≤50ms</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">通信可靠性：＞99.999%</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">连接密度：&lt;1000 个/百 km</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">网络切片：端到端硬切片，独享切片资源</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">安全：强安全需求，要求资源独享，物理隔离</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">授时精度：&lt;10us</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">通信方式：主从方式，永久在线，连续高频通信；</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">2.1.2 配网差动保护业务</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">（1）应用场景</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">配网差动保护技术作为一种在高压输电网中成熟应用的电网技术，可以很好地解决分布电源接入 对配电网带来的诸多困扰。其原理是配电差动保护终端比较两端或多端同时刻电流值（矢量）， 当电流差值超过整定值时判定为故障发生，断开其中的断路器或开关，执行差动保护动作，从而 实现了配电网故障的精确定位和隔离。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">随着大规模分布式新能源接入配电网，电动汽车充电负荷出现快速增长，用户供需互动日益频 繁，配电网的源、网、荷因其更强的时空不确定性呈现出常态化的随机波动和间歇性，配电网的 双向潮流、多源故障等诸多问题日益凸显。针对配电网多谐波、强噪声的系统特征，采用高精 度、微型化同步相量测量装置（PMU），满足于配电网实时动态数据的在线监测应用。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">配网自动化系统一般由下列层次组成：配电主站、配电子站（常设在变电站内，可选配）、配电 远方终端（FTU、DTU、TTU 等）和通信网络。配电主站负责对整个配电系统建模、实时监控和时 钟同步；配电管理系统负责对整个配电网络进行拓扑动态分析，将拓扑变化数据传递给各个 DTU 或 FTU 终端，同时对各终端的差动保护功能动态分析，并决定其保护功能投入/退出状态。而配网 差动保护作为配网自动化系统的一个子系统，DTU 和 FTU 负责将各自采样数据和跳闸信息传递给 相邻的终端，并收集相邻终端的采样数据和运行信息，通过差动保护算法对故障进行快速响应。</span></p><p><img src="https://pics3.baidu.com/feed/4a36acaf2edda3cc1ea2f6d6784b1b09203f9228.jpeg@f_auto?token=2959e6bd0121239dca0baa727d5ba419&s=0490EC3215CBF54D44C140D80000C0B3" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">（2）通信需求</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">差动保护对电流差值的判断需基于同一时刻的电流值，要求相互关联的两个或多个差动保护终端 必须保证时间同步，其时间同步精度&lt;10μs，交互信息的传输时延最大不超过 12ms(peer to peer 的 最大时延)，对通信的需求中，重点强调时延、可用性、可靠性。具体通信需求如下：</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">带宽：&lt;10Mbps</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">时延：业务系统端到端≤15ms，通信系统端到端≤10ms</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">通信可靠性＞99.999%</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">连接密度：&lt;1000 个/百 km</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">网络切片：端到端硬切片，独享切片资源</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">安全：强安全需求，要求资源独享，物理隔离</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">授时精度：&lt;10us</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">通信方式：多方通信，主从(自动化业务)</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">2.2 采集类业务</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">电网采集类业务对通信需求的典型特征是点多面广，有线通信方式覆盖难度大，对通信时延要求 不高，适合 5G 技术体制下的 mMTC 应用场景，典型的业务有用电信息采集等。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">2.2.1 用电信息采集业务</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">（1）应用场景</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">用电信息采集业务可实现用电信息的自动采集、计量异常监测、电能质量监测、用电分析和管理 等功能，用电信息采集系统由主站、远程及本地通道、集中器和采集器/电表组成，用电信息采集 的数据流向包括上行和下行两类。上行数据流是指低压工商业、居民用户和公配变用户的电能表 数据经过采集器（可选）上传到集中器，集中器经上行通信通道传到用电信息采集系统主站；专 变用户电能表的数据上传到专变终端，专变终端经上行通道传到用电信息采集系统主站。终端多 部署于楼道、屋檐及小区配电房等，部分位于地下室。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">用电信息采集系统在逻辑上分为主站层、通信信道层、采集设备层三个层次。主站层又分为营销 采集业务应用、前置采集平台、数据库管理三大部分。业务应用实现系统的各种应用业务逻辑； 数据采集负责采集终端的用电信息，并负责协议解析；控制执行是业务终端执行控制操作；前置 机用于实现对终端进行通信管理和调度。通信信道层是主站和采集设备的纽带，提供有线和无线 通信信道，为主站和终端的信息交互提供链路基础。主要有：光纤专网、无线公网、无线专网、 中压电力线载波等通信方式。采集设备层是用电信息采集系统的信息底层，负责收集和提供整个 系统的原始用电信息。具体应用场景如下图所示。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">（2）通信需求</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">用电数据采集业务根据不同用户的通信速率不低于 1.05kbps，对于负荷控制指令，传输速率不低 于 2.5kbps。具体通信需求如下：</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">带宽：上行&lt;2Mbps，下行&lt;1Mbps</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">时延：公变/专变检测、低压集抄&lt;3 秒，精准费控&lt;200ms</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">通信可靠性：＞99.99%</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">连接密度：&lt;10000 个/km</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">安全：高安全需求，安全加密认证，安全接入区认证，物联网切片，逻辑隔离</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">通信方式：永久在线，频次≤5 分钟/</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">2.3 移动应用类业务</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">移动应用类业务对通信需求的典型特征是通信带宽要求高，安全性要求高，适合 5G 技术体制下 的 eMBB 应用场景，典型的业务有移动巡检类业务。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">2.3.1 移动巡检类业务</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">（1）应用场景</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">移动巡检类业务主要包含变电站巡检机器人、移动式现场施工作业管控、应急现场自组网综合应 用三大场景。主要针对电力生产管理中的中低速率移动场景，对配电柜、开关柜的图片、视频进 行采集、识別，提取其运行状态、开关资源状态等信息，监控机房整体环境， 预防安全事故和环 境污染，减少人工巡检工作量，避免了人工现场作业带来的不确定性，同时减少人工成本，极大 提高运维效率。未来可进行简单的带电操作。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">变电站巡检机器人业务主要针对场景为 110kV 及以上变电站范围内的电力一次设备状态综合监 控、安防巡视等需求，目前巡检机器人主要使用 WIFI 接入，所巡视的视频信息大多保留在站内本 地，并未能实时地回传至远程监控中心。主要应用场景如下图所示：</span></p><p><img src="https://pics1.baidu.com/feed/a8014c086e061d9588b206eb035628d960d9ca93.jpeg@f_auto?token=4c8217ac001ca9676f81458ce82ed561&s=C090CD32595FD0CC0EED91CE020010B3" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">（2）通信需求</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">未来变电站巡检机器人主要搭载多路高清视频摄像头或环境监控传感器，回传相关检测数据，数 据需具备实时回传至远程监控中心的能力。在部分情况下，巡检机器人甚至可以进行简单的带电 操作，如道闸开关控制等。对通信的需求主要体现在多路的高清视频回传（Mbps 级），巡检机器 人低时延迟的远程控制（毫秒级）。移动巡检业务对未来的通信需求包括：</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">带宽：根据场景不同，要求可持续稳定的保障 4~100Mbps。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">时延：多媒体信息时延要求小于 200ms。控制信息时延迟小于 100ms。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">可靠性：多媒体信息可靠性要求 99.9%，控制信息可靠性要求 99.999%</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">隔离要求：基本属于电网 III 区业务，安全性要求低于 I/II 区。少量控制功能如巡检机器人需</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">远程操作的控制信息属于 I/II 区。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">连接数量：集中在局部区域 2~10 个不等。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">移动性：移动速率相对较低，在 10~120km/h 范围内。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">2.4 电网新型业务</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">电网新型业务是随着智能电网和电力物联网的深入建设而出现的一类业务，这类个性化通信需求 较多，缺乏存量业务前期的通信积累，而 5G 技术的出现，能更好地与传统通信方式结合，满足 各种电网新型业务的个性化通信需求。典型的业务有多站融合业务等。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">2.4.1 多站融合业务</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">（1）应用场景</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">多站融合业务充分利用变电站、新能源场站、储能站、电动汽车充电站、供电营业厅所、抽水蓄 能电站等场地环境建设不同等级和应用场景的数据中心站。数据中心站提供变电站数据的本地存 储与边缘计算能力，网络边缘计算作为云计算的延伸，通过把云计算平台及其能力迁移到变电 站、新能源场站等网络边缘，具备对高带宽、低时延、本地化业务的更强支撑功能，向社会提供 资源共享服务。 多站融合是探索利用变电站资源建设运营数据中心站、5G 基站、北斗地基增强站、充电桩、储能 站等，对内支撑坚强智能电网业务，对外拓展能源服务渠道，助力电力物联网发展，推进电力企 业搭建共享平台，更好的为社会创造价值。典型应用场景如下图所示：</span></p><p><img src="https://pics0.baidu.com/feed/c9fcc3cec3fdfc03fe45130ead9da59ca5c226f5.jpeg@f_auto?token=62c787691685c5828b7d28a11c7d7903&s=5018CC321F024CCA564925D20000C0B2" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">（2）通信需求</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">基于多站融合和边缘计算技术可以开展的相关业务有车联网、高清视频、AR/VR、智慧安防等业 务，对未来的通信需求包括：</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">车联网和高清视频类业务：传输带宽 100Mbps 以上，时延 10ms 以下。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">AR/VR 类业务：传输带宽 100Mbps-1G 之间，时延 5ms 以下。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">智慧安防类业务：传输带宽 20Mbps 以上，时延 20ms 以下。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">连接数量：集中在局部区域 10~1000 个不等。</span></p><p><span class="bjh-h3" style="overflow-y: auto; max-width: 100%; display: inline-block; position: relative; padding-left: 9px; font-weight: 700; color: rgb(0, 0, 0);">三、5G 电力行业应用挑战</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">3.1 安全性与电力业务适配性仍需验证</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">现阶段 5G 垂直行业应用普遍面临 5G 网络覆盖尚不全面、技术成熟度有待提升、应用配套产业处于培育期等问题，电力 行业也不例外。5G 网络与 4G 网络相比，可根据业务需求针 对切片定制安全保护机制，可基于切片实现用户所需安全分 级服务、切片之间的安全隔离，也可实现基于用户虚拟网络 的安全部署和安全管理，在网络设计上强化了安全性。但电 力系统对于通信网络的可靠性和安全性有着特殊的要求，且 5G 网络切片、核心网下沉、超低延时业务承载、海量连接等 网络特征对现有电力安全防护架构及网络管理提出了新的要 求。目前，在尚不成熟的 5G 技术和 5G 商用环境下，5G 技 术如何满足能源互联网下的电力业务安全需求仍有待验证。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">不同主体需要协同配合，明确安全责任边界，同步推进 5G 发展与安全防护。电力企业、网络运 营商和设备供应商需要进一步量化网络的技术指标和架构设 计，包括 5G 网络切片安全性、业务 隔离、端到端业务时延，协商网络能力开放、网络管理界面等要求，以提供满足电力行业多场景 差异化的解决方案，并进行技术验证和示范。同时，发挥政府部门、标准化组织、企业、研究机 构等各方的能动性，打造多方参与的 5G 安全治理体系。</span></p><p><img src="https://pics1.baidu.com/feed/14ce36d3d539b60050526fdd93f21722c75cb762.jpeg@f_auto?token=7252a0315f3d8171b91d2807b785ef08&s=DF14218CE4866AEE1496C58B0300F08B" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">3.2 找到商用价值与成本的平衡点</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">5G 的建设和运营成本仍是行业面临的挑战。运营商曾公开表示，5G 的高成本来自“三个 3”： 5G 基站数量比 4G 多 3 倍 2 ；单座 5G 基站耗电量是 4G 基站的 3 倍；单座 5G 基站的价格可能是 4G 基站的 3 倍。5G 基站功率更大、能耗更高使得建设成本和维护成本大幅增加——据测算一座 宏基站的建设成本（包括主设备、动力配套设施、土建施工、软件费用等）约为 40 万元人民币，单个基站租户年综合电费约为 2-3 万元 3 。一边是快速扩张 5G 基站的需求，一边是尚不明朗 的投资回报和商业模式，企业面临 5G 带来的建设和运维成本压力。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">对运营商而言，2C 用户饱和，市场增长放缓；2B 将成为潜在收入增长点和主要赛道。对电力企 业而言，5G 通信的高速率、高容量、高可靠性、低延时、低能耗与智能电网电力系统可靠性、灵 活响应与协同控制、海量数据传输以及电池寿命与保障的基本需求相匹配。5G 能够助力电网智能 化，并创造新的商业价值。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">在国家推动 5G 超预期提速的背景下，企业找到商用价值与成本的平衡点尤为重要。企业需要选 择最有潜力的应用场景，探索共建共享模式降本增效，从而逐步实现从单点突破到多点突破再到 行业推广。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">3.3 业务模式尚不清晰</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">“5G+电力”的业务模式尚未成形，企业仍在摸索自身定位以及不同定位下的核心业务模式。 以 5G 网络切片服务为例。电网业务主要分为安全生产类、客户服务类、经营治理类和提质增效 类等四个类型。每个类别都有很多不同的具体业务，比如在安全生产中，就包含输电线路在线监 测、无人机巡检、智慧变电、配电物联网、配电网保护、短路电流计算分析等多种应用场景。不 同业务在时延、带宽、连接密度、同步性要求以及可靠性、安全隔离方面都有不同的指标要求 。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">5G 网络切片在隔离性和安全性上可以满足电网不同的业务安全分区隔离需求：电力控制切片可 实现毫秒级低时延， 保证配电控制数据和命令的可靠传输；电力监测切片，可实现海量电表数据 的采集和无人机等智能设备巡检数据的上传；电力通信切片，可满足电力行业专网的安全通话 需求。4 目前网络切片的相关研究和落地仍在发展阶段，电力行业应用有三种潜在业务模式。不同模式 下，电力企业的角色不同，对其资源和能力的要求也不同。相关企业需要共同探索哪种模式更为 可行或找到新的模式（图表 11）。</span></p><p><img src="https://pics1.baidu.com/feed/f11f3a292df5e0fe7ce0a42f25c216a05fdf724a.jpeg@f_auto?token=fec971a973decb9bac0d64f4e14e100f&s=439AC42B19CC70C8045C10CC000080B2" width="640" class="_1g4Ex _1i_Oe"/></p><p><span class="bjh-h3" style="overflow-y: auto; max-width: 100%; display: inline-block; position: relative; padding-left: 9px; font-weight: 700; color: rgb(0, 0, 0);">四、从技术到商业</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">4.1 深度参与标准制定</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">5G 行业标准化是规模化发展的基础。中国企业牵头提交的 5G 智能电网研究项目在 3GPP R18 中成功立项，为 5G+智能 电网端到端标准系体架构奠定基础。中国电科院（国网能源 互联网技术研究院）加入国际标准化组织 3GPP，参与标准制 定，这将使 5G 技术能够更好地服务于垂直行业。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">未来，电力企业可以从标准来源、利益相关者、关键考量因 素和后续跟进几个方面思考如何进一步深度参与 5G 技术标 准制定，推动 5G 在电力行业应用的标准化。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">标准来源</span>： 企业可通过多种方式开发新标准，最常见的来源 包括：修订先前标准、现有实现编篡和满足新兴需求。为满 足新兴需求开发标准要求各参与方达成共识，明确优先满足 哪些需求，再围绕这些需求开发解决方案。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">技术标准利益相关者</span>：在标准开发工作中尝试包含代表各种最终用户、供应商、技术解决方案专 家和标准专家的参与者。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">标准制定考量因素</span>：成为标准机构参与者后，标准开发工作便开始了。 这包括：从工作小组那里 收集需求，确定一套可以相互接受的统一实践，并设计出将成为技术标准基础的技术解决方案， 在这个过程中，还应考虑以下因素，以增加成功机率 5。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">工程实践：同意并确保在制定技术标准时遵守合理的工程实践</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">市场敏锐：了解标准目标市场的价值，并根据这些价值调整设计决策和权衡</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">细节与多样性：避免尝试编纂高度详细的内容以支持高度多样化的应用，标准中的细节应与 服务实践中的多样性相平衡。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">功能性：将标准支持的落地应用和功能（必需或可选）的数量限制在合理范围</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">延展性：了解标准如何支持厂商和用户的自定义使用，尽可能通过定义明确的扩展点和过程 来支持自定义。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">快速落地：与大型的，由多个部分组成的标准相比，规模较小，范围狭窄的标准成功完成和 采用的机会更大。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">后续跟进：</span>许多企业错误地认为，一旦制定并发布了某项标准，采用和遵守该标准便会自成体 系。事实上，发布后采取的行动在很大程度上影响该标准是否能被广泛采用。企业应积极进行市 场宣传、支持互操作性，开发工具帮助供应商的测试开发工作。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">4.2 选择最具潜力应用场景</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">5G 在电力行业应用场景多样，我们需要以发展的眼光看待 5G 在不同场景的应用。目前 5G 标准 还未完成，网络建设优化需要时间，不同时期的 5G 网络将驱动对不同网络成熟度需求的应用场 景。现阶段准确聚焦最有潜力的应用场景成为应用落地成功的基础。德勤从战略意义和市场角度 提出以下五个维度评估 5G 电力行业应用场景潜力。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">战略意义</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">价值创造潜力：有助于填补能源互联网演进过程中电力行业面临的技术或创新差距，可使企业成为未来价值创造者。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">政策规划契合度：该应用的发展有相关政策支持，行业可借助政府扶持加速发展。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">市场潜力</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">电力需求规模：评估该应用场景的市场规模及增速，可以为 5G 在该行业发展提供广阔的商 业化空间。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">商业可行性：具备数字化基础，对 5G 解决方案需求迫切，且对 5G 网络成熟度的要求符合技 术发展现状，适应“以建促用，以用促建”的发展逻辑。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">颠覆性：该应用具有颠覆性影响，可以满足当前未被满足的需求，或使用户消费习惯产生 变革。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">4.3 商业模式创新</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">在由 4G 向 5G 的革新过程中，最重要的变化与其说来自技术层面，不如说在于商业模式。5G 时 代的商业模式将由 B2X 模式 (B2B/B2C/B2G)向 B2B2X 模式转变——即通信运营商在其所构建的 5G 环境中，将某项具有附加价值的服务提供给电力企业，电力行企业发挥中内心作用并向最终用户 提供以前无法做到的新服务。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">5G 应用将打通电力行业三条价值创造途径，包括传统电力业务优化，以数据驱动的价值创造，和 以用户需求为中心的能源消费升级。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">传统电力业务优化</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">5G 赋能传统电力业务优化主要体现在新能源及储能并网、供电可靠性和资产运营效率三方面。 可再生能源发电的大量并网将给电网的运行、管理带来新的挑战。可再生能源本身间歇性、随机 性的特点，给电网功率平衡和运行控制带来困难，其分布式的渗透使配电网由功率单向流动的无 源网络变为功率双向流动的有源网络 6 。随着电网设备、电力终端、用电客户通信需求的爆发式 增长，5G 技术将支持能源领域基础设施的智能化，并支持双向能源分配，并发展新的商业模式以 提高生产、交付、使用和协调有限能源资源的效率。 可靠性方面，5G 独特的可定制化的网络切片技术，可端到端保障电网的高隔离性应用，更好地 满足电力网络对“行业专网”的诉求，为智能电网不同业务提供差异化的网络服务能力。比如上述三大类场景应用，就可以在 5G 网络下并行不悖，满足用户对安全性、可靠性和灵活性的多重 需求。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">资产运营效率提升方面，在变电站机器人巡检等电力生产管理中的中低速率移动场景中，具备大 带宽特性的 5G 网络一方面可以对巡检机器人进行移动/飞行控制，在降低人工成本和安全风险的 同时大幅提升巡检效率，另一方面还能把高清视频图像及时回传到指挥中心做分析处理，提升运 维效率。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">数据驱动的价值创造</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">5G 应用采集类业务场景下，电网企业或电表制造商可以源源不断获取用户的各种能源数据（如用 电功率）和与能源系统运行状态相关的数据（如电网电压）。这些一手数据蕴含解释用户消费习 惯、生活方式等重要信息，可以为政府部门提供宏观经济预测风向标或在其他跨行业领域产生巨 大商业价值。在充分考虑个人隐私安全的前提下，如果进一步对上述一手用能数据、设备运行状态数据等进行 加工与分析，建立大型的数据中心或云平台，可以实现对海量数据的高效管理，并为深度挖掘用 户洞察提供基础。 以数据驱动创新服务备受期待。为用能用户、售电企业、新能源开发企业提供创新服务是 5G 采 集类业务的重要价值体现，可以在用能特性与潜力的挖掘、能源用量预测分析、能源市场交易等 创新服务等方面得到充分应用 7。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">例如，国网大数据中心利用电力大数据打造电力经济指数。电力经济指数利用电力大数据客观、 高频的特点，从电力使用的视角反映区域、产业、行业等不同层面的宏观经济发展状况。依托电 力大数据分析业务，可以实现跨省市和跨行业电力数据的共享，提升区域产业、行业发展态势的 洞悉能力，为政府部门的决策提供数据服务，为行业发展提供支持，为投资提供数据依据 8。 又如 Google 旗下的 Deepmind 团队预测风机功率，提前 36 小时精准预测风力发电量，帮助风电 场运营获得更智能的评估分析 9。通过减少风电的可变性，可再生能源将变得“足够可预测和有 价值”，为风电场运营商提供了更多数据驱动的评估，以满足未来电力的需求，有助于电网实现 电力供需平衡。</span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;"><span class="bjh-strong" style="max-width: 100%; color: rgb(51, 51, 51); font-weight: 700;">以用户需求为中心的能源消费升级</span></span></p><p><span class="bjh-p" style="overflow-y: auto; max-width: 100%;">以用户为中心的消费升级，一方面要满足用户多样化的用能需求，以用户便利作为商业模式的核 心；另一方面还可以诱导性的改变用户消费习惯，提供创新的商品和服务，从而为整个能源系统 创造出新的价值。10 如基于 SaaS 的能效管理平台，对企业、园区、校园等用户的用能状态进行全方位评估，设计个性 化节能方案，即降低用能成本，也使得用户的用能行为对能源系统更友好。又如，整合电网、热 网、气网等能源网络的生产设备与管网资源，搭建多能耦合的综合能源供应系体，向用户提供整 体“用能套餐”，省却用户多家购买的繁琐。 5G 与电力行业融合，是无法由一两家企业完</span></p><p><br/></p>]]></content><pubDate>2023-12-22 18:52:41</pubDate></item><item id="17"><title><![CDATA[技术分享：到底什么是数据中台？终于有人说清楚了!]]></title><link>http://www.diantanyun.com/yunjisuan/show.php?itemid=17</link><thumb>http://www.nengtanyun.cn/file/upload/202312/22/185202771.png</thumb><description><![CDATA[一、关于数据中台「数据中台」作为自己的业务战略方向。在业内率先推出《数据中台专栏V1.0》，阐述自己的数据中台理念和方法论。]]></description><content><![CDATA[<h2 style="font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: inherit; font-optical-sizing: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: 0px 0px calc(1.16667em); clear: left; font-synthesis: style;">一、关于数据中台</h2><p style="margin-top: 1.4em; margin-bottom: 1.4em;">「数据中台」作为自己的业务战略方向。在业内率先推出<a href="https://l<i></i>ink.zhihu.com/?target=https%3A//mp.weixin.qq.com/s%3F__biz%3DMzIzOTEzMDU1Mg%3D%3D%26mid%3D2652272490%26idx%3D1%26sn%3De551354f2433c543fd16580a9edbaedb%26chksm%3Df2cc15bdc5bb9cabe48572fddf16254c625e3a9cf4459bb66bbead836edbcf3231e7b22a1598%26token%3D2134153315%26lang%3Dzh_CN%26scene%3D21%23wechat_redirect" class=" wrap external" target="_blank" style="text-decoration-line: none; border-bottom: 1px solid rgb(129, 133, 143); cursor: pointer;">《数据中台专栏V1.0》</a>，阐述自己的数据中台理念和方法论。基于两年来在数据中台领域的探索和实践经验，推出<a href="https://l<i></i>ink.zhihu.com/?target=https%3A//mp.weixin.qq.com/s%3F__biz%3DMzIzOTEzMDU1Mg%3D%3D%26mid%3D2652272888%26idx%3D1%26sn%3De31e3a7b47eccd7c6817df8bd5298e88%26chksm%3Df2cc1a2fc5bb93398790bea986d2b8e972b48f3b2fad6911157a22bf18d6ab7037a486febcee%26token%3D2134153315%26lang%3Dzh_CN%26scene%3D21%23wechat_redirect" class=" wrap external" target="_blank" style="text-decoration-line: none; border-bottom: 1px solid rgb(129, 133, 143); cursor: pointer;">《数据中台专栏V2.0》</a>升级版。</p><h2 style="font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: inherit; font-optical-sizing: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; font-synthesis: style;">二、 数据中台是理念，是方法论</h2><p style="margin-top: 1.4em; margin-bottom: 1.4em;">【数据中台】理念由阿里云和袋鼠云最先提出。</p><p style="margin-top: 1.4em; margin-bottom: 1.4em;">依托最新的数据采集、加工处理、数据挖掘、机器学习，深度学习等技术，并结合自身多年数据应用经验，打造了袋鼠云数据中台解决方案，致力于构建“全”、“统”、“通”的大数据体系，基于「互联网+」时代的数据价值思考，构建全域数据共享能力中心，助力企业数字化，提升企业竞争力！</p><p><img src="https://pic1.zhimg.com/80/v2-d283afc1084851a6959b71ce1ba0072c_720w.webp" class="origin_image zh-lightbox-thumb lazy" width="1080" height="717"/></p><p style="margin-top: 1.4em; margin-bottom: 1.4em;">数据中台的实质是为企业构建「全域数据的共享能力中心」，提供数据采集、数据建模、数据研发、数据萃取、数据治理、数据服务等全链路一站式服务，构建面向业务应用的数据智能平台。</p><p><img src="https://pic1.zhimg.com/80/v2-8c36563e96fc59b0123cad60200df14c_720w.webp" class="origin_image zh-lightbox-thumb lazy" width="1080" height="896"/></p><p style="margin-top: 1.4em; margin-bottom: 1.4em;">很多人会认为，【数据中台】只是一个炒出来的词汇，听起来和传统的数据仓库没有什么不同啊。</p><p style="margin-top: 1.4em; margin-bottom: 1.4em;">针对这个问题，我们总结了「数据中台」和「数据仓库」的几个明显的优越性：</p><ul style="margin-top: 1.4em; margin-bottom: 1.4em; padding: 0px; width: 690px; display: table;" class=" list-paddingleft-2"><li><p><span style="font-synthesis: style; font-weight: 600;">分布式数据平台</span><br/>传统数仓以单机关系型数据库离线分析为主；<br/>数据中台以分布式引擎架构，同时支持离线计算/实时计算/即时计算/智能计算。</p></li><li><p><span style="font-synthesis: style; font-weight: 600;">数据源丰富性</span><br/>传统数仓以业务数据库的结构化数据为主；<br/>数据中台涵盖业务数据、日志数据、行为埋点数据、IoT数据、爬虫数据、外部数据等。</p></li><li><p><span style="font-synthesis: style; font-weight: 600;">建设模式方法论</span><br/>传统数仓往往采用自顶向下的建设模式，以明确的业务分析驱动，延续性低；<br/>数据中台采用自底向上的方式，结合业务需求变化不断迭代升级。</p></li><li><p><span style="font-synthesis: style; font-weight: 600;">数据开发一站式</span><br/>传统数仓往往将ODS、EDW和ETL开发切割到不同厂商工具实现；<br/>数据中台则主张一站式可视化数据开发，借助分布式技术的力量简化数据加工处理的过程。</p></li><li><p><span style="font-synthesis: style; font-weight: 600;">数据资产在线化</span><br/>传统数仓的数据管理和治理，往往花费大量精力，最终形成的是离线的规范和文档；<br/>数据中台则强调元数据管理统一入口的自动化和数据资产管理的在线化。</p></li><li><p><span style="font-synthesis: style; font-weight: 600;">数据应用创新</span><br/>传统数仓的数据应用以某个业务主题的BI报表和决策支持为主，相对来说目的性较为单一，而且各部门有不同的应用，建设方式呈烟囱式；<br/>数据中台则主张打通数据孤岛，建设全域数据，释放数据应用创新的能量。</p></li></ul><p style="margin-top: 1.4em; margin-bottom: 1.4em;">和传统企业可能某一个IT部门去自建一个数据仓库不同，今天我们谈，企业构建数据中台架构，是需要从集团战略层面来规划和推动的。在执行落地层面，则需要专业高端的人才，靠谱的合作厂商，完善的实施方法论，成熟的，低门槛的，高性价比的产品。</p><p><img src="https://pic1.zhimg.com/80/v2-394928c11f1bb77295001cf14f3c3f04_720w.webp" class="origin_image zh-lightbox-thumb lazy" width="1080" height="664"/></p><p style="margin-top: 1.4em; margin-bottom: 1.4em;"><span style="font-synthesis: style; font-weight: 600;">如果说，袋鼠云数据中台是方法论，是理念；那么袋鼠云数栈产品则是平台、是生产力工具。两者相辅相成，相互依托。</span></p><p><img src="https://pic1.zhimg.com/80/v2-707cb40c28bf5eec39b0ff9e2ba432cc_720w.webp" class="origin_image zh-lightbox-thumb lazy" width="1080" height="1105"/></p><h2 style="font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: inherit; font-optical-sizing: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; font-synthesis: style;"><span style="font-synthesis: style;">三、数栈则是工具，是产品</span></h2><p style="margin-top: 1.4em; margin-bottom: 1.4em;">数栈是企业级一站式数据中台PaaS，致力于屏蔽开源大数据引擎的复杂性，帮助用户降低大数据技术门槛、沉淀企业数据资产、治理数据问题，提供集数据采集、数据模型、 数据计算和萃取、数据治理、数据资产、数据服务全链路的一站式产品，助力客户高效、高质搭建自有的数据中台。</p><p><img src="https://pic4.zhimg.com/80/v2-e08f872823bde65663fcedb6690eeec3_720w.webp" class="origin_image zh-lightbox-thumb lazy" width="1080" height="436"/></p><h2 style="font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: inherit; font-optical-sizing: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: calc(2.33333em) 0px calc(1.16667em); clear: left; font-synthesis: style;">四、企业建设数据中台为什么要选择袋鼠云数栈？</h2><p style="margin-top: 1.4em; margin-bottom: 1.4em;">相比开源的其他厂商的大数据平台架构，袋鼠云数栈具有以下特性：</p><p><img src="https://pic2.zhimg.com/80/v2-06801b237a0342484acb5ca8d455e6e1_720w.webp" class="origin_image zh-lightbox-thumb lazy" width="1080" height="538"/></p><ul style="margin-top: 1.4em; margin-bottom: 1.4em; padding: 0px; width: 690px; display: table;" class=" list-paddingleft-2"><li><p><span style="font-synthesis: style; font-weight: 600;">一站式产品体系，覆盖数据全链路开发流程</span><br/>平台覆盖全链路的数据采集、数据分析、数据挖掘、任务运维、数据质量、数据地图、数据模型、数据API开放等场景，充分满足企业建设数据中台过程中的多样复杂需求。</p></li><li><p><span style="font-synthesis: style; font-weight: 600;">兼容开放，与市面多种计算引擎兼容</span><br/>兼容市面主流大数据平台，例如：Hadoop、Cloudera、Hortonworks、FusionInsight等，或者基于数栈自有计算引擎，可以快速完成大数据平台从0到1的搭建。</p></li><li><p><span style="font-synthesis: style; font-weight: 600;">开箱即用，从入门到熟练开发仅需3天时间</span><br/>基于WEB的图形化操作界面，快速上手，屏蔽底层复杂的基础组件，极大降低企业大数据开发学习门槛，从入门到熟练开发仅需3天时间。</p></li><li><p><span style="font-synthesis: style; font-weight: 600;">弹性轻量，灵活匹配数据中台阶段性建设</span><br/>最小仅需5台虚拟机，企业已采购硬件不限硬件厂商、不限型号，不限使用年限，各功能模块可按需搭配，可灵活弹性建设数据中台，降低企业一次性投入成本。</p></li></ul><p class="ztext-empty-paragraph" style="margin-top: -0.8em; margin-bottom: -0.8em;"><br/></p><p><br/></p>]]></content><pubDate>2023-12-22 18:49:48</pubDate></item><item id="13"><title><![CDATA[数据中台解决方案]]></title><link>http://www.diantanyun.com/yunjisuan/show.php?itemid=13</link><thumb>http://www.nengtanyun.cn/file/upload/202312/22/181322121.png</thumb><description><![CDATA[十四五规划，企业数字化转型势在必行，数据治理和数据资产建设是转型的必经之路。如何通过数据治理建立企业的数据资产成为企业数]]></description><content><![CDATA[<p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">十四五规划，企业数字化转型势在必行，数据治理和数据资产建设是转型的必经之路。如何通过数据治理建立企业的数据资产成为企业数字化转型的刚需。</span></span><span style=";font-family:宋体;font-size:16px">数据中台</span><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">（</span></span><span style=";font-family:宋体;font-size:16px"><span style="font-family:Calibri">Center stage</span></span><span style=";font-family:Calibri;font-size:16px">)<span style="font-family:宋体">以软件定义数据智能基础设施，通过大数据技术夯实企业数字化转型的技术底座，为企业提供一站式全链路全可视化的数据中台产品，以及基于大数据技术工程能力、全域数据资产管理及大数据工作开展方法论构成的完整数据中台解决方案。</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:center"><img src="http://www.nengtanyun.cn/file/upload/202312/22/181149181.png" title="" alt=""/><span style=";font-family:Calibri;font-size:16px">&nbsp;</span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:center"><span style=";font-family:宋体;font-size:16px">数据中台</span><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">数据中台产品矩阵</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><strong><span style="font-family: Calibri"><span style="font-family:宋体">三大核心场景具备业内领先优势</span></span></strong></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:宋体;font-size:16px">数据中台</span><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">数据中台解决方案，通过一线互联网大数据技术工程能力，帮助企业进行离线</span>/<span style="font-family:宋体">实时数据的汇聚和数据标准化的处理，通过数据治理形成数据资产，实现数据挖掘模型构建、数据服务输出面向应用等场景的数据全流程体系，融合了数据资产建设理念，覆盖数据全生命周期。支持国产操作系统部署，在数据汇聚、数据治理、数据资产管理等场景中具备业内领先的优势。</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:Calibri;font-size:16px"><span style="font-family:Calibri">·</span><span style="font-family:宋体">数据汇聚</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">无需任何代码，界面化配置完成多种异构数据源的灵活接入。大数据量的同步在业内具备明显优势，可以达到亿级数据分钟级的同步处理速率。数据源支持各种国产数据库。</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:Calibri;font-size:16px"><span style="font-family:Calibri">·</span><span style="font-family:宋体">数据治理</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">通过融合数据治理、数据资产建设理念的数据中台产品，来完成数据治理工作。涵盖数据标准、规范、流程制度、元数据管理、数据质量管理、数据安全管理，通过综合方案确保数据资产在</span><span style="font-family:Calibri">“</span><span style="font-family:宋体">存、管、用</span><span style="font-family:Calibri">”</span><span style="font-family:宋体">等各个环节中的数据质量，做到</span><span style="font-family:Calibri">“</span><span style="font-family:宋体">事前可管、事中可控、事后可查</span><span style="font-family:Calibri">”</span><span style="font-family:宋体">。</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:Calibri;font-size:16px"><span style="font-family:Calibri">·</span><span style="font-family:宋体">数据资产</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">数据中台为企业建立数据资产门户、数据资产目录、资产地图、数据主题域，结合全域数据资产建设方法论，完成数据集成、治理、挖掘、开放服务输出的完整闭环，实现数据的标准化、资产化、服务化，让数据高效的发挥价值。</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><strong><span style="font-family: Calibri"><span style="font-family:宋体">三大核心能力助力企业降本增效</span></span></strong></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:宋体;font-size:16px">数据中台</span><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">数据中台具备三大核心能力，解决企业在数据开发管理和数据治理中的各类痛点问题。</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:Calibri;font-size:16px"><span style="font-family:Calibri">·</span><span style="font-family:宋体">技术产品化</span><span style="font-family:Calibri">——</span><span style="font-family:宋体">技术降本</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:宋体;font-size:16px">数据中台</span><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">数据中台将大数据技术产品化，屏蔽底层技术，降低开发门槛，帮助企业降低技术投入成本。</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:Calibri;font-size:16px"><span style="font-family:Calibri">·</span><span style="font-family:宋体">服务共享化</span><span style="font-family:Calibri">——</span><span style="font-family:宋体">应用提效</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:宋体;font-size:16px">数据中台</span><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">数据中台通过共享协作机制，支持企业内多个团队协同开发，避免重复造轮子，可以快速支撑响应企业前台业务的数据需求，提升数据应用的效率。</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:Calibri;font-size:16px"><span style="font-family:Calibri">·</span><span style="font-family:宋体">数据开放化</span><span style="font-family:Calibri">——</span><span style="font-family:宋体">业务赋能</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:宋体;font-size:16px">数据中台</span><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">数据中台通过面向企业不同角色的一站式产品功能，降低不同部门使用数据的门槛，结合数据权限管控功能，面向不同角色实现业务赋能。</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:center"><img src="http://www.nengtanyun.cn/file/upload/202312/22/181235361.png" title="" alt=""/><span style=";font-family:Calibri;font-size:16px">&nbsp;</span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><strong><span style="font-family: Calibri"><span style="font-family:宋体">数据中台加速企业数字化转型</span></span></strong></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:Calibri;font-size:16px"><span style="font-family:Calibri">·</span><span style="font-family:宋体">政府行业</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:宋体;font-size:16px">数据中台</span><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">数据中台将现有政务信息迁移、整合至符合信创要求的政务云平台，形成基于安全可靠技术的智慧数据库，为数据的统一存储、共享开放、深度挖掘分析提供国产化技术支撑，项目完成了</span>32<span style="font-family:宋体">个省、市政务信息数据库建设和数据汇集，实现现有业务系统不同应用之间的数据共享。</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:Calibri;font-size:16px"><span style="font-family:Calibri">·</span><span style="font-family:宋体">金融行业</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:宋体;font-size:16px">数据中台</span><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">为互联网金融业务提供数据中台服务，新架构数据处理从小时级别提升到分钟级别；数据服务从原来的分钟级别提升到毫秒级别；数据计算量从千万级提升到数十亿级别；提升项目开展效率，数据项目周期缩短了</span>1/2<span style="font-family:宋体">。</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:Calibri;font-size:16px"><span style="font-family:Calibri">·</span><span style="font-family:宋体">教育行业</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">国内知名教育集团通过</span></span><span style=";font-family:宋体;font-size:16px">数据中台</span><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">数据中台服务，提升不同角色业务人员提取数据的效率，由传统的</span>IT<span style="font-family:宋体">排期的</span><span style="font-family:Calibri">T+N</span><span style="font-family:宋体">，提升至自主随时提取；帮助集团构建全域数据资产，辅助驱动决策和精细化运营；改善以往数据库层面重复拉取数据进行分析的情况，由数据中台统一服务，数据分析成本降到原来的</span><span style="font-family:Calibri">1/3</span><span style="font-family:宋体">，且确保数据一致性。</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:Calibri;font-size:16px"><span style="font-family:Calibri">·</span><span style="font-family:宋体">通信行业</span></span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding:0 0 0 0 ;text-autospace:ideograph-numeric"><span style=";font-family:宋体;font-size:16px">数据中台</span><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">数据中台服务国内某大型通信运营商，统一对集群、任务、数据资产、数据开发进行管理，提升开发协作效率和数据资产管理能力；将数据处理的各个环节自动沉淀为数据资产，更清晰的追踪数据的用途和产生的价值；以共享协作开放能力面向各省公司完成开放赋能，支持各省分公司自主灵活的获取和分析数据。</span></span></p><p style="margin: 0px; padding: 0px;"><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">目前，</span></span><span style=";font-family:宋体;font-size:16px">数据中台</span><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">（</span></span><span style=";font-family:宋体;font-size:16px"><span style="font-family:Calibri">Center stage</span></span><span style=";font-family:Calibri;font-size:16px"><span style="font-family:宋体">）已经成功为政府、金融、新零售、互联网、教育、传统工业、通信等行业客户提供新基建的核心数据工程能力建设，升级企业数据治理，完成企业核心数据资产的构建，加快助推数字经济赋能产业转型升级，夯实数字经济创新之基。</span></span></p>]]></content><pubDate>2023-12-22 17:57:52</pubDate></item><item id="12"><title><![CDATA[对“天枢一号”了解多少？]]></title><link>http://www.diantanyun.com/yunjisuan/show.php?itemid=12</link><thumb>http://www.nengtanyun.cn/file/upload/202306/27/184718911.png</thumb><description><![CDATA[一、什么是天枢一号？天枢一号是国家电投集团具有完全自主知识产权、统一品牌的综合智慧能源数字化、智能化、智慧化管控与服务平]]></description><content><![CDATA[&nbsp;<span style="font-weight: 600; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium;">一、什么是&quot;天枢一号&quot;？</span>
<p data-pid="YsLpBP_Q" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">&ldquo;天枢一号&rdquo;是国家电投集团具有完全自主知识产权、统一品牌的综合智慧能源数字化、智能化、智慧化管控与服务平台。集成了能源监视、预测、调控、分析、运维和服务等九类功能于一体，可实现综合能源智慧化管理。</p>
<p data-pid="SfgpiUy8" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">采用&ldquo;横向跨界融合、纵向业务贯通&rdquo;的系统集成理念，以&ldquo;天枢一号&rdquo;为核心，构建能源网，通过数据共享、 业务互通；联通政务网，与交通、安防、农业、医疗、教育等领域相融合，使城市治理更有效率、更高质量、 更可持续；联通社群网，与电商、出行、旅游等优质平台共同提供更丰富、更便捷、更优质的一体化服务， 打造&ldquo;天枢云&rdquo;生态，实现&ldquo;三网融合&rdquo;，支撑智慧城市、美丽乡村建设。</p>
<p data-pid="CIIlfw8J" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;"><span style="font-synthesis: style; font-weight: 600;">二、&quot;天枢一号&quot;有什么优势？</span></p>
<p data-pid="Wf8_k8nL" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">国家电投综合智慧能源科技有限公司是创新型科技公司，是统筹综合智慧能源、氢能、储能领域产业发展、技术创新和品牌建设的主要载体，国家电投集团新产业、新业态、新模式发展的规划咨询、技术创新、技术支持和专业化建设服务平台。</p>
<p data-pid="boPbCvHd" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;"><span style="font-synthesis: style; font-weight: 600;">（一）团队优势</span></p>
<p data-pid="rUvYZAgi" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">下设天枢中心，专注国家电投集团天枢体系的技术、研发、项目和运营等工作，为三网融合业务发展提供技术支撑。</p>
<p data-pid="e4KGyEQl" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;"><span style="font-synthesis: style; font-weight: 600;">（二）技术优势</span></p>
<p data-pid="yVNpo2q-" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">1.边缘智慧能力：提供适用于综合智慧能源、三网融合各种场景地智慧边缘能力，建立云边协同标准智慧物联网体系。</p>
<p data-pid="cO4y5xKt" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">2.业务中台能力：融合互联网与工控技术，安全可靠；建立敏捷开发、快速迭代的开发运维一体化平台，支撑综合智慧能源、三网融合业务和场景应用的快速开发与运维。</p>
<p data-pid="n1WGUIIM" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">3.业务应用能力：提供专业化应用，实现综合智慧能源各环节优化和效率提升，为用户带来经济、高效、绿色的用能体验。</p>
<p data-pid="p7LU0GXQ" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">4.运营服务能力：实现与互联网平台的账号打通、积分打通、权益打通、服务打通，提供安全互信的三网融合运营服务能力。</p>
<p data-pid="hlMYuumG" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;"><span style="font-synthesis: style; font-weight: 600;">（三）专业优势</span></p>
<p data-pid="xyuabsXG" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">1.丰富案例积累,覆盖多领域、全场景。</p>
<p data-pid="SGaIwwMh" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">2.大量示范级项目成功落地部署,平台在实战案例中历经打磨、优化迭代，与同类平台相比更加成熟、完善。</p>
<p data-pid="WnjDeFz-" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;"><span style="font-synthesis: style; font-weight: 600;">三、&ldquo;天枢一号&rdquo;能为客户提供什么？</span></p>
<p data-pid="_8QkK1jb" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;"><span style="font-synthesis: style; font-weight: 600;">1.项目开发单位</span></p>
<p data-pid="HYzmjmYS" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">面向综合智慧能源项目开发单位。</p>
<p data-pid="4vKDqm_H" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;"><span style="font-synthesis: style; font-weight: 600;">2.科学可信的决策助手</span></p>
<p data-pid="KngaO2wp" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">通过多维度评估项目建设可行性，高效筛选，为项目规划建设提供最优解决途径。</p>
<p data-pid="WJe8KeFh" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;"><span style="font-synthesis: style; font-weight: 600;">3.能源运营单位</span></p>
<p data-pid="7IqA21L7" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">面向能源场站运营公司，如风电场、光伏电站、核电站等。</p>
<p data-pid="3hnLteXY" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;"><span style="font-synthesis: style; font-weight: 600;">4.统领全局的智慧管家</span></p>
<p data-pid="4SQepJXO" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">（1）将&ldquo;源-网-荷-储&rdquo;各环节数据、核心指标全局展示，一目了然。</p>
<p data-pid="cMK5zhbw" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">（2）基于历史数据和气象信息，借助先进算法，预测用户能源需求，进行多能流优化配置、削峰填谷、协同互补等优化调度，提升能源使用率，让综合智慧能源更挣钱、更节约、更绿色。</p>
<p data-pid="jgUUsXYi" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">（3）采用大数据，深度挖掘系统节能潜力，为降低售能价格提供精准指导。</p>
<p data-pid="kQ1WK6Zr" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">（4）基于设备历史数据进行可靠性分析，预警故障，主动维护设备。</p>
<p data-pid="9wu37RbZ" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;"><span style="font-synthesis: style; font-weight: 600;">5.能源服务单位</span></p>
<p data-pid="fvfzl8eK" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">面向集团内配售电公司、节能服务公司等专业能源服务公司。</p>
<p data-pid="qEXJ-TV7" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;"><span style="font-synthesis: style; font-weight: 600;">6.最懂用户的贴心服务</span></p>
<p data-pid="IU7zIt4L" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">为终端用户提供用能查询、合约管理、套餐管理、计划计量管理、交费充值、统计、报修等一站式线上客服功能。</p>
<p data-pid="QqnIQfMJ" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;"><span style="font-synthesis: style; font-weight: 600;">四、&ldquo;天枢一号&rdquo;一般应用在哪里？</span></p>
<p data-pid="ExeV90d5" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">（一）智慧城镇型：智慧城区南方智慧供冷北方智慧供热增量配电网，智慧县域、绿色交通、美丽乡村、智慧农业。</p>
<p data-pid="Zw_YFjOG" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">（二）集群楼宇型：医院、学校、办公楼、军营哨所大型商业、固定场站、数据中心。</p>
<p data-pid="NYbka7M6" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">（三）产业园区型：街区、空港、港口、海岛高铁站、园区储能、智慧社区、工业园区、智慧矿山、酒厂（酒庄）、智慧铝电。</p>
<p data-pid="uiFa1hAj" style="margin: 1.4em 0px 0px; color: rgb(18, 18, 18); font-family: -apple-system, Bl<i></i>inkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium; text-indent: 0px;">（四）能源基地型：核能+、光伏+、煤电+、水电+、风电+。</p>]]></content><pubDate>2023-06-27 18:46:32</pubDate></item><item id="10"><title><![CDATA[VMware：OpenStack与Kubernetes相辅相成]]></title><link>http://www.diantanyun.com/yunjisuan/show.php?itemid=10</link><thumb>http://www.nengtanyun.cn/file/upload/202312/22/221730601.png</thumb><description><![CDATA[近日，VMwareVIO（VMware Integrated OpenStack）团队发表技术博客：OpenStack and KubernetesBetterTogether，强调OpenStack与]]></description><content><![CDATA[<p><span style="font-size:14px;color:rgb(136,136,136);"><span style="color:rgb(136,136,136);font-size:14px;text-align:justify;">&nbsp;&nbsp; 近日，VMware &nbsp;VIO（VMware Integrated OpenStack）团队发表技术博客：OpenStack and Kubernetes &nbsp;Better &nbsp;Together，强调OpenStack与Kubernetes是相辅相成的。该文章认为，OpenStack通过提供K8S范围之外的一些服务，如多租户、基于配额的基础设施分配、集成用户管理等，成为了K8S的完美补充。同时，该文章也认为“虚拟机也被证明常用于补充容器的工作负载。”</span></span></p><p style="text-align:justify;"><span style="color:rgb(89,89,89);font-size:15px;letter-spacing:.5px;">在今天DevOps驱动的环境中，通过将应用程序作为微服务交付，企业可以更快地提供功能。将单体应用程序拆分为基于容器的多个可移植片段通常是大多数企业的数字化转型战略的重头。虚拟机，在上个世纪90年代末期就已经出现，以IaaS交付，它是一种抽象硬件，提供在容错性、可编程性和工作负载可扩展性上的增强特性。</span></p><p style="text-align:justify;"><span style="color:rgb(89,89,89);font-size:15px;letter-spacing:.5px;"><br/></span></p><p style="text-align:justify;"><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;">尽管大大小小的企业IT都在急于将应用重构为微服务，但实际上IaaS已经被证明并且经常用于补充基于容器的工作负载：</span><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;"><br/></span></p><p style="text-align:justify;"><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;">1）我们一直将IaaS层视为基础架构的抽象，提供管理和整合不同物理资源的标准方法。资源抽象是当今大多数容器在虚拟机内运行的诸多原因之一。</span><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;"><br/></span></p><p style="text-align:justify;"><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;">2）今天的分布式应用程序包括Cattles和Pets。在不过度泛化的情况下，宠物工作负载往往是“手工喂养”的，并且往往对与容器不兼容的传统操作系统有很大的依赖性。因此，对于大多数企业来说，宠物工作负载将继续作为虚拟机运行。</span><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;"><br/></span></p><p style="text-align:justify;"><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;">3）虽然容器化NFV工作负载有相当多的好处，</span><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;">但目前的容器实现还不足以满足100％的NFV工作负载需求。有关更多详细信息，请参阅IETF报告。</span><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;"><br/></span></p><p style="text-align:justify;"><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;">4）能够对需要多个环境进行不同测试的开发/测试工作负载的容器主机进行“适当大小”调整。</span><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;"><br/></span></p><p style="text-align:justify;"><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;">随着时间的推移，两种技术已经被证明是相辅相成，而非相互排斥。只要存在传统的工作负载和更好的管理和整合不同的物理资源的需求，虚拟机（IaaS）将会共存以补充容器。</span><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;"><br/></span></p><p style="text-align:justify;"><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;">OpenStack IaaS和Kubernetes容器编排</span><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;"><br/></span></p><p style="text-align:justify;"><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;">这是一个多云世界，而OpenStack是这个世界的重要组成部分。从数据中心到NFV，由于其独立于供应商的API的丰富性，OpenStack云正在部署以满足企业在私有云数据中心中提供公有云（如IaaS消费）的需求。</span><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;"><br/></span></p><p style="text-align:justify;"><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;">通过提供K8S范围之外的以下服务，OpenStack将是K8S的完美补充。在大多数情况下，Kubernetes部署可以利用相同的OpenStack组件来简化部署或优化开发体验：</span><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;"><br/></span></p><p style="text-align:justify;"><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;">1）多租户：利用 OpenStack 项目创建 K8S 集群。开发团队可以完全控制项目中的集群资源，并且对其他开发团队或项目的可视性为零。</span><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;"><br/></span></p><p style="text-align:justify;"><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;">2）基于 HW 分离的基础设施使用情况：IT部门往往是整个组织的开发团队的核心代理人。如果开发团队A被分配了X台服务器，B团队获得了Y台服务器，则OpenStack Scheduler可以确保K8S群集资源准确映射到分配给各个开发团队的硬件上。</span><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;"><br/></span></p><p style="text-align:justify;"><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;">3）基于配额的基础设施分配：决定分配给哪些用例，每个用例多少基础设施，可能会非常棘手。组织也可以利用OpenStack配额系统来控制基础设施的使用。</span><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;"><br/></span></p><p style="text-align:justify;"><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;">4）集成用户管理：由于大多数K8S开发者也是IaaS消费者，所以利用keystone后端简化了K8S集群和命名空间共享的用户验证。</span><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;"><br/></span></p><p style="text-align:justify;"><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;">5）容器存储持久性：由于K8S容器不耐用，存储持久性是大多数有状态工作负载的要求。在利用OpenStack Cinder后端时，存储卷将在相同或不同节点重新启动后自动重新连接。</span><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;"><br/></span></p><p style="text-align:justify;"><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;">6）安全性：对于大多数企业和 NFV 应用来说，VM和容器还将继续共存。因此提供统一的安全监控至关重要。利用Neutron与行业领先的SDN控制器（如VMware NSX-T）进行集成，可以简化容器安全插入和实施。</span><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;"><br/></span></p><p style="text-align:justify;"><span style="color:rgb(89,89,89);letter-spacing:.5px;font-size:15px;">7）容器控制平面灵活性：K8S HA要求多主机负载均衡和可伸缩工作节点。与OpenStack集成时，就像利用LBaaSv2来实现主节点负载均衡一样简单。工作站节点可以使用OpenStack原生工具进行扩展和缩减。通过VMware &nbsp;Integrated OpenStack（VIO），K8S工作站节点还可以使用VM实时调整大小功能来垂直扩展。</span></p>]]></content><pubDate>2018-08-02 14:30:26</pubDate></item><item id="9"><title><![CDATA[Kubernetes 有状态集群服务部署与管理]]></title><link>http://www.diantanyun.com/yunjisuan/show.php?itemid=9</link><thumb>http://www.esgco2.com/file/upload/202304/05/192544301.jpg</thumb><description><![CDATA[Kubernetes 有状态集群服务部署与管理在容器化时代，除了无状态的容器服务，比如Web服务器，用户也越来越多地使用容器部署有状态]]></description><content><![CDATA[<h1 id="articleTitle">Kubernetes 有状态集群服务部署与管理</h1>
<p>在容器化时代，除了无状态的容器服务，比如Web服务器，用户也越来越多地使用容器部署有状态的应用，比如MySQL、Redis、Cassandra等。这些Pets（运行有状态服务的容器，需要特殊处理）就带来了新的需求，包括更长的生命周期，配置依赖，有状态的故障转移等。</p>
<p>本次分享将深入介绍Kubernetes如何满足有状态集群服务对容器编排系统提出的新需求，包括如何使用Kubernetes的动态存储请求与分配机制来实现服务状态的持久化存储，以及与高效部署和运行有状态集群服务相关的Kubernetes新特性，如Init  Container、PetSet  （StatefulSet）等。最后通过一个MySQL集群实例详解在Kubernetes中如何轻松部署一个高可用的有状态集群服务并实现自动化管理。</p>
<h3 id="articleHeader0">大纲：</h3>
<p>- Kubernetes简介和运行有状态集群服务的挑战</p>
<p>- Kubernetes 存储系统</p>
<p>- Kubernetes 有状态集群服务相关特性</p>
<p>- 实战：在Kubernetes上部署和管理MySQL集群</p>
<h3 id="articleHeader1">正文：</h3>
<p>在容器化时代，除了无状态的容器服务，比如Web服务器，用户也越来越多地使用容器部署有状态的应用，这就对容器编排系统提出了新的需求。</p>
<p>我今天要和大家分享的主题就是如何在目前主流的容器云平台Kubernetes 上部署和管理有状态集群服务。</p>
<p>这次分享的关键词有两个： <strong>一个是Kubernetes， 另一个是有状态集群服务。</strong></p>
<p>我们会在第一部分了解一下什么是 Kubernetes，以及运行有状态集群服务面临的一些挑战。</p>
<p>接下来的两部分我们会重点介绍 Kubernetes 是如何应对这些挑战，以及通过哪些特性来解决有状态集群服务所特有的一些问题。</p>
<p>最后一部分是实战，通过一个MySQL集群的例子来展示如何在Kubernetes上轻松地部署和管理一个有状态集群服务。</p>
<p>首先来看什么是Kubernetes？</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143536_306.png" alt="" /></p>
<p>简单一句话来说，Kubernetes是一个运行和管理容器的平台。它在Docker、rkt等容器运行时之上，实现了容器的集群化和高可用。</p>
<p>Kubernetes简称K8S， 来自Google，支持多种云计算环境，并且100% 开源，是云原生计算基金会的一部分，用Go语言开发的。</p>
<p>这里是Kubernetes的一些基本概念。</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143536_912.png" alt="" /></p>
<p>其中最核心的一个概念是Pod，它是Kubernetes对容器进行的封装，是Kubernetes管理的最小单位。</p>
<p>Pod通过Deployment来部署，Deployment会创建一个Replica Set 来保证Pod的个数始终是一个指定的值 。</p>
<p>Pod一般不直接对外提供服务，而是通过Service对外提供一个稳定的访问接口，一个Service后面可以挂多个Pod实例 。</p>
<p>Service是如何找到它匹配的Pod呢？靠的是Label。Label是联系各个K8S资源的纽带。Replica Set 和它管理的Pod之间也是通过 Label 来关联的。</p>
<p>如果Pod里的容器运行的是有状态服务，如数据库与缓存等，还需要挂载存储卷，用于存储服务状态。</p>
<p>讲完原理，我们来看一个实例。</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143536_529.png" alt="" /></p>
<p>这是一个在K8S集群里运行的容器化应用案例，这个应用有自己的Web 客户端，同时还从Twitter采集数据，处理完后存储到自己的DB。</p>
<p>可以看到容器里跑的服务有两类，无状态和有状态。像Web服务器，流处理器等无状态服务出现问题后，直接杀掉，新建一个，管理起来非常简单。</p>
<p>但是对有状态服务，像数据库，它要求有更长的生命周期。在一个集群的情况下，集群成员之间如何能保持稳定的成员关系？这都对容器编排系统提出了新的挑战。</p>
<p>那么K8S是如何应对这些挑战的呢？</p>
<p>K8S运行的服务，从简单到复杂可以分成三类：无状态服务、普通有状态服务和有状态集群服务。下面分别来看K8S是如何运行这三类服务的。</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143537_787.png" alt="" /></p>
<p>首先无状态服务，K8S使用RC（或更新的Replica Set）来保证一个服务的实例数量。通过Service来对外提供一个稳定的访问接口。</p>
<p>然后是普通有状态服务，它多了状态保存的需求。Kubernetes提供了以Volume和Persistent Volume为基础的存储系统，可以实现服务的状态保存。</p>
<p>最后是有状态集群服务，它又多了集群管理的需求。K8S为此开发了一套以Pet Set为核心的全新特性，方便了有状态集群服务在K8S上的部署和管理。</p>
<p>下面我们首先来看Kubernetes如何满足&ldquo;状态保存&rdquo;的需求。</p>
<p>K8S的存储系统大致分为三个层次：普通Volume，Persistent Volume 和动态存储供应。</p>
<p>对普通Volume，最简单的一种是&ldquo;单节点存储卷&rdquo;。它和Docker的存储卷类似，使用的是Pod所在K8S节点的本地目录。</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143537_556.png" alt="" /></p>
<p>具体有两种，一种是 emptyDir，是一个匿名的空目录，由Kubernetes在创建Pod时创建，删除Pod时删除。</p>
<p>另外一种是 hostPath，与emptyDir的区别是，它在Pod之外独立存在，由用户指定路径名。</p>
<p>这类和节点绑定的存储卷在Pod迁移到其它节点后数据就会丢失，所以只能用于存储临时数据或用于在同一个Pod里的容器之间共享数据。</p>
<p>普通Volume的第二种类型是&ldquo;跨节点存储卷&rdquo;。这种存储卷不和某个具体的K8S节点绑定，而是独立于K8S节点存在的 。</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143537_633.png" alt="" /></p>
<p>跨节点存储卷由于可以在任何一个Kubernetes 节点上都能够被访问到，比较灵活，所以应用比较广泛。</p>
<p>Kubernetes上的Volume是通过插件方式来实现的，所以可扩展性很强。</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143537_338.png" alt="" /></p>
<p>目前来说几乎所有主流的存储在Kubernetes上都有相应的插件来支持。如果已有的存储不能满足要求，还可以开发自己的volume插件 。</p>
<p>K8S存储系统的第二种存储方式叫persistent volume。它和普通volume的区别是什么呢？</p>
<p>普通Volume和使用它的Pod之间是一种静态绑定关系，我们无法单独创建一个普通volume，因为它不是一个独立的K8S资源对象。</p>
<p>而Persistent Volume 简称PV是一个K8S资源对象，所以我们可以单独创建。它不和Pod直接发生关系，而是通过Persistent Volume Claim，简称PVC来实现动态绑定。</p>
<p>接下来我们看一下这个动态绑定过程是怎样的？</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143537_68.png" alt="" /></p>
<p>这是PV的生命周期，首先是Provision，即创建PV，这里创建PV有两种方式，静态和动态。</p>
<p>所谓静态，是管理员手动创建一堆PV，组成一个PV池，供PVC来绑定。动态方式是通过一个叫 storage class的对象由存储系统根据PVC的要求自动创建。</p>
<p>一个PV创建完后状态会变成Available，等待被PVC绑定。一旦被PVC邦定，PV的状态会变成Bound，就可以被相应的Pod使用。Pod使用完后会释放PV，PV的状态变成Released。</p>
<p>变成Released的PV会根据定义的回收策略做相应的回收工作。有三种回收策略，Retain、Delete 和 Recycle。</p>
<p>Retain就是保留现场，K8S什么也不做。Delete 策略，K8S会自动删除该PV及里面的数据。Recycle方式，K8S会将PV里的数据删除，然后把PV的状态变成Available，又可以被新的PVC绑定使用。</p>
<p>刚才提到PV的供给有两种方式，静态和动态。其中动态方式是通过StorageClass来完成的，这是一种新的存储供应方式。</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143537_397.png" alt="" /></p>
<p>使用StorageClass有什么好处呢？除了由存储系统动态创建，节省了管理员的时间，还有一个好处是可以封装不同类型的存储供PVC选用。</p>
<p>比如这里就有两个StorageClass，它们都是用谷歌的存储系统，但是一个使用的是普通磁盘，名字为slow。另一个使用的是SSD，名字为fast。</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143537_967.png" alt="" /></p>
<p>在PVC里通过annotation指定了storage class的名字为fast，这样这个PVC就会绑定一个SSD，而不会绑定一个普通的磁盘。</p>
<p>好，到这里Kubernetes的整个存储系统就都介绍完了。</p>
<p>下面进入Kubernetes与有状态集群服务相关的两个新特性。Init Co<i></i>ntainer 和 Pet Set。</p>
<p>什么是Init Container？</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143537_85.png" alt="" /></p>
<p>从名字来看就是做初始化工作的容器。可以有一个或多个，这些 Init Co<i></i>ntainer 按照定义的顺序依次执行，只有所有的Init Co<i></i>ntainer 执行完后，主容器才启动。</p>
<p>由于一个Pod里的存储卷是共享的，所以 Init Co<i></i>ntainer 里产生的数据可以被主容器使用到。</p>
<p>这是Init Container的一个使用样例。</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143537_107.png" alt="" /></p>
<p>这个例子创建一个Pod，这个Pod里跑的是一个nginx容器，Pod里有一个叫workdir的存储卷，访问nginx容器服务的时候，就会显示这个存储卷里的index.html 文件。</p>
<p>而这个index.html 文件就是通过一个 busybox的初始化容器获得的。</p>
<p>介绍完Init Container，千呼万唤始出来，该今天的主角Pet Set出场了。</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143537_583.png" alt="" /></p>
<p>什么是Pet Set？顾名思义是Pet的集合，那什么是Pet呢？它是一种需要特殊照顾的Pod。它有状态、有身份、当然也比普通的Pod要复杂一些。</p>
<p>具体来说，一个Pet有三个特征</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143537_807.png" alt="" /></p>
<p>一是有稳定的存储，这是通过我们前面介绍的PV/PVC 来实现的。</p>
<p>二是稳定的网络身份，这是通过一种叫 Headless Service 的特殊Service来实现的。  和普通Service相比，Headless Service没有Cluster  IP，用于为一个集群内部的每个成员提供一个唯一的DNS名字，用于集群内部成员之间 通信 。</p>
<p>Pet的第三个特征是序号命名规则。 比如 Pet Set 的名字叫 mysql，那么第一个启起来的Pet就叫mysql-0，第二个叫mysql-1，如此下去。</p>
<p>当一个Pet down 掉后，新创建的Pet 会被赋予跟原来Pet一样的名字，通过这个名字就能匹配到原来的存储，实现状态保存。</p>
<p>好，与有状态服集群服务相关的K8S特性就介绍到这里。</p>
<p>理论讲完了，下面进入实战，以Galera MySQL集群为例子，介绍如何在 Kubernetes如何上部署和管理一个有状态集群服务。</p>
<p>首先大致了解一下Galera MySQL。</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143537_323.png" alt="" /></p>
<p>它不是那种主从式的集群，而是多Master集群，通过 Galera Replication 把多个MySQL实例关联起来组成一个集群。由Galera Replication 负责节点间的数据同步。</p>
<p>用户访问时可以连接到任何一个节点进行读写操作。每次写入的数据会被Galera Replication同步到整个集群，才算写入成功。</p>
<p>节点之间没有数据延迟，在某个节点失效后，直接退出集群即可，无需失效转移。</p>
<p>对Galera MySQL集群有了基本了解后，我们来看看如何在Kubernetes上部署和运行它。这是整体结构图：</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143537_149.png" alt="" /></p>
<p>左边的Headless Service用于为每个MySQL Pet实例提供一个DNS名字，右边的PV池为MySQL提供存储 。</p>
<p>这里有两个初始化容器，第一个用于安装需要的文件，第二个做MySQL的初始化工作 。</p>
<p>一个Pet Set里有多个Pet，每个Pet对应MySQL集群里的一个节点。通过Pet Set可以管理整个MySQL集群。</p>
<p>这是部署MySQL集群具体的YAML文件。</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143538_420.png" alt="" /></p>
<p>右边是一个Headless Service，名字是galera。</p>
<p>左边是Pet Set，它用到了右边的Headless service。Replicas的数目为3，会创建3个Pet。</p>
<p>在 Pet Set 的annotation里定义了两个初始化容器。</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143538_953.png" alt="" /></p>
<p>Install容器安装的文件可以被bootstrap容器使用到；同时bootstrap容器生成的MySQL配置文件会放到config存储卷里，供后面的MySQL 容器使用。</p>
<p>这是主容器 Galera MySQL 的定义：</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143538_492.png" alt="" /></p>
<p>除了常规的3306端口外，它还暴露了其它一些端口，用于集群内部的数据同步和状态转移等操作。</p>
<p>这里MySQL启动参数里用到的文件，是在初始化容器里生成的，通过共享存储卷传递过来。</p>
<p>最后是数据存储卷的定义。</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143538_743.png" alt="" /></p>
<p>这里定义了三个存储卷，其中config、workdir就是简单的本地目录，而 datadir是一个PVC，它可以去绑定PV来存储MySQL数据库的数据 。</p>
<p>所以部署一个集群总共就需要两个YAML文件就可以了，一个Headless Service，一个 Pet Set。其中Pet Set里定义了初始化容器和存储卷。</p>
<p>用上面的方式部署完MySQL集群后，后面的运维工作是比较简单的。</p>
<p>假如某个集群节点由于某种原因Crash掉了，Kubernetes 会自动创建一个新的Pet来替代，实现自动恢复。</p>
<p>如果要扩容或缩容，也是一条命令、指定一下这个Pet Set 的Replicas的数目就行了。</p>
<p>如果要升级，只需要修改Pet Set 定义里 podTemplate 的image值，然后把老的Pet删除，新创建的Pet，就是最新版本的了。</p>
<p>对于在Kubernetes上部署有状态集群服务，我们补充两点：</p>
<p>第一点是在最新发布的 Kubernetes 1.5 里 PetSet 重新命名为StatefulSet。所以根据你使用的K8S版本不同，可能看到的名字也不一样。</p>
<p>第二点是简单介绍一下时速云提供的有状态集群服务：数据库与缓存 。</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143538_423.png" alt="" /></p>
<p>如上图所示，这项服务最大程度的简化了有状态集群服务的创建工作，用户不再需要了解我们前面介绍的所有技术术语，只需要指定一下副本数目，存储的大小就可以了。</p>
<p>最后以下面这张图做为今天分享内容的总结。</p>
<p style="text-align: center;"><img src="http://static.open-open.com/lib/uploadImg/20170116/20170116143538_322.png" alt="" /></p>
<p>有状态集群服务的两个需求，一个是存储需求。另一个是集群需求 。</p>
<p>对存储需求，Kubernetes的解决方案是Volume、Persistent Volume 。对PV，除了手动创建PV池外，还可以通过Storage Class来让存储系统自动创建。</p>
<p>对集群需求，Kubernetes的解决方案是Pet Set。Pet Set 又通过Init Container来做集群初始化，通过Headless Service来为集群成员提供稳定 的网络身份。</p>
<p>最后我们以MySQL集群为例，说明了如何在Kubernetes上部署和运行一个有状态集群服务。</p>
<p>目前有状态集群服务在Kubernetes上的部署还不是正式版，但完全可用。如果您的项目中有容器化的需求，可以尝试。</p>
<p>今天的分享到此结束，谢谢大家！</p>
<p>Q： 前面提到init container，k8s里pod初始化是基于gcr的pause，这个初始化镜像是自定义的吗？</p>
<p>A：init co<i></i>ntainer 和 gcr的pause 是不同的概念，一个是初始化容器（运行完就结束），一个是基础容器（一直运行）</p>
<p>Q： 北京Q1:你介绍的k8s存储技术都是比较新的，能否适应企业生产大规模使用，有没有什么性能和稳定性问题？</p>
<p>A： 性能和稳定性上我们也在不断尝试，先使用起来看看效果，目前创建过几百个集群，暂时没有碰到太多稳定性问题。</p>
<p>Q:能否提供一下k8s部署mysql的文档，以供交流[呲牙]</p>
<p>A：这个在后面的整理文档里会有部署样例提供。</p>
<p>Q：请问是时速云mysql集群的存储是用什么？cephfs 还是glusterfs,或者其他</p>
<p>A：目前出于效率考虑，主要是分布式块存储，没有用glusterfs这些</p>
<p>Q：存储系统如何动态创建StorageClass，如果 Headless Service没有Cluster IP，服务如何调用？</p>
<p>A：K8S 通过StorageClass 让存储系统动态创建PV，不是动态创建StorageClass。Headless Service 用于集群内部通信，外部调用，再建普通Service，二者并存。</p>
<p>Q： 我想问个k8s比较基础的问题哈，是关于service  type的，有三种，第一种clusterIP我不是很明白，不是k8s默认所有pod之间是互通的么，那还需要这个clusterIP干啥呢。比如我两个pod，一个跑redis,一个跑web,  那web那个pod肯定是可以访问到redis的呀，为啥还需要为redis create 一个service呢</p>
<p>A：Pod重建或迁移后IP可能变，用Service可以提供一个稳定的访问接口。</p>
<p>Q：有状态集群还有其他的实现方式吗？</p>
<p>A： 在容器云里比较好的方式是用PetSet，当然也能自己做，相当于自己实现PetSet的一些功能。</p>
<p>Q：同步到整个集群才算写入成功，是不是意味着不适合高负载的项目使用？有可能增加其它策略供选择吗？</p>
<p>A：由于采用多主方式，对外只写入一个，内部扩散同步可以并行，而且每个节点都能对外提供服务，相当于增加了服务带宽，所以性能不是问题。</p>
<p>杭州Q：您好，你们是采用什么分布式存储的，io性能如何？好像一些开源分布式的存储写io的性能普遍比较低，能撑得住一些io高性能的应用吗？</p>
<p>A： 性能上要等到支持host 模式后，才能满足一些IO要求比较高的场景</p>
<p>Q:时速云的mysql集群是RDS吗</p>
<p>A：目标就是基于容器的 RDS 服务</p>]]></content><pubDate>2018-08-02 14:28:07</pubDate></item><item id="8"><title><![CDATA[在ubuntu上部署Kubernetes管理docker集群示例]]></title><link>http://www.diantanyun.com/yunjisuan/show.php?itemid=8</link><thumb>http://www.nengtanyun.cn/file/upload/202312/22/221759291.png</thumb><description><![CDATA[在ubuntu上部署Kubernetes管理docker集群示例本文通过实际操作来演示Kubernetes的使用，因为环境有限，集群部署在本地3个ubuntu]]></description><content><![CDATA[<h1 class="title" style="margin: 0px; padding: 0px; font-family: Lato, <i></i>&#39;Helvetica Neue<i></i>&#39;, Helvetica, Arial, sans-serif; font-size: 1.8em; font-weight: normal;">在ubuntu上部署Kubernetes管理docker集群示例</h1><p>本文通过实际操作来演示Kubernetes的使用，因为环境有限，集群部署在本地3个ubuntu上，主要包括如下内容：</p><ul class=" list-paddingleft-2"><li><p>部署环境介绍，以及Kubernetes集群逻辑架构</p></li><li><p>安装部署Open vSwitch跨机器容器通信工具</p></li><li><p>安装部署Etcd和Kubernetes的各大组件</p></li><li><p>演示Kubernetes管理容器和服务</p></li></ul><p>关于 Kubernetes 系统架构及组件介绍见<a href="http://seanlook.com/2015/02/03/docker-kubernetes-arch-introduction/" target="_blank">这里</a>。</p><h1 style="margin: 20px 0px 0px; padding: 0px 0px 10px; font-family: Lato, <i></i>&#39;Helvetica Neue<i></i>&#39;, Helvetica, Arial, sans-serif; font-size: 1.8em; font-weight: normal; border-bottom-color: #dddddd; border-bottom-width: 1px; border-bottom-style: solid;">1. 部署环境及架构</h1><ul class=" list-paddingleft-2"><li><p>vSphere: 5.1</p></li><li><p>操作系统: ubuntu 14.04 x86_64</p></li><li><p>Open vSwith版本: 2.0.2</p></li><li><p>Kubernetes: v0.7.2</p></li><li><p>Etcd版本: 2.0.0-rc.1</p></li><li><p>Docker版本: 1.4.1</p></li><li><p>服务器信息：</p></li></ul><table><thead><tr><th>Role</th><th>Hostname</th><th>IP Address</th></tr></thead><tbody><tr><td>APIServer</td><td>kubernetes</td><td>172.29.88.206</td></tr><tr><td>Minion</td><td>minion1</td><td>172.29.88.207</td></tr><tr><td>Minion</td><td>minion2</td><td>172.29.88.208</td></tr></tbody></table><p>在详细介绍部署Kubernetes集群前，先给大家展示下集群的逻辑架构。从下图可知，整个系统分为两部分，第一部分是Kubernetes &nbsp;APIServer，是整个系统的核心，承担集群中所有容器的管理工作；第二部分是minion，运行Co<i></i>ntainer &nbsp;Daemon，是所有容器栖息之地，同时在minion上运行Open vSwitch程序，通过GRE &nbsp;Tunnel负责minions之间Pod的网络通信工作。<br/><a class="fancybox" title="kubernetes-deploy" href="http://sean-images.qiniudn.com/kubernetes-deploy.png"><img src="http://sean-images.qiniudn.com/kubernetes-deploy.png" alt="kubernetes-deploy"/></a></p><h1 style="margin: 20px 0px 0px; padding: 0px 0px 10px; font-family: Lato, <i></i>&#39;Helvetica Neue<i></i>&#39;, Helvetica, Arial, sans-serif; font-size: 1.8em; font-weight: normal; border-bottom-color: #dddddd; border-bottom-width: 1px; border-bottom-style: solid;">2. 安装Open vSwitch及配置GRE</h1><p>为了解决跨minion之间Pod的通信问题，我们在每个minion上安装Open &nbsp;vSwtich，并使用GRE或者VxLAN使得跨机器之间P11od能相互通信，本文使用GRE，而VxLAN通常用在需要隔离的大规模网络中。对于Open &nbsp;vSwitch的介绍请参考另一篇文章<a href="http://www.cnblogs.com/http:" target="_blank">Open vSwitch</a>。</p><table><tbody><tr><td class="gutter"><p>1</p></td><td class="code"><p>sudo apt-<span class="keyword">get install openvswitch-<span class="keyword">switch bridge-utils</span></span></p></td></tr></tbody></table><p>安装完Open vSwitch和桥接工具后，接下来便建立minion0和minion1之间的隧道。首先在minion1和minion2上分别建立OVS Bridge：</p><table><tbody><tr><td class="gutter"><p>1</p></td><td class="code"><p># ovs-vsctl <span class="built_in">add-<span class="keyword">br obr0</span></span></p></td></tr></tbody></table><p>接下来建立gre，并将新建的gre0添加到obr0，在minion1上执行如下命令：</p><table><tbody><tr><td class="gutter"><p>1</p></td><td class="code"><p># ovs-vsctl <span class="built_in">add-port obr0 gre0 -- <span class="keyword">set Interface gre0 <span class="built_in">type=gre option<span class="variable">s:remote_ip=<span class="number">172.29.<span class="number">88.208</span></span></span></span></span></span></p></td></tr></tbody></table><p>上面的remoute_ip是另一台服务minion2上的对外IP。</p><p>在minion2上执行：</p><table><tbody><tr><td class="gutter"><p>1</p></td><td class="code"><p># ovs-vsctl <span class="built_in">add-port obr0 gre0 -- <span class="keyword">set Interface gre0 <span class="built_in">type=gre option<span class="variable">s:remote_ip=<span class="number">172.29.<span class="number">88.207</span></span></span></span></span></span></p></td></tr></tbody></table><p>至此，minion1和minion2之间的隧道已经建立。然后我们在minion1和minion2上创建Linux网桥kbr0替代Docker默认的docker0（我们假设minion1和minion2都已安装Docker），设置minion1的kbr0的地址为172.17.1.1/24， &nbsp;minion2的kbr0的地址为172.17.2.1/24，并添加obr0为kbr0的接口，以下命令在minion1和minion2上执行：</p><table><tbody><tr><td class="gutter"><p>1</p><p>2</p><p>3</p><p>4</p><p>5</p></td><td class="code"><p><span class="array"># brctl addbr kbr0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="comment">//创建linux bridge代替docker0</span></span></p><p><span class="array"># brctl addif kbr0 obr0 &nbsp; &nbsp; &nbsp; &nbsp; <span class="comment">//添加obr0为kbr0的接口</span></span></p><p>&nbsp;</p><p><span class="array"># ip l<i></i>ink set dev docker0 down &nbsp;<span class="comment">//设置docker0为down状态</span></span></p><p><span class="array"># ip l<i></i>ink del dev docker0 &nbsp; &nbsp; &nbsp; <span class="comment">//删除docker0，可选</span></span></p></td></tr></tbody></table><p>查看这些接口的状态：</p><table><tbody><tr><td class="gutter"><p>1</p><p>2</p><p>3</p><p>4</p><p>5</p><p>6</p><p>7</p><p>8</p><p>9</p><p>10</p><p>11</p><p>12</p><p>13</p><p>14</p><p>15</p><p>16</p><p>17</p></td><td class="code"><p><span class="preprocessor"># service openvswitch-switch status</span></p><p><span class="preprocessor"># ovs-vsctl show</span></p><p><span class="number">9d248403-<span class="number">943c-<span class="number">41c0-b2d0-<span class="number">3f9b130cdd3f</span></span></span></span></p><p><span class="type">Bridge <span class="string">&quot;obr0&quot;</span></span></p><p><span class="type">Port <span class="string">&quot;gre0&quot;</span></span></p><p><span class="type">Interface <span class="string">&quot;gre0&quot;</span></span></p><p><span class="typedef"><span class="keyword">type: gre</span></span></p><p>options: {remote_ip=<span class="string">&quot;172.29.88.207&quot;}</span></p><p><span class="type">Port <span class="string">&quot;obr0&quot;</span></span></p><p><span class="type">Interface <span class="string">&quot;obr0&quot;</span></span></p><p><span class="typedef"><span class="keyword">type: internal</span></span></p><p>ovs_version: <span class="string">&quot;2.0.2&quot;</span></p><p>&nbsp;</p><p><span class="preprocessor"># brctl show</span></p><p><span class="title">bridge name	bridge id		<span class="type">STP enabled	interfaces</span></span></p><p><span class="title">docker0		<span class="number">8000.56847afe9799	no		</span></span></p><p><span class="title">kbr0		<span class="number">8000.620ff7ee9c49	no		obr0</span></span></p></td></tr></tbody></table><p>为了使新建的kbr0在每次系统重启后任然有效，我们在minion1的<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">/etc/network/interfaces</code>文件中追加内容如下：（在CentOS上会有些不一样）</p><table><tbody><tr><td class="gutter"><p>1</p><p>2</p><p>3</p><p>4</p><p>5</p><p>6</p><p>7</p></td><td class="code"><p><span class="comment"># vi /etc/network/interfaces</span></p><p><span class="title">auto kbr0</span></p><p>iface kbr0 inet static</p><p>address <span class="number">172.17.1.1</span></p><p>netmask <span class="number">255.255.255.0</span></p><p>gateway <span class="number">172.17.1.0</span></p><p>dns-nameservers <span class="number">172.31.1.1</span></p></td></tr></tbody></table><p>同样在minion2上追加类似内容，只需修改address为172.17.2.1和gateway为172.17.2.0即可，然后执行<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">ip l<i></i>ink set dev kbr0 up</code>，你能在minion1和minion2上发现kbr0都设置了相应的IP地址。为了验证我们创建的隧道是否能通信，我们在minion1和minion2上相互ping对方kbr0的IP地址，从下面的结果发现是不通的，经查找这是因为在minion1和minion2上缺少访问172.17.1.1和172.17.2.1的路由，因此我们需要添加路由保证彼此之间能通信：</p><table><tbody><tr><td class="gutter"><p>1</p><p>2</p><p>3</p><p>4</p><p>5</p></td><td class="code"><p>minion1上执行:</p><p># <span class="literal">ip route <span class="keyword">add <span class="number">172.17<span class="string">.2<span class="string">.0/<span class="number">24 via <span class="number">172.29<span class="string">.88<span class="string">.208 dev eth0</span></span></span></span></span></span></span></span></span></p><p>&nbsp;</p><p>minion2上执行:</p><p># <span class="literal">ip route <span class="keyword">add <span class="number">172.17<span class="string">.1<span class="string">.0/<span class="number">24 via <span class="number">172.29<span class="string">.88<span class="string">.207 dev eth0</span></span></span></span></span></span></span></span></span></p></td></tr></tbody></table><p>现在可以ping通对方的虚拟网络了：</p><table><tbody><tr><td class="gutter"><p>1</p><p>2</p><p>3</p><p>4</p><p>5</p><p>6</p><p>7</p><p>8</p></td><td class="code"><p>$ ping <span class="number">172.17<span class="number">.2<span class="number">.1</span></span></span></p><p>PING <span class="number">172.17<span class="number">.2<span class="number">.1 (<span class="number">172.17<span class="number">.2<span class="number">.1) <span class="number">56(<span class="number">84) <span class="keyword">bytes <span class="operator">of data.</span></span></span></span></span></span></span></span></span></span></p><p><span class="number">64 <span class="keyword">bytes <span class="built_in">from <span class="number">172.17<span class="number">.2<span class="number">.1: icmp_seq=<span class="number">1 ttl=<span class="number">64 <span class="built_in">time=<span class="number">0.334 ms</span></span></span></span></span></span></span></span></span></span></p><p><span class="number">64 <span class="keyword">bytes <span class="built_in">from <span class="number">172.17<span class="number">.2<span class="number">.1: icmp_seq=<span class="number">2 ttl=<span class="number">64 <span class="built_in">time=<span class="number">0.253 ms</span></span></span></span></span></span></span></span></span></span></p><p>^C</p><p><span class="comment">--- 172.17.2.1 ping statistics ---</span></p><p><span class="number">2 packets transmitted, <span class="number">2 received, <span class="number">0% packet loss, <span class="built_in">time <span class="number">999ms</span></span></span></span></span></p><p>rtt <span class="built_in">min/<span class="built_in">avg/<span class="built_in">max/mdev = <span class="number">0.253/<span class="number">0.293/<span class="number">0.334/<span class="number">0.043 ms</span></span></span></span></span></span></span></p></td></tr></tbody></table><p>下面安装 Kubernetes APIServer 及kubelet、proxy等服务。</p><h1 style="margin: 20px 0px 0px; padding: 0px 0px 10px; font-family: Lato, <i></i>&#39;Helvetica Neue<i></i>&#39;, Helvetica, Arial, sans-serif; font-size: 1.8em; font-weight: normal; border-bottom-color: #dddddd; border-bottom-width: 1px; border-bottom-style: solid;">3. 安装Kubernetes APIServer</h1><h2 style="margin: 20px 0px 0px; padding: 0px 0px 10px; font-family: Lato, <i></i>&#39;Helvetica Neue<i></i>&#39;, Helvetica, Arial, sans-serif; font-size: 1.5em; font-weight: normal; border-bottom-color: #dddddd; border-bottom-width: 1px; border-bottom-style: solid;">3.1 下载安装kubernetes各组件</h2><p>可以自己从源码编译kubernetes（需要安装golang环境），也可以从<a href="https://github.com/GoogleCloudPlatform/kubernetes/releases" target="_blank">GitHub Kubernetes repo release page.</a>选择编译好的二进制版本（v0.7.2）下载，为了方便后面启动或关闭kubernetes组件，我们同时下载二进制包和源码包：</p><table><tbody><tr><td class="gutter"><p>1</p><p>2</p><p>3</p><p>4</p></td><td class="code"><p><span class="preprocessor"># cd /usr/local/src</span></p><p><span class="preprocessor"># wget https://github.com/coreos/etcd/releases/download/v2.0.0-rc.1/etcd-v2.0.0-rc.1-linux-amd64.tar.gz</span></p><p><span class="preprocessor"># wget https://github.com/GoogleCloudPlatform/kubernetes/releases/download/v0.7.2/kubernetes.tar.gz</span></p><p><span class="preprocessor"># wget https://github.com/GoogleCloudPlatform/kubernetes/archive/v0.7.2.zip</span></p></td></tr></tbody></table><p>然后解压下载的kubernetes和etcd包，并在kubernetes(minion1)、minion2上创建目录<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">/opt/bin</code></p><table><tbody><tr><td class="gutter"><p>1</p><p>2</p><p>3</p><p>4</p><p>5</p><p>6</p><p>7</p><p>8</p><p>9</p><p>10</p><p>11</p><p>12</p><p>13</p><p>14</p><p>15</p><p>16</p><p>17</p><p>18</p><p>19</p><p>20</p><p>21</p></td><td class="code"><p><span class="preprocessor"># mkdir /opt/bin &nbsp; &nbsp; &nbsp; &nbsp;//这一步APIserver和所有minions上都要创建</span></p><p>&nbsp;</p><p>解压kubernetes</p><p>src# tar xf kubernetes.tar.gz</p><p><span class="preprocessor"># ll </span></p><p>drwxr-xr-x &nbsp;<span class="number">3 &nbsp;<span class="number">501 staff &nbsp; &nbsp; <span class="number">4096 Dec <span class="number">19 <span class="number">02:<span class="number">32 etcd-v2<span class="number">.0<span class="number">.0-rc<span class="number">.1-linux-amd64/</span></span></span></span></span></span></span></span></span></p><p>-rw-r--r-- &nbsp;<span class="number">1 root root &nbsp; <span class="number">6223584 Jan &nbsp;<span class="number">6 <span class="number">14:<span class="number">39 etcd-v2<span class="number">.0<span class="number">.0-rc<span class="number">.1-linux-amd64.tar.gz</span></span></span></span></span></span></span></span></p><p>drwxr-xr-x &nbsp;<span class="number">7 root root &nbsp; &nbsp; &nbsp;<span class="number">4096 Nov <span class="number">20 <span class="number">06:<span class="number">35 kubernetes/</span></span></span></span></span></p><p>-rw-r--r-- &nbsp;<span class="number">1 root root &nbsp;<span class="number">82300483 Jan &nbsp;<span class="number">6 <span class="number">14:<span class="number">37 kubernetes.tar.gz</span></span></span></span></span></p><p>-rw-r--r-- &nbsp;<span class="number">1 root root &nbsp;<span class="number">9170754 Jan &nbsp;<span class="number">9 <span class="number">14:<span class="number">47 v0<span class="number">.7<span class="number">.2.zip</span></span></span></span></span></span></span></p><p>&nbsp;</p><p><span class="preprocessor"># cd kubernetes/server</span></p><p><span class="preprocessor"># tar xf kubernetes-server-linux-amd64.tar.gz</span></p><p><span class="preprocessor"># cd kubernetes/server/bin/</span></p><p>&nbsp;</p><p>APIserver本身需要的是kube-apiserver kube-scheduler kube-controller-manager kubecfg四个</p><p><span class="preprocessor"># cp -a kube* /opt/bin/</span></p><p>&nbsp;</p><p>把proxy和kubelet复制到其他minions，确保这些文件都是可执行的</p><p><span class="preprocessor"># scp kube-proxy kubelet root@172.29.88.207:/opt/bin</span></p><p><span class="preprocessor"># scp kube-proxy kubelet root@172.29.88.208:/opt/bin</span></p></td></tr></tbody></table><p><code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">/opt/bin</code>并没有加入系统<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">PATH</code>，所以<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">kube-apiserver -version</code>是看不到结果，但在后面配置的服务中会自动加入（<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">PATH=$PATH:/opt/bin</code>）。</p><h2 style="margin: 20px 0px 0px; padding: 0px 0px 10px; font-family: Lato, <i></i>&#39;Helvetica Neue<i></i>&#39;, Helvetica, Arial, sans-serif; font-size: 1.5em; font-weight: normal; border-bottom-color: #dddddd; border-bottom-width: 1px; border-bottom-style: solid;">3.2 解压安装etcd</h2><p><code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">etcd</code>在这里的作用是服务发现存储仓库，通俗的来讲就是记录kubernetes启动了多少pods、services、replicationController以及它们的信息等，详细介绍见<a href="http://seanlook.com/2015/02/07/docker-kubernetes-deploy2/http//">这里</a>。此外版本2.0与v0.4.6在启动参数上的写法有一定差别。</p><pre>#&nbsp;tar&nbsp;xf&nbsp;etcd-v2.0.0-rc.1-linux-amd64.tar.gz&nbsp;&amp;&amp;&nbsp;cd&nbsp;etcd-v2.0.0-rc.1-linux-amd64/&nbsp;#&nbsp;cp&nbsp;-a&nbsp;etcd&nbsp;etcdctl&nbsp;/opt/bin</pre><h2 style="margin: 20px 0px 0px; padding: 0px 0px 10px; font-family: Lato, <i></i>&#39;Helvetica Neue<i></i>&#39;, Helvetica, Arial, sans-serif; font-size: 1.5em; font-weight: normal; border-bottom-color: #dddddd; border-bottom-width: 1px; border-bottom-style: solid;">3.3 配置kube-apiserver等为upstart脚本启动</h2><p>这一步主要是为了管理kube-apiserver等进程的方便，避免每次都手动启动各服务、添加冗长的启动参数选项，而且在不同的系统平台下kubernetes已经提供了相应的工具。</p><table><tbody><tr><td class="gutter"><p>1</p><p>2</p><p>3</p><p>4</p><p>5</p><p>6</p><p>7</p><p>8</p><p>9</p><p>10</p><p>11</p><p>12</p></td><td class="code"><p>解压kubernetes<span class="keyword">*源码包<span class="keyword">*</span></span></p><p>src<span class="comment"># unzip xf v0.7.2.zip &amp;&amp; cd kubernetes-0.7.2</span></p><p>&nbsp;</p><p>这里比较奇怪的是最新release版本源码的cluster目录下是有ubuntu子目录的，但latest之前的下载后没有ubuntu目录</p><p><span class="comment"># cd cluster/ubuntu</span></p><p><span class="comment"># ll</span></p><p>.. 2 root root 4096 Jan 8 17:39 default_s<i></i>cripts/ 各组件默认启动参数</p><p>.. 2 root root 4096 Jan 8 17:39 init_conf/ upstart启动方式</p><p>.. 2 root root 4096 Jan 8 17:39 initd_s<i></i>cripts/ service启动方式，与upstart选其一</p><p>.. 1 root root 1213 Jan 8 08:53 util.sh<span class="keyword">* </span></p><p>&nbsp;</p><p><span class="comment"># ./util.sh</span></p></td></tr></tbody></table><p><code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">util.sh</code>脚本就是把当前目录下的service/upstart脚本、默认参数配置文件复制到<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">/etc</code>下，可以通过<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">service etcd start</code>的形式管理kubernetes。由于kubernetes更新速度极快，项目的文件和目录结构经常变化，请找准文件。接下来我们需要修改那些只适合本机使用的默认参数。（请注意备份先，因为后面能否正常跨机器管理docker与这些选项有关，特别是IP）</p><table><tbody><tr><td class="gutter"><p>1</p><p>2</p><p>3</p><p>4</p><p>5</p><p>6</p><p>7</p><p>8</p><p>9</p><p>10</p><p>11</p><p>12</p><p>13</p><p>14</p><p>15</p><p>16</p><p>17</p><p>18</p><p>19</p><p>20</p><p>21</p><p>22</p><p>23</p><p>24</p><p>25</p></td><td class="code"><p>etcd官方建议使用新的<span class="number">2379端口代替<span class="number">4001</span></span></p><p><span class="preprocessor"># vi /etc/default/etcd</span></p><p>ETCD_OPTS=<span class="string">&quot;-listen-client-urls=http://0.0.0.0:4001&quot;</span></p><p>&nbsp;</p><p><span class="preprocessor"># vi /etc/default/kube-apiserver</span></p><p>KUBE_APISERVER_OPTS=<span class="string">&quot;--address=0.0.0.0 \</span></p><p>--port=8080 \</p><p>--etcd_servers=http://127.0.0.1:4001 \</p><p>--logtostderr=true \</p><p>--portal_net=11.1.1.0/24&quot;</p><p>&nbsp;</p><p><span class="preprocessor"># vi /etc/default/kube-scheduler</span></p><p>KUBE_SCHEDULER_OPTS=<span class="string">&quot;--logtostderr=true \</span></p><p>--master=127.0.0.1:8080&quot;</p><p>&nbsp;</p><p><span class="preprocessor"># vi /etc/default/kube-controller-manager</span></p><p>KUBE_CONTROLLER_MANAGER_OPTS=<span class="string">&quot;--master=127.0.0.1:8080 \</span></p><p>--machines=172.29.88.207,172.29.88.208 \</p><p>--logtostderr=true&quot;</p><p>&nbsp;</p><p>&nbsp;</p><p>* 复制kubelet、kube-proxy等到minion1：</p><p><span class="preprocessor"># scp /etc/default/{kubelet,kube-proxy} 172.29.88.207:/etc/default/</span></p><p><span class="preprocessor"># scp /etc/init.d/{kubelet,kube-proxy} 172.29.88.207:/etc/init.d/</span></p><p><span class="preprocessor"># scp /etc/init/{kubelet.conf,kube-proxy.conf} 172.29.88.207:/etc/init/</span></p></td></tr></tbody></table><table><tbody><tr><td class="gutter"><p>1</p><p>2</p><p>3</p><p>4</p><p>5</p><p>6</p><p>7</p><p>8</p><p>9</p><p>10</p><p>11</p><p>12</p><p>13</p></td><td class="code"><p>* 在minion1端进行</p><p># vi /etc/default/kubelet</p><p>KUBELET_OPTS=&quot;--address=172.29.88.207 \</p><p>-<span class="ruby">-port=<span class="number">10250 \</span></span></p><p>-<span class="ruby">-hostname_override=<span class="number">172.29.<span class="number">88.207 \</span></span></span></p><p>-<span class="ruby">-etcd_servers=<span class="symbol">http:/<span class="regexp">/172.29.88.206:4001 \</span></span></span></p><p>-<span class="ruby">-logtostderr=<span class="keyword">true<span class="string">&quot;</span></span></span></p><p>&nbsp;</p><p># vi /etc/default/kube-proxy</p><p>KUBE_PROXY_OPTS=&quot;--etcd_servers=http://172.29.88.207:4001 \</p><p>-<span class="ruby">-logtostderr=<span class="keyword">true<span class="string">&quot;</span></span></span></p><p>&nbsp;</p><p>(对minion2重复上面 * 两个步骤，把上面.207改成.208)</p></td></tr></tbody></table><p>上面的各配置文件就是对应命令的选项，具体含义使用<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">-h</code>。这里只简单说明：</p><ol class=" list-paddingleft-2"><li><p><code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">etcd</code>服务APIserver和minions都要访问，也就是其他组件的<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">--etcd_servers</code>值（带http前缀）</p></li><li><p><code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">kube-apiserver</code>监听在8080端口，也就是其他组件的<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">--master</code>值；<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">--portal_net</code>地址段不能与docker的桥接网卡kbr0重复，指定docker容器的IP段</p></li><li><p><code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">etcd</code>、<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">kube-apiserver</code>、<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">kube-scheduler</code>、<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">kube-controller-manager</code>运行在apiserver（服务）端，<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">kubelet</code>、<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">kube-proxy</code>运行在minion（客户端）</p></li><li><p><code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">kube-controller-manager</code>使用预先定义pod模板创建pods，保证指定数量的replicas在运行，默认监听在master的127.0.0.1:10252</p></li><li><p><code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">kubelet</code>默认监听端口10250，也正是apiserver的<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">--kubelet_port</code>的值</p></li></ol><h2 style="margin: 20px 0px 0px; padding: 0px 0px 10px; font-family: Lato, <i></i>&#39;Helvetica Neue<i></i>&#39;, Helvetica, Arial, sans-serif; font-size: 1.5em; font-weight: normal; border-bottom-color: #dddddd; border-bottom-width: 1px; border-bottom-style: solid;">3.4 启动</h2><p><strong>重启docker</strong><br/>接下来重启minion1、minion2上的Docker daemon（注意使用的网桥）：</p><pre>#&nbsp;docker&nbsp;-d&nbsp;-b&nbsp;kbr0</pre><p>由于后面的测试可能需要在线下载images，所以如果你的服务器无法访问docker hub，上面启动时记得设置<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">HTTP_PROXY</code>代理。</p><p><strong>启动apiserver</strong></p><pre>#&nbsp;service&nbsp;etcd&nbsp;start&nbsp;#&nbsp;service&nbsp;kube-apiserver&nbsp;start</pre><p><code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">kube-apiserver</code>启动后会自动运行<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">kube-scheduler</code>、<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">kube-controller-manager</code>，但修改配置后依然可以单独重启各个服务如<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">service kube-contoller-manager restart</code>。这些服务的日志可以从<code style="background: #f8f8f8; margin: 0px 2px; padding: 0px 5px; border-radius: 3px; border: 0.1px solid #dddddd; color: #666666; font-family: Monaco, Menlo, Consolas, <i></i>&#39;Courier New<i></i>&#39;, monospace; font-size: 0.9em;">/var/log/upstart/kube*</code>找到。</p><p><strong>在minion1、minion2上启动kubelet、kube-proxy</strong>：</p><pre>#&nbsp;service&nbsp;kubelet&nbsp;start&nbsp;#&nbsp;service&nbsp;kube-proxy&nbsp;start</pre><h1 style="margin: 20px 0px 0px; padding: 0px 0px 10px; font-family: Lato, <i></i>&#39;Helvetica Neue<i></i>&#39;, Helvetica, Arial, sans-serif; font-size: 1.8em; font-weight: normal; border-bottom-color: #dddddd; border-bottom-width: 1px; border-bottom-style: solid;">4. 使用kubecfg部署测试应用</h1><p>为了方便，我们使用Kubernetes提供的例子<a href="https://github.com/GoogleCloudPlatform/kubernetes/tree/master/examples/guestbook" target="_blank">Guestbook</a>（下载的源码example目录下可以找到）来演示Kubernetes管理跨机器运行的容器，下面我们根据Guestbook的步骤创建容器及服务。在下面的过程中如果是第一次操作，可能会有一定的等待时间，状态处于pending，这是因为第一次下载images需要一段时间。</p><h2 style="margin: 20px 0px 0px; padding: 0px 0px 10px; font-family: Lato, <i></i>&#39;Helvetica Neue<i></i>&#39;, Helvetica, Arial, sans-serif; font-size: 1.5em; font-weight: normal; border-bottom-color: #dddddd; border-bottom-width: 1px; border-bottom-style: solid;">4.1 创建redis-master Pod和redis-master服务</h2><p>配置管理操作都在apiserver上执行，并且都是基于实现编写好的json格式。涉及到下载docker镜像的部分，如果没有外网，可能需要修改image的值或使用自己搭建的docker-registry：</p><table><tbody><tr><td class="gutter"><p>1</p><p>2</p><p>3</p><p>4</p><p>5</p><p>6</p><p>7</p><p>8</p><p>9</p><p>10</p><p>11</p><p>12</p><p>13</p><p>14</p><p>15</p><p>16</p><p>17</p><p>18</p><p>19</p><p>20</p><p>21</p><p>22</p><p>23</p><p>24</p><p>25</p><p>26</p><p>27</p><p>28</p></td><td class="code"><p><span class="preprocessor"># cd kubernetes-0.7.2/examples/guestbook/</span></p><p><span class="preprocessor"># cat redis-master.json</span></p><p>{</p><p><span class="string">&quot;id&quot;: <span class="string">&quot;redis-master&quot;,</span></span></p><p><span class="string">&quot;kind&quot;: <span class="string">&quot;Pod&quot;,</span></span></p><p><span class="string">&quot;apiVersion&quot;: <span class="string">&quot;v1beta1&quot;,</span></span></p><p><span class="string">&quot;desiredState&quot;: {</span></p><p><span class="string">&quot;manifest&quot;: {</span></p><p><span class="string">&quot;version&quot;: <span class="string">&quot;v1beta1&quot;,</span></span></p><p><span class="string">&quot;id&quot;: <span class="string">&quot;redis-master&quot;,</span></span></p><p><span class="string">&quot;containers&quot;: [{</span></p><p><span class="string">&quot;name&quot;: <span class="string">&quot;master&quot;,</span></span></p><p><span class="string">&quot;image&quot;: <span class="string">&quot;dockerfile/redis&quot;,</span></span></p><p><span class="string">&quot;cpu&quot;: <span class="number">100,</span></span></p><p><span class="string">&quot;ports&quot;: [{</span></p><p><span class="string">&quot;containerPort&quot;: <span class="number">6379,</span></span></p><p><span class="string">&quot;hostPort&quot;: <span class="number">6379</span></span></p><p>}]</p><p>}]</p><p>}</p><p>},</p><p><span class="string">&quot;labels&quot;: {</span></p><p><span class="string">&quot;name&quot;: <span class="string">&quot;redis-master&quot;</span></span></p><p>}</p><p>}</p><p>&nbsp;</p><p><span class="preprocessor"># kubecfg -h http://172.29.88.206:8080 -c redis-master.json create pods</span></p><p><span class="preprocessor"># kubecfg -h http://172.29.88.206:8080 -c redis-master-service.json create services</span></p></td></tr></tbody></table><p>&nbsp;</p>]]></content><pubDate>2018-08-02 14:25:19</pubDate></item><item id="7"><title><![CDATA[Kubernetes企业级容器云加速数字创新]]></title><link>http://www.diantanyun.com/yunjisuan/show.php?itemid=7</link><thumb></thumb><description><![CDATA[改变是唯一的存在，企业必须适应更加便捷智能化的用户体验。不像专业ERP，用户不变的。S、Y、Z时代不同的产生，用户需求不同的改]]></description><content><![CDATA[改变是唯一的存在，企业必须适应更加便捷智能化的用户体验。不像专业ERP，用户不变的。S、Y、Z时代不同的产生，用户需求不同的改变，我们需要快速释放企业能力，   快速上线。企业IT架构需要更灵活、高效、稳定。开发运维更简单、快速、低成本、高效。持续集成、持续交付，整体提升IT质量。不要让IT的开发、测试、运维再成为企业创新的掣肘，IT是企业的资产，而不再是企业成本中心。所以IT要更加标准化，资产要有效的沉淀。以前的应用属于大砖块型，做一点改变是惊天动地，如今在互联网爆发的时代，用户千变万化，开发测试运维也要灵活变化，不再像从前开发几千行代码，大砖块型的应用时代已经过去，今天我们需要灵活应用、灵活开发、灵活迭代。
<p style="text-indent:2em;text-align:left">所以从业界的技术发展来看，平台化是大势所趋。平台的每一层目前都有足够成熟的标准，技术和框架建设企业的数据中心。采用开源成熟标准和框架保证企业构架足够开放自由，不受厂家约束。</p>
<p style="text-indent:2em;text-align:center"><img src="http://cdn1.ccidcom.com/attach/image/20170505/1493972008349418.png" title="1493972008349418.png" alt="1493972008349418.png" width="600" height="242" /></p>
<p style="text-indent:2em;text-align:left"><strong>HPE 企业级容器设计原则-大平台、微服务、轻应用</strong></p>
<p style="text-indent:2em;text-align:left">李志霄非常生动的比喻，开源的优势就是&lsquo;百花齐放&rsquo;，劣势是&lsquo;眼花缭乱&rsquo;，目前在IAAS平台有公有云、私有云，公有云如阿里、亚马逊等等。在PaaS层也是玲琅满目，怎么选？需不需要优化，需不需要提升？&lsquo;百花齐放&rsquo;有利有弊，而&lsquo;眼花缭乱&rsquo;，则是一把双刃剑。这就是为什么我们做容器技术，没有容器技术就没有微服务，也很难做到敏捷的DevOps。微服务是一个一个独立的模块，  其间不共享任何的信息，有了微服务企业就能做到更好的敏捷开发，使得IT不再成为企业创新的瓶颈。</p>
<p style="text-indent:2em;text-align:left">既然开发人员已经&ldquo;眼花缭乱&rdquo;，在众多&ldquo;百花齐放&rdquo;中，我们该如何梳理，如何优化，如何集成？所以我们提出一个平台化的概念，叫做容器云平台。HPE的企业级容器设计就是一个大平台，微服务，轻应用。轻量级的应用应尽量利用微服务，它没有任何共享，是一个平台的概念。企业在云化前基本上就是烟囱系统，彼此之间重复建设，各自为政，造成运维困难，而云化后则是平台导向，是水平方向，资源共享，标准管理、简化运维，在公共服务平台和基础技术平台都能实现各类应用。</p>
<p style="text-indent:2em;text-align:center"><img src="http://cdn1.ccidcom.com/attach/image/20170505/1493972029581907.png" title="1493972029581907.png" alt="1493972029581907.png" width="500" height="168" /></p>
<p style="text-indent:2em;text-align:left">HPE的企业级容器的优势：</p>
<p style="text-indent:2em;text-align:left">快速响应业务变革：服务拼装，业务能力快速上线，不再需要等待漫长的IT改造时间。</p>
<p style="text-indent:2em;text-align:left">提高管理水平：通过平台化的管控，提高IT标准化水平，提升管控能力，有效降低建设及运维成本，实现可视化及自动化。</p>
<p style="text-indent:2em;text-align:left">提高办事效率：通过数据驱动业务，提高个人及跨部门工作的效率。</p>
<p style="text-indent:2em;text-align:left"><strong>&ldquo;厚PaaS，薄应用&rdquo;</strong></p>
<p style="text-indent:2em;text-align:left">李博士讲到，HEP  容器云PaaS平台解决方案是一个全新的基于容器技术的分布式架构的集群管理解决方案。平台选择以开源技术Docker  和Kubernetes为基础来构建，以&ldquo;容器+微服务&rdquo;  为构架核心，形成标准化、灵活、开放的平台核心支撑层，其典型特点是&ldquo;厚PaaS，薄应用&rdquo;。以容器为基础封装各类应用和运行环境，为上层应用提供一个统一的开发、测试和运行环境。内置各种基础通用的技术服务（如：数据库类、存储类、缓存类、消息类、日志类等），满足客户应用能力的复用、整合和快速开发部署。</p>
<p style="text-indent:2em;text-align:left">HPE   容器云PaaS平台具有完备的跨多种资源、跨多个网络域、跨多个数据中心的多集群管理能力，包括多层次的安全防护和准入机制、多租户应用支撑能力、透明的服务注册和服务发现机制、内建智能负载均衡器、强大的故障发现和自我修复能力、应用灰度发布、服务滚动升级和在线扩容能力、可扩展的资源自动调度机制，以及多粒度的资源配额管理能力。</p>
<p style="text-indent:2em;text-align:left">HPE   容器云PaaS平台在采用Docker和Kubernetes社区版的基础上，对Docker和Kubernetes及多种开源技术进行了无缝内部集成，并自主研发了Ku8   Manager可视化集群管理平台，实现了对多集群的可视化一键式部署和监控管理；新增了多集群统一调度引擎，基于业务的调度弹性伸缩以及与DevOps集成的多种功能；优化两级镜像库框架实现镜像的两级管理，对负载均衡进行性能提升，实现Mysql集群、GlusterFS集群等常用企业技术套件的容器化和高可用改造。</p>
<p style="text-align:center"><img src="http://cdn1.ccidcom.com/attach/image/20170505/1493972048785024.png" title="1493972048785024.png" alt="1493972048785024.png" width="600" height="333" /></p>
<p style="text-indent:2em;text-align:center">HPE 容器云PaaS平台总体架构图</p>
<p style="text-indent:2em;text-align:left"><strong>多集群管理，安全管控</strong></p>
<p style="text-indent:2em;text-align:left">HPE引领着IT创新革命，例如在多集群管理能力上，李志霄指出&ldquo;今天一个大型企业不可能只有一个数据中心，肯定是跨区域的数据中心，企业是否只有一个物理数据中心？企业不能只管理一个数据中心，而是要管理多个数据中心，多集群的管理。例如，数据中心之间的区域网要十几的带宽，成本太高，而HPE企业级容器是轻量级的，所以利用它可以做多集群的管理，这是面向企业特殊的功能。然后企业不可能每一个集群和每一个应用卓一监控，企业需要有一个安全集中的管控，同样企业利用工具不会创造一些新工具，还是利用现成开源的工具，进行优化。&rdquo;</p>
<p style="text-indent:2em;text-align:left">HPE 企业级容器云 Kubernetes管理平台优势：</p>
<p style="text-indent:2em;text-align:left">新服务部署时，由Kubernetes管理平台统一对各数据中心进行服务一键式自动化安装部署。</p>
<p style="text-indent:2em;text-align:left">服务升级时，由Kubernetes管理平台统一对各数据中心进行灰度升级，保证业务的不间断运行</p>
<p style="text-indent:2em;text-align:left">当某数据中心发生故障（如网络故障）时， 由Kubernetes管理平台自动进行容灾切换，由容灾数据中心自动接管所有业务服务。实现高可用的数据中心。</p>
<p style="text-indent:2em;text-align:left">业务高峰期当某数据中心容量不足时，由Kubernetes管理平台自动进行服务动态扩展，启动容灾数据中心的部分服务来支撑业务。</p>
<p style="text-indent:2em;text-align:center"><img src="http://cdn1.ccidcom.com/attach/image/20170505/1493972079452232.png" title="1493972079452232.png" alt="1493972079452232.png" width="600" height="299" /></p>
<p style="text-indent:2em;text-align:left"><strong>统一管理，统一监控</strong></p>
<p style="text-indent:2em;text-align:left">李志霄在提到HPE容器云优势上，还特别强调作为企业级的容器云要实现资源统一管理，镜像统一管理。开发测试的时候，镜像是开发测试与生产环境之间的桥梁，当企业不生产的时候只能用镜像，做企业级的应用不能没有镜像，所以一定要做好安全的镜像管理。同样还要做好应用统一部署管理，从而实现所有集群应用的统一部署和应用版本升级。</p>
<p style="text-indent:2em;text-align:left">此外配置一定要统一管理，比如配置统一管理是基层，从前开发人员是高高在上的白领，运维人员是蓝领，测试人员是灰领。有了配置统一管理之后，配置和应用分开， DevOps概念诞生，测试、运维、开发人员从此平起平坐，这是DevOps的精神所在。</p>
<p style="text-indent:2em;text-align:left">最后在企业级一定要做到统一监控。同时要充分利用一些好的工具，例如mySQL企业级应用，在两大市场企业级应用占90%的，一个是金融一个是电信，HPE在电信级别的应用是全球最领先的，  如HPE中国重要部门，通信与媒体解决方案事业部（HPE  CMS）在全球电信行业已经有四十年经验，并专门为电信行业成立了全球垂直的管理部门，进行全球范围内的业务和技术知识共享。CMS相继获得了American  Online, MCI, TimeWarner, Telstra, NTT, Telecom Italia  等全球顶级电信运营商的青睐，成为这些公司信赖的主要合作伙伴，对他们的成功起到了关键作用。</p>
<p style="text-indent:2em;text-align:left">HPE容器云平台是内置基础类的服务，满足用户应用的快速部署。基础类的软件大部分是集群类的软件，容器化难度很高，要满足企业业务的高可用要求要做很多的改造。在容器云平台中应该预置各种常用的基础类的软件。</p>
<p style="text-indent:2em;text-align:left">例如在mySQL应用中，帮助实现了电信级容器化Mysql集群。</p>
<p style="text-indent:2em;text-align:left">初始化脚本挂载：容器启动时能够挂载用户定义的数据库初始化脚本。</p>
<p style="text-indent:2em;text-align:left">数据服务高可用，不论是宿主机还是容器down掉，都不影响数据库的访问。</p>
<p style="text-indent:2em;text-align:left">数据的高可用。</p>
<p style="text-indent:2em;text-align:left">数据的备份。</p>
<p style="text-indent:2em;text-align:left">Kafka是目前应用最广的消息存储和转发中间件，容器化后保证：</p>
<p style="text-indent:2em;text-align:left">支持容器的挂载。</p>
<p style="text-indent:2em;text-align:left">支持高可用。</p>
<p style="text-indent:2em;text-align:left">支持管理工具的集成：在容器集群中内置管理工具Kafka manager，实现对集群的管理。</p>
<p style="text-indent:2em;text-align:left"><strong>运营管理- DevOps 流水线集成</strong></p>
<p style="text-indent:2em;text-align:left">从以上HPE的容器的案例来看，电信级别mySQL的应用，KAFKA应用，李博士指出消息存储转发中间件，怎么做到最优化的搜索，原生DB基础上如何实现电信级别。在流水线集成中，当企业实现了平台，微服务，要有一个流水线，同时优化部署，这个流水线有四大纲领，持续交付、持续集成、持续测试，一定是持续的，中间再分出许多的子环节，从需求到最后知识管理、运维管理、配置全部是一气呵成，自动集成。DevOps流水线化、可视化，这些都是企业关注的重点，HPE的企业级经验认知到企业为什么需要容器云，设计重点是什么，我们设计重点在什么地方。</p>
<p style="text-indent:2em;text-align:center"><img src="http://cdn1.ccidcom.com/attach/image/20170505/1493972099736870.png" title="1493972099736870.png" alt="1493972099736870.png" width="600" height="269" /></p>
<p style="text-indent:2em;text-align:left"><strong>HPE企业级容器云加速数字创新</strong></p>
<p style="text-indent:2em;text-align:left">李志霄最后总结到HPE企业级容器云解决方案的特点，它是一体化的管理工具，硬负载均衡集成，具有集中式日志数据采集和分析，Docker全生命周期可视化管理，全方位的系统和应用监控，以及监控安全是贯穿全局。在企业实现数字化创新领域帮助企业：</p>
<p style="text-indent:2em;text-align:left">降低传统应用云化的迁移难度。容器概念将应用和资源池有机的整合在一起，可以不对网络和存储资源等进行改造，最大可能的降低传统的应用构架云化改造难度。应用系统只要实现数据的分片，就能很快速的实现自己容器的设计和构建，形成生产力。</p>
<p style="text-indent:2em;text-align:left">简化应用的开发，测试和部署。容器技术可以将你的应用打包成单一地址访问的、registry存储的(registry-stored)、仅通过一行命令就可以部署完成的组件。不论你想将服务部署在哪里，容器都可以从根本上简化你的服务部署工作。实现开发，测试，部署，上线的标准化。</p>
<p style="text-indent:2em;text-align:left">快速可用和弹性扩展。容器技术对操作系统的资源进行再次抽象，而并非对整个物理机资源进虚拟化，通过这种方式，打包好的服务可以在1/20秒的时间内启动，并且可以自由的调整服务集群的大小。</p>
<p style="text-indent:2em;text-align:left">微服务化，对业务在实现SLA分级控制。通过使用不同SLA的容器，可以从资源层面区分业务的SLA控制。如关键的业务使用小机+oracle 容器，普通业务使用X86+MYSQL容器，从系统稳定性，性能和数据的安全性方面进行分级。</p>
<p style="text-indent:2em;text-align:left">提高系统对业务剧烈波动的适应性。超级互联网融合业务接入，以及移动自身互联网业务的发展，造成业务的波动性加大，并且要求业务24小时高连续性。按容器管理模式构建的系统， 其标准化，模块化，灵活性，可以快速的形成生产能力，动态提高对业务剧烈波动的适应能力。</p>
<p style="text-indent:2em;text-align:left">今天IT的开发、运维、测试也要与时俱进。如何充分利用开源工具，百花齐放，怎样选择一个优化平台，请跟HPE一起启动加速未来，引领变革的新旅程吧！</p>
<p style="text-indent:2em;text-align:left">此外您可以报名参加HPE大学提供的HPE容器云技术架构师认证课程，通过学习实践及讨论，学习微服务的理念、架构及原则和实施方法；学习DevOps  开发方法, 通过案例深入研究DevOps 与容器相融合的实施方法；学习和掌握Docker 和Kubernetes 的相关知识; 学习Mesos  的架构和原理，深入研究Mesos与主流开发框架（Kubernetes、Hadoop、Spark 等) 的集成;  专家分享大型实施案例，全面系统掌握容器化架构设计全流程；最后通过考试获得课程认证。</p>]]></content><pubDate>2018-08-02 14:22:55</pubDate></item><item id="6"><title><![CDATA[Openstack+Kubernetes+Docker微服务实践之路--弹性扩容]]></title><link>http://www.diantanyun.com/yunjisuan/show.php?itemid=6</link><thumb></thumb><description><![CDATA[Openstack+Kubernetes+Docker微服务实践之路--弹性扩容服务上线就要顶的住压力、扛的住考验，不然挨说的还是我们这帮做事的兄弟]]></description><content><![CDATA[<div class="article-info-box">
<div class="article-bar-top d-flex">
<h1 class="title-article">Openstack+Kubernetes+Docker微服务实践之路--弹性扩容</h1>
</div>
</div>
<article>
<div id="article_content" class="article_co<em></em>ntent clearfix csdn-tracking-statistics" data-pid="blog" data-mod="popu_307" data-dsm="post">
<div class="htmledit_views">
<p><img src="http://images2015.cnblogs.com/blog/57355/201611/57355-20161124160443534-1985216280.jpg" alt="57355-20161124160443534-1985216280.jpg" /></p>
<p>服务上线就要顶的住压力、扛的住考验，不然挨说的还是我们这帮做事的兄弟，还记得上图这个场景吗</p>
<p>老办法是服务集群部署，但总归有个上限，之前跟阿里合作的时候他们有个弹性计算可以通过设置CPU的阀值来动态扩展和收缩计算能力，那时感觉很有逼格，至少在当时我们常规的做法很难做到，没想到时至今日有了Kubernetes我们能也扬眉吐气了，看我来给大家实实在在的秀一把。</p>
<p>Kubernetes的自动扩容针对的是ReplicationController的，它会监控所有Pods的CPU使用情况，如果超过比例就启动更多的Pods来提供服务，反之减少Pods，在一般的情况下我们不会设置Pods的CPU的上限，但要使用自动扩容就要设置它的阀值因此也要设置Pods的CPU使用上限，不然Kubernetes没办法计算它的占用比例，所以我们在创建RC的时候就要指定每个Pod  CPU资源占用的上限</p>
<h2><a name="t0"></a>配置</h2>
<pre><code class="hljs swift"><ol class="hljs-ln"><li><div class="hljs-ln-code"><div class="hljs-ln-line">apiVersion: v1</div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">kind: <span class="hljs-type">ReplicationController</span></div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">me<em></em>tada<em></em>ta:</div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">name: thrift-<span class="hljs-built_in">c</span></div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">namespace: thrift-demo</div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">spec:</div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">replicas:<span class="hljs-number">1</span></div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">selector:</div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">app: thrift-<span class="hljs-built_in">c</span></div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">template:</div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">me<em></em>tada<em></em>ta:</div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">name: thrift-<span class="hljs-built_in">c</span></div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">labels:</div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">app: thrift-<span class="hljs-built_in">c</span></div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">spec:</div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">containers:</div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">- name: thrift-<span class="hljs-built_in">c</span></div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">resources:</div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">requests:</div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">cpu: 200m</div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">image: registry2.io/thrift/thrift-<span class="hljs-built_in">c</span>:<span class="hljs-number">0.0</span>.<span class="hljs-number">2</span></div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">imagePullPolicy: <span class="hljs-type">Always</span></div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">ports:</div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">- containerPort: <span class="hljs-number">9091</span></div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">imagePullSecrets:</div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">- name: registry2key</div></div></li></ol></code></pre>
<p>注意resources的配置，指定CPU最高占用为200m，如果是修改的话必须要删除RC，重新创建，apply不行，另外注意我们这里的replicas是1。</p>
<p>在Dashboard中查看，是不是生效了，</p>
<p><img src="http://images2015.cnblogs.com/blog/57355/201611/57355-20161124160502034-1148528239.png" alt="57355-20161124160502034-1148528239.png" /></p>
<h2><a name="t1"></a>压力测试</h2>
<p>我们的配置确定生效之后就要看Kubernetes弹性扩容的效果了，第一步要先给我们的服务增加自动扩容的能力，有两种方法，一种是配置文件，另一种是通过Kubectl命令完成，看命令</p>
<pre><code class="hljs swift">kubectl autoscale rc thrift-<span class="hljs-built_in">c</span> -nthrift-demo --<span class="hljs-built_in">max</span>=<span class="hljs-number">10</span> --cpu-percent=<span class="hljs-number">10</span> --<span class="hljs-built_in">min</span>=<span class="hljs-number">1</span></code></pre>
<p>参数--max是弹性扩容最大Pods数量，--min自然是最小数量，--cpu-percent是阀值，是一个百分比这里配置的是相当于10%，这条命令运行之后就给我们指定的RC thrift-c增加了自动扩容的能力，查看一下</p>
<p><img src="http://images2015.cnblogs.com/blog/57355/201611/57355-20161124160518675-254229269.jpg" alt="57355-20161124160518675-254229269.jpg" /></p>
<p>可以看到target和current以及数量等信息，目前我们没有访问量</p>
<p>第二步，加压，增加访问量和并发，给你一条简单的命令</p>
<pre><code class="hljs java"><span class="hljs-keyword">while</span> <span class="hljs-keyword">true</span>; <span class="hljs-keyword">do</span> wget -q -O- http:<span class="hljs-comment">//test.k8s.io/hi?name=3213; done</span></code></pre>
<p>我分别在三台机器上执行了这条命令，压力直线上升，</p>
<p><img src="http://images2015.cnblogs.com/blog/57355/201611/57355-20161124160537737-1202948857.jpg" alt="57355-20161124160537737-1202948857.jpg" /></p>
<p>当CPU超过10%的时候我们看下Pods的数量</p>
<p><img src="http://images2015.cnblogs.com/blog/57355/201611/57355-20161124160549346-732181430.png" alt="57355-20161124160549346-732181430.png" /></p>
<p>Pods从一个迅速给扩容到4个，如果服务能力没到达到要求还会增加Pods数量，当我把压力测试命令终止后CPU降下来时Kubernetes大概过了几分钟把Pods减少到最初的一个，我反复测试了多次，这个功能非常好用也很稳定，它能够及时的根据服务的压力做出响应，在收缩的时候有延迟可能是防止短时间内再次发生，CPU稳定一段时间后Pods被减少到我们配置的--min个。</p>
<p>有了这个功能我们再也不怕突发其来的压力和服务器宕机，瓶颈就丢给网络和磁盘IO以及数据库了，服务器方面如果有宕机Kubernetes会把它上面的Pods全部移到其它结点上启动起来，保证你的Pods始终是运行的，但有一点Kubernetes的Master是单点运行的，在后面如果有空研究一下Master的高可用，其实已经有很多网友研究过并给出解决办法，如果有兴趣可以先了解一下。</p>
</div>
</div>
</article>]]></content><pubDate>2018-08-02 14:19:40</pubDate></item><item id="5"><title><![CDATA[Openstack+Kubernetes+Docker微服务实践之路--Docker和Registry2]]></title><link>http://www.diantanyun.com/yunjisuan/show.php?itemid=5</link><thumb></thumb><description><![CDATA[渐入佳境，我们开始比较具体的工作，由于Docker是一个基础组件，所以本文的主题是Docker和Registry2。底层系统基于Centos7，先在]]></description><content><![CDATA[<div class="htmledit_views">
<p>渐入佳境，我们开始比较具体的工作，由于Docker是一个基础组件，所以本文的主题是Docker和Registry2。</p>
<p>底层系统基于Centos7，先在一台云主机上安装Docker，Docker的安装非常简单，参考官网Docker Centos部分安装指导只需要几步，安装好之后开始以下配置。</p>
<h3><a name="t0"></a>关闭防火墙</h3>
<pre><code class="hljs sql"><ol class="hljs-ln"><li><div class="hljs-ln-code"><div class="hljs-ln-line">service firewalld <span class="hljs-keyword">stop</span></div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">systemctl <span class="hljs-keyword">disable</span> firewalld.service</div></div></li></ol></code></pre>
<h3><a name="t1"></a>Docker 1.12 禁用STL（HTTPS）登录Regisry</h3>
<p>配置Docker通过STL和Registry通讯比较麻烦，由于是么有云环境，就索性禁用了，</p>
<pre><code class="hljs perl"><ol class="hljs-ln"><li><div class="hljs-ln-code"><div class="hljs-ln-line">vim /usr/lib/systemd/<span class="hljs-keyword">system</span>/docker.service</div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line"><span class="hljs-comment">#ExecStart=/usr/bin/dockerd </span></div></div></li><li><div class="hljs-ln-code"><div class="hljs-ln-line">ExecStart=<span class="hljs-regexp">/usr/bin</span><span class="hljs-regexp">/dockerd --insecure-registry registry2.io </span></div></div></li></ol></code></pre>
<p>配置好以后需要重启Docker服务生效，<strong>registry2.io</strong> 是我们给Registry指定的域名！</p>
<blockquote>
<p>注意：配置好以后在Openstack界面上为此云主机生成快照，在以后创建的云主机将以此为系统基础，而不是纯净的Centos7，这样可以节约很多时间！</p>
</blockquote>
<h3><a name="t2"></a>Registry</h3>
<p>我们采用Vmware的Harbor做为直接使用Registry2的替代，号称是企业级的私有镜像仓库，Harbor支持中文而且功能全面，可以在线多项目管理Images包括搜索、删除等功能，最主要的是安装也特别简单，Harbor对于Registry2省去一些秘钥、证书的生成等繁杂的配置而且功能更强大。</p>
<p>项目主页https://github.com/vmware/harbor/ 安装同样非常简单，用Docker快照创建云主机，安装请参考官方安装指导和 http://www.xf80.com/2016/10/10/docker-harbor/</p>
<p>Harbor通过Docker Compose安装的，使用 docker-compose stop 和 docker-compose rm 可以停止和删除Harbor。</p>
<p>配置Harbor，Harbor.cfg</p>
<p><img src="http://images2015.cnblogs.com/blog/57355/201611/57355-20161118130033373-257608506.png" alt="57355-20161118130033373-257608506.png" /></p>
<p>指定hostname和harbor_admin_password，如果是线上使用还要配置外部存储、主从、邮箱等。</p>
<p>安装后运行效果</p>
<p><img src="http://images2015.cnblogs.com/blog/57355/201611/57355-20161118130059092-1005319431.png" alt="57355-20161118130059092-1005319431.png" /></p>
<p><img src="http://images2015.cnblogs.com/blog/57355/201611/57355-20161118130114654-1764186424.png" alt="57355-20161118130114654-1764186424.png" /></p>
<p><img src="http://images2015.cnblogs.com/blog/57355/201611/57355-20161118130126670-1944005513.png" alt="57355-20161118130126670-1944005513.png" /></p>
<h3><a name="t3"></a>Docker登录Registry</h3>
<p>在docker的云主机上运行</p>
<pre><code class="hljs css"><span class="hljs-selector-tag">docker</span> <span class="hljs-selector-tag">login</span> <span class="hljs-selector-tag">registry2</span><span class="hljs-selector-class">.io</span></code></pre>
<p>提示输入用户名和密码（在上面配置的）就可正常登录到Harbor，之后就可以Push和Pull等操作了。</p>
</div>]]></content><pubDate>2018-08-02 14:15:41</pubDate></item></channel></rss>