汽车软件开发自动化测试攻略

汽车电子与软件 2022-03-14 08:09
随着软件开发在造车行业中占有越来越重要的地位,敏捷开发的思想在造车领域中也逐渐地被重视起来,随之而来的是整车厂对自动化测试需求越来越强烈。本文结合在自动化测试方面的丰富经验,简单介绍一下实施自动化测试可能需要具备的技能及具体实践流程。


自动化测试城门-Python



要实现完全的自动化测试,我们首先要做的是先实现半自动化测试,即编写自动化测试脚本。俗话说Life is short,I use Python,Python作为一种简单易上手的高级编程语言,凭借其“无所不包”的库,成为测试脚本开发的不二之选。这里简单介绍一下,测试脚本开发常用的一些Python标准库。


城门士卒-os库


在编写测试脚本时,不可避免地会遇到对文件路径的获取及编辑,os库里的path函数可以方便地实现这些操作,如绝对路径获取os.path.abspath()、路径拼接os.path.join()、路径存在判断os.path.exist()等;如果你需要在Python中运行测试工具提供的命令,那么os库的system函数或popen函数可以让你方便地调用cmd(Windows)或shell(Linux)。


城门士卒-sys库


如果你所编写的测试脚本有跨平台运行的需求,那么你可以通过sys库的platform函数获取脚本的运行环境。根据运行环境的不同,编写不同的批处理命令;sys库中的argv函数,还可以为你的测试脚本提供简单的命令行接口,当你的脚本需要接收外部传递的参数时,你可以通过sys.argv[]方便地获取。而如果你需要编写更复杂更友好的命令行接口,你需要使用Python的另外一个标准库argparse来实现。


城门队长-re库


正则表达式是编写测试脚本的必备技能,因为有时我们会遇到复杂的文本处理,如在工程文件中查找需要修改的配置,并将其修改为我们所需要的内容。此时一般的查找替换函数就很难实现这个功能,我们只能借助强大的re库(正则表达式)来解决这个棘手的问题。re库提供的函数有:

re.compile():编译正则表达式,生成一个 Pattern 对象;

re.findall():搜索所有满足条件的字符串;re.match():从第一个字符开始匹配模式;

re.search():搜索第一个满足条件的字符串,查找到第一个停止;

re.sub():替换满足条件的字符串。


在使用re模块时,我们一般先用re.compile()将正则表达式编译生成为一个Pattern对象,然后再基于这个对象进行findall、match等操作,这样既可以提高代码的可读性,也可以提高代码的运行效率。

使用正则表达式进行查找替换是很方便的,但是在很多时候我们需要在匹配的字符串前后添加内容,并且保留匹配的内容,这时普通的查找替换是难以实现的。

如:希望将hour: minute格式后添加:00,形成hour: minute: seconds这种格式。此时可以采用如下方式来实现:

查找的正则表达式:

(\d:\d)

替换为:

\1\:00


这里,我们在替换的字符中使用\1,来引用正则表达式中第一个分组匹配到的内容,如果正则表达式中有多个分组,可以依次使用\2\3等进行引用,可以使用\0来引用整个正则表达式的内容。


小结



在掌握了Python基础语法和这三个标准库后,自动化测试的大门就为我们敞开了。但是想要编写一个可以驱动测试工具进行测试的脚本,我们还需要了解测试工具在headless模式 下的接口情况,如果工具提供的接口丰富,可以实现在headless模式[1]下对测试工程进行配置和执行等操作,那么我们的测试脚本开发工作将会顺利地进行。

但是如果工具提供的headless模式接口有限,无法满足测试脚本的需求,那么进入自动化测试大门后,等待我们的就是另一个棘手的问题:如何对工程文件进行解析与修改。考虑到大部分的工程文件都是XML格式的,因此后续我们就简单介绍一下如何通过Python解析和修改XML文件。

[1]:这里的headless模式是指在不使用工具GUI的情况下,以纯命令行的方式进行工具使用的模式。


自动化测试瓮城——XML文件



瓮城守备—XML解析



在Python的标准库中,有专门处理XML文件的库,无需安装第三方库就可以使用Python进行XML文件的解析,但是要想准确地从XML文件中解析出想要的信息,我们首先需要简单了解一下XML的文件结构。如下是一个简单的XML文档。

  Everyday Italian
  Giada DeLaurentiis
 2005
 30.00
  HarryPotter
  J K.Rowling
 2005
 29.99
  LearningXML
  Erik T.Ray
 2003
 39.95


其中Harry Potter元素的结构如下图所示



注:图片来源于https://www.w3school.com.cn/xml/xml_tree.asp

在该XML文本中,根元素是,文档中的所有元素都被包含在里。元素有 4 个子元素:、< author>、<year>、<price>。每个子元素都包含一个文本内容,但只有子元素title和元素book拥有属性。</span></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">我们在解析XML时,一般需要获取的就是元素的属性值以及元素的文本内容。以下我们就简单介绍一下,如何通过python获取元素的属性值及文本内容。</span></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">Python的XML库提供了一个通过标签名称获取元素的函数getElementsByTagName(),该函数返回的是一个包含元素对象的list,通过调用元素对象的attributes方法,我们就可以方便地获取元素的属性值。如,我们可以使用如下命令获取XML文件中第一个标签为title的lang属性值:</span></section></section><section style="margin-left: 8px;margin-right: 8px;"><section style="display: flex;flex-flow: row nowrap;margin: 10px 0%;"><section style="display: inline-block;vertical-align: top;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: flex-start;"><section style="font-size: 55px;color: rgb(33, 36, 237);" powered-by="xiumi.us"><p style="white-space: normal;">“</p></section></section><section style="display: inline-block;vertical-align: top;width: auto;flex: 100 100 0%;align-self: flex-start;height: auto;"><section style="margin: 20px 0% 10px;text-align: center;justify-content: center;transform: translate3d(-17px, 0px, 0px);" powered-by="xiumi.us"><section style="text-align: justify;padding-right: 20px;padding-left: 20px;"><p style="white-space: normal;">root.getElementsByTagName("title")[<span style="color: rgb(0, 82, 255);">0</span>].attributes.getNamedItem("lang").nodeValue</p></section></section></section></section></section><section powered-by="xiumi.us"><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">获取第一个标签为title的元素的文本信息的代码如下:</span></section></section><section style="margin-left: 8px;margin-right: 8px;"><section style="display: flex;flex-flow: row nowrap;margin: 10px 0%;"><section style="display: inline-block;vertical-align: top;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: flex-start;"><section style="font-size: 55px;color: rgb(33, 36, 237);" powered-by="xiumi.us"><p style="white-space: normal;">“</p></section></section><section style="display: inline-block;vertical-align: top;width: auto;flex: 100 100 0%;align-self: flex-start;height: auto;"><section style="margin: 20px 0% 10px;text-align: center;justify-content: center;transform: translate3d(-17px, 0px, 0px);" powered-by="xiumi.us"><section style="text-align: justify;padding-right: 20px;padding-left: 20px;"><p style="white-space: normal;">root.getElementsByTagName("title")[<span style="color: rgb(0, 82, 255);">0</span>].firstChild.data</p><p style="white-space: normal;"><br></p><p style="white-space: normal;"><br></p></section></section></section></section></section><section style="margin: 10px 8px;"><section style="display: inline-block;width: auto;vertical-align: top;border-left: 5px solid rgb(33, 36, 237);border-bottom-left-radius: 0px;padding-left: 9px;min-width: 10%;height: auto;"><section style="margin: 2px 0%;" powered-by="xiumi.us"><section style="color: rgb(33, 36, 237);font-size: 17px;line-height: 1.3;"><p style="white-space: normal;"><strong>瓮城参将—XML修改</strong></p></section></section></section></section><section powered-by="xiumi.us"><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">XML元素的属性和文本内容修改很简单,在上小节中获取对应的元素信息后,直接对其进行赋值即可。但是,修改后的信息保存在XML对象中。要完成对实际XML文件的修改,我们还需要用XML对象中的内容覆盖原有的XML文件,这一步存在很多棘手的问题。</span></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">在XML文件中,为了避免元素文本内容中存在的特殊字符引起解析器错误,在文本内容中引入实体引用来替代可能导致错误的字符,如回车 、双引号"、单引号'。如果使用Python的xml.dom.minidom库解析并使用writexml输出XML文件,该库会将这些实体引用转义为其实际字符进行保存。如果不对XML对象中的内容进行处理,导出的XML文件将会存在很多错误。</span></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">为了避免这个情况的出现,我们需要使用之前小节介绍的正则表达式将这些字符再替换为其实体引用。这个过程需要我们能熟练使用正则表达式进行文本查找与替换。</span></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">除了XML文件中的实体引用外,如果XML文件中存在中文字符,那么还有一个需要注意的事情:不要使用with open as的方式读写XML文件,要使用open指定文件的编码为'utf-8’ 的方式,对XML文件进行写入。如下所示:</span></section></section><section style="margin-left: 8px;margin-right: 8px;"><section style="display: flex;flex-flow: row nowrap;margin: 10px 0%;"><section style="display: inline-block;vertical-align: top;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: flex-start;"><section style="font-size: 55px;color: rgb(33, 36, 237);" powered-by="xiumi.us"><p style="white-space: normal;">“</p></section></section><section style="display: inline-block;vertical-align: top;width: auto;flex: 100 100 0%;align-self: flex-start;height: auto;"><section style="margin: 20px 0% 10px;text-align: center;justify-content: center;transform: translate3d(-17px, 0px, 0px);" powered-by="xiumi.us"><section style="text-align: justify;padding-right: 20px;padding-left: 20px;"><p style="white-space: normal;">f = open(self.JenkinsJobXMLPath, 'w', encoding="utf-8")</p><p style="white-space: normal;">dom.writexml(f, indent='', addindent='\t', newl='', encoding='utf-8') </p><p style="white-space: normal;">f.close()</p></section></section></section></section></section><section powered-by="xiumi.us"><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section></section><section style="margin: 10px 8px;"><section style="display: inline-block;width: auto;vertical-align: top;border-left: 5px solid rgb(33, 36, 237);border-bottom-left-radius: 0px;padding-left: 9px;min-width: 10%;height: auto;"><section style="margin: 2px 0%;" powered-by="xiumi.us"><section style="color: rgb(33, 36, 237);font-size: 17px;line-height: 1.3;"><p style="white-space: normal;"><strong>小结</strong></p></section></section></section></section><section powered-by="xiumi.us"><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">上述两个问题是修改XML文件时普遍会遇到的问题。解决了这两个问题,我们基本上就可以完美实现XML文件的修改了。此时,我们就可以编写自动化程度更高的测试脚本,然而我们依然无法实现完全的自动化测试,因为我们仍然需要手动地去执行测试脚本。那么,我们该如何实现测试脚本的自动执行呢?这就需要我们打通自动化测试的最后一个关卡,Jenkins。</span></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section></section><section style="margin-left: 8px;margin-right: 8px;"><section style="margin: 30px 0% 20px;display: flex;flex-flow: row nowrap;"><section style="display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;line-height: 0;align-self: flex-start;"><section style="transform: rotateZ(328deg);" powered-by="xiumi.us"><section style="text-align: left;justify-content: flex-start;"><section style="display: inline-block;width: 101px;height: 34px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 1px;border-radius: 50%;border-color: rgb(33, 36, 237);"><section><svg viewbox="0 0 1 1" style="float:left;line-height:0;width:0;vertical-align:top;"></svg></section></section></section></section></section><section style="display: inline-block;vertical-align: top;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;background-color: rgb(255, 255, 255);margin-left: -80px;align-self: flex-start;z-index: 2;"><section style="margin-right: 0%;margin-left: 0%;text-align: center;justify-content: center;isolation: isolate;" powered-by="xiumi.us"><section style="text-align: justify;font-size: 18px;"><p style="white-space: normal;"><strong>自动化测试总兵——Jenkins</strong></p></section></section></section><section style="display: inline-block;vertical-align: top;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: flex-start;margin-left: 7px;"><section style="text-align: left;justify-content: flex-start;transform: translate3d(3px, 0px, 0px);" powered-by="xiumi.us"><section style="display: inline-block;width: 9px;height: 9px;vertical-align: top;overflow: hidden;border-width: 0px;border-radius: 112px;border-style: none;border-color: rgb(62, 62, 62);background-color: rgb(33, 36, 237);"><section><svg viewbox="0 0 1 1" style="float:left;line-height:0;width:0;vertical-align:top;"></svg></section></section></section></section></section></section><section powered-by="xiumi.us"><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><strong><span style="letter-spacing: 1px;">Jenkins 是一个开源、免费的可扩展持续集成引擎,主要用于:</span></strong><span style="letter-spacing: 1px;"></span></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><strong><span style="letter-spacing: 1px;"><br></span></strong></section><ul class="list-paddingleft-1" style="list-style-type: disc;margin-left: 8px;margin-right: 8px;"><li style="color: rgb(0, 82, 255);"><p><span style="letter-spacing: 1px;color: rgb(0, 82, 255);">持续、自动地构建/测试软件项目;</span></p></li><li style="color: rgb(0, 82, 255);"><p><span style="letter-spacing: 1px;color: rgb(0, 82, 255);">监控一些定时执行的任务。</span></p></li></ul><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">为了实现测试脚本的自动化运行,我们需要配置Jenkins Job,使Jenkins在设置的触发条件满足时,自动搭建测试脚本的运行环境,然后执行测试脚本,最后将测试结果发送给相关人员。因此我们需要了解Jenkins的源码管理、构建触发器、构建及邮件通知等设置。</span></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section></section><section style="margin: 10px 8px;"><section style="display: inline-block;width: auto;vertical-align: top;border-left: 5px solid rgb(33, 36, 237);border-bottom-left-radius: 0px;padding-left: 9px;min-width: 10%;height: auto;"><section style="margin: 2px 0%;" powered-by="xiumi.us"><section style="color: rgb(33, 36, 237);font-size: 17px;line-height: 1.3;"><p style="white-space: normal;"><strong>总兵的连招1—源码管理</strong></p></section></section></section></section><section powered-by="xiumi.us"><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">Jenkins服务器最基本的作用是监视版本控制器,当版本库有新的更改时,检出版本库中的文件,或者,你可以选择只是定期检出版本库中最新的文件。无论哪种方式,Jenkins与版本控制软件的集成是必不可少的。</span></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">Jenkins开箱即用式支持Git、CVS和SVN,还通过插件与大量其他版本控制工具进行集成,如ClearCase、Perforce、PVCS等等。</span></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">不同的版本控制软件在Jenkins端的需要的配置并不相同,有的甚至差异很大。但是只要你熟悉你所使用的版本控制软件,那么在Jenkins端,就可以很容易地对版本库进行配置。</span></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">以SVN为例,为了从SVN仓库中获取源码,我们需要提供相应SVN版本库的URL,在完成URL输入后,Jenkins会检查URL的有效性,如果所提供的URL要求身份认证,Jenkins将会自动提示选择相应的凭据以验证账号信息,如下图所示。</span></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="text-align: center;margin-left: 8px;margin-right: 8px;"><img class="rich_pages wxw-img" data-fileid="502829567" data-galleryid="" data-ratio="0.3534798534798535" data-s="300,640" src="https://static.mianbaoban-assets.eet-china.com/xinyu-images/MBXY-CR-22b0f55448fb2b4f37612ddafba42804.png" data-type="png" data-w="1092" style=""></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">默认情况下,Jenkins会将给定的代码库中的文件检出到Jenkins Job的Workspace中。如果你需要将代码库检出到指定的目录中,你可以在Local module directory中输入你想要的目录名或相对Workspace的路径。</span></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">如果你需要从多个SVN版本库中获取文件,可以点击“Add module ...”按钮,来添加别的版本库。</span></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section></section><section style="margin: 10px 8px;"><section style="display: inline-block;width: auto;vertical-align: top;border-left: 5px solid rgb(33, 36, 237);border-bottom-left-radius: 0px;padding-left: 9px;min-width: 10%;height: auto;"><section style="margin: 2px 0%;" powered-by="xiumi.us"><section style="color: rgb(33, 36, 237);font-size: 17px;line-height: 1.3;"><p style="white-space: normal;"><strong>总兵的连招2—构建触发器</strong></p></section></section></section></section><section powered-by="xiumi.us"><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">常用的构建触发器有周期性构建和SCM轮询构建,两者都是使用相同corn风格语法进行设置,如下图所示。</span></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="text-align: center;margin-left: 8px;margin-right: 8px;"><img class="rich_pages wxw-img" data-fileid="502829570" data-galleryid="" data-ratio="0.2596468279921517" data-s="300,640" src="https://static.mianbaoban-assets.eet-china.com/xinyu-images/MBXY-CR-4ba60567fdbc719061f6d8eeadd04f81.png" data-type="png" data-w="1529" style=""></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">我们只需要了解corn风格的语法,就可以方便地进行构建触发器的设置。corn风格的语法包含五个由空格分隔的字段:</span><strong><span style="letter-spacing: 1px;color: rgb(0, 82, 255);">MINUTE HOUR DOM MONTH DOW</span></strong></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">每个字段使用下面的值:</span></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section></section><section style="margin: 20px 8px 10px;"><section style="display: inline-block;width: 100%;vertical-align: top;border-style: solid;border-width: 1px;border-color: rgb(33, 36, 237);padding: 21px;"><section style="margin: -28px 0% 9px;" powered-by="xiumi.us"><section style="display: inline-block;width: auto;vertical-align: top;min-width: 10%;height: auto;"><section style="transform: rotateZ(328deg);" powered-by="xiumi.us"><section style="text-align: center;justify-content: center;margin-right: 0%;margin-left: 0%;"><section style="display: inline-block;width: 26px;height: 13px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 1px;border-radius: 50%;border-color: rgb(33, 36, 237);background-color: rgba(255, 255, 255, 0);"><section><svg viewbox="0 0 1 1" style="float:left;line-height:0;width:0;vertical-align:top;"></svg></section></section></section></section></section></section><section powered-by="xiumi.us"><p style="white-space: normal;"><span style="color: rgb(33, 36, 237);">MINUTE</span> 小时内的分钟数(0-59)</p><p style="white-space: normal;"><span style="color: rgb(33, 36, 237);">HOUR </span>一天的小时数(0-23)</p><p style="white-space: normal;"><span style="color: rgb(33, 36, 237);">DOM</span> 本月的天数(1-31)</p><p style="white-space: normal;"><span style="color: rgb(33, 36, 237);">MONTH </span>月份(1-12)</p><p style="white-space: normal;"><span style="color: rgb(33, 36, 237);">DOW</span> 本周的一天(0-7),其中0和7都是星期日</p></section></section></section><section powered-by="xiumi.us"><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">要为一个字段指定多个值,可以使用以下操作符:</span></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section></section><section style="margin: 20px 8px 10px;"><section style="display: inline-block;width: 100%;vertical-align: top;border-style: solid;border-width: 1px;border-color: rgb(33, 36, 237);padding: 21px;"><section style="margin: -28px 0% 9px;" powered-by="xiumi.us"><section style="display: inline-block;width: auto;vertical-align: top;min-width: 10%;height: auto;"><section style="transform: rotateZ(328deg);" powered-by="xiumi.us"><section style="text-align: center;justify-content: center;margin-right: 0%;margin-left: 0%;"><section style="display: inline-block;width: 26px;height: 13px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 1px;border-radius: 50%;border-color: rgb(33, 36, 237);background-color: rgba(255, 255, 255, 0);"><section><svg viewbox="0 0 1 1" style="float:left;line-height:0;width:0;vertical-align:top;"></svg></section></section></section></section></section></section><section powered-by="xiumi.us"><p style="white-space: normal;"><span style="color: rgb(33, 36, 237);">“*”代表一个字段的所有可能的值</span>。如,“* * * * *”表示周期为一分钟;</p><p style="white-space: normal;"><br></p><p style="white-space: normal;"><span style="color: rgb(33, 36, 237);">使用“M-N”定义范围</span>。如,在DOW中“1-5”表示周一到周五;</p><p style="white-space: normal;"><br></p><p style="white-space: normal;"><span style="color: rgb(33, 36, 237);">使用“/”定义范围间隔时间</span>。如,MINUTE字段“*/5”表示每5分钟;</p><p style="white-space: normal;"><br></p><p style="white-space: normal;"><span style="color: rgb(33, 36, 237);">逗号分隔的列表表示有效值</span>。如,MINUTE字段“15,45”表示在每小时的第15和第45分钟运行;</p><p style="white-space: normal;"><br></p></section></section></section><section powered-by="xiumi.us" style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;font-size: 14px;"><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;font-size: 14px;"><br></section><section>通常,我们只需要在这个字段中写一行,但是对于更复杂的调度配置,我们可能需要写多行。</section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section></section><section style="margin: 10px 8px;"><section style="display: inline-block;width: auto;vertical-align: top;border-left: 5px solid rgb(33, 36, 237);border-bottom-left-radius: 0px;padding-left: 9px;min-width: 10%;height: auto;"><section style="margin: 2px 0%;" powered-by="xiumi.us"><section style="color: rgb(33, 36, 237);font-size: 17px;line-height: 1.3;"><p style="white-space: normal;"><strong>总兵的连招3—构建</strong></p></section></section></section></section><section powered-by="xiumi.us"><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">在完成了之前的配置后,Jenkins应该知道在何时从何处获取测试工程及源码。现在我们需要做的事情是,告诉Jenkins在获取测试工程和源码后该如何做。一般情况下,我们会将之前编写的测试脚本放在测试工程的版本库中,或者从专门的测试脚本库中检出到Jenkins Job的Workspace中,因此我们在这里只需要执行编写好的测试脚本即可。</span></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">执行脚本的方式可以根据具体脚本的运行环境,选择执行Shell或Windows批处理命令。因此我们需要简单地了解Shell或Windows的常用批处理命令。为了避免编写复杂的批处理命令,我们应尽量把工作放在测试脚本中完成。本文以如下图所示的简单的Windows批处理为例,简单介绍一下构建步骤的编写。</span></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="text-align: center;margin-left: 8px;margin-right: 8px;"><img class="rich_pages wxw-img" data-fileid="502829568" data-galleryid="" data-ratio="0.20975056689342403" data-s="300,640" src="https://static.mianbaoban-assets.eet-china.com/xinyu-images/MBXY-CR-02a978212388e1a75f3ad68b0f96e806.png" data-type="png" data-w="1764" style=""></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">在上图中,有两行命令:</span></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section></section><section style="margin: 20px 8px 10px;"><section style="display: inline-block;width: 100%;vertical-align: top;border-style: solid;border-width: 1px;border-color: rgb(33, 36, 237);padding: 21px;"><section style="margin: -28px 0% 9px;" powered-by="xiumi.us"><section style="display: inline-block;width: auto;vertical-align: top;min-width: 10%;height: auto;"><section style="transform: rotateZ(328deg);" powered-by="xiumi.us"><section style="text-align: center;justify-content: center;margin-right: 0%;margin-left: 0%;"><section style="display: inline-block;width: 26px;height: 13px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 1px;border-radius: 50%;border-color: rgb(33, 36, 237);background-color: rgba(255, 255, 255, 0);"><section><svg viewbox="0 0 1 1" style="float:left;line-height:0;width:0;vertical-align:top;"></svg></section></section></section></section></section></section><section powered-by="xiumi.us"><p style="white-space: normal;"><strong>第一行的作用:是将目录由初始的Workspace目录切换到Workspace下的Script目录;</strong></p><p style="white-space: normal;"><br></p><p style="white-space: normal;"><strong>第二行的作用:是运行Script目录中的测试脚本Script.py,并为该脚本传递一个参数,该参数为Jenkins的环境变量JOB_NAME,即当前Jenkins Job的名称。</strong></p></section></section></section><section powered-by="xiumi.us"><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">这样就完成了对测试脚本的调用。</span></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section></section><section style="margin: 10px 8px;"><section style="display: inline-block;width: auto;vertical-align: top;border-left: 5px solid rgb(33, 36, 237);border-bottom-left-radius: 0px;padding-left: 9px;min-width: 10%;height: auto;"><section style="margin: 2px 0%;" powered-by="xiumi.us"><section style="color: rgb(33, 36, 237);font-size: 17px;line-height: 1.3;"><p style="white-space: normal;"><strong>总兵的连招4—邮件通知</strong></p></section></section></section></section><section powered-by="xiumi.us"><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">自动化测试的一个重要环节,就是将测试结果通知到相关人员,如开发\测试人员,或项目管理人员等。Jenkins对电子邮件提供了开箱即用的支持,我们可以在构建后处理中勾选E-mail Notification,如下图所示。然后输入需要通知的人员邮箱,即可使Jenkins在构建完成后,向指定的人员发送一封友好的电子邮件。</span></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="text-align: center;margin-left: 8px;margin-right: 8px;"><img class="rich_pages wxw-img" data-fileid="502829574" data-galleryid="" data-ratio="0.2064996614759648" data-s="300,640" src="https://static.mianbaoban-assets.eet-china.com/xinyu-images/MBXY-CR-68361d9ce21d88f8156513ed55f9b51c.png" data-type="png" data-w="1477" style=""></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">如果你想对邮件内容进行高度定制,那么E-mail Notification就无法满足需求,我们需要安装可编辑的电子邮件插件Editable Email Notification,来实现电子邮件的定制化工作。</span></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">在Editable Email Notification中,我们可以用HTML编写电子邮件的内容,并引用Jenkins的环境变量,这样我们就可以在邮件中描述当前Jenkins Job的测试执行概况,让收件人快速地了解当前的测试状态。但是这要求我们对HTML和Jenkins环境变量都有比较深的了解。</span></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">有些情况下,我们需要在邮件中执行一些数据提取等复杂工作,比如将控制台输出中的一些数据在邮件中进行展示,这时我们需要借助email-ext-plugin插件提供的Groovy接口,用Groovy编写邮件内容。</span></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">总之,Jenkins的邮件通知功能非常强大,我们可以在自动化测试的工作中不断进行探索。</span></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section></section><section style="margin: 10px 8px;"><section style="display: inline-block;width: auto;vertical-align: top;border-left: 5px solid rgb(33, 36, 237);border-bottom-left-radius: 0px;padding-left: 9px;min-width: 10%;height: auto;"><section style="margin: 2px 0%;" powered-by="xiumi.us"><section style="color: rgb(33, 36, 237);font-size: 17px;line-height: 1.3;"><p style="white-space: normal;"><strong>小结</strong></p></section></section></section></section><section powered-by="xiumi.us"><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">本节简单介绍了Jenkins的传统表单类型的Freestyle Job,然而目前Jenkins的发展方向是 Pipeline Job,Jenkins将Pipeline作为优先开发项目。这就意味着Pipeline在应用程序中是作为实体被设计和支持的,而不是通过在Jenkins中连接一堆任务而形成流水线。Pipeline类型的Job可以通过编程实现,可以实现更复杂构建逻辑和工作流,更重要的是在Pipeline中有专门的用于流水线编程的结构化DSL,其可以在工作空间中轻松地实现文件共享功能。同时Pipeline具有全新的Jenkins可视化界面 ——Blue Ocean,其为Pipeline的每个阶段添加了图形化的展示,如下图所示。</span></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="text-align: center;margin-left: 8px;margin-right: 8px;"><img class="rich_pages wxw-img" data-fileid="502829572" data-galleryid="" data-ratio="0.21423728813559323" data-s="300,640" src="https://static.mianbaoban-assets.eet-china.com/xinyu-images/MBXY-CR-871f932427163ccc750ea5d1f72ffd23.png" data-type="png" data-w="1475" style=""></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">因此我们在熟悉了表单类型的 Freestyle Job后,可以尝试将其转换为Pipeline的Job,当然目前并非所有的Jenkins插件都支持Pipeline,有些老旧的插件还无法支持Pipeline,我们需要根据实际的工作情况进行Jenkins工程类型的选择。</span></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section></section><section style="margin-left: 8px;margin-right: 8px;"><section style="margin: 30px 0% 20px;display: flex;flex-flow: row nowrap;"><section style="display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;line-height: 0;align-self: flex-start;"><section style="transform: rotateZ(328deg);" powered-by="xiumi.us"><section style="text-align: left;justify-content: flex-start;"><section style="display: inline-block;width: 101px;height: 34px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 1px;border-radius: 50%;border-color: rgb(33, 36, 237);"><section><svg viewbox="0 0 1 1" style="float:left;line-height:0;width:0;vertical-align:top;"></svg></section></section></section></section></section><section style="display: inline-block;vertical-align: top;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;background-color: rgb(255, 255, 255);margin-left: -80px;align-self: flex-start;z-index: 2;"><section style="margin-right: 0%;margin-left: 0%;text-align: center;justify-content: center;isolation: isolate;" powered-by="xiumi.us"><section style="text-align: justify;font-size: 18px;"><p style="white-space: normal;"><strong>攻城总结</strong></p></section></section></section><section style="display: inline-block;vertical-align: top;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: flex-start;margin-left: 7px;"><section style="text-align: left;justify-content: flex-start;transform: translate3d(3px, 0px, 0px);" powered-by="xiumi.us"><section style="display: inline-block;width: 9px;height: 9px;vertical-align: top;overflow: hidden;border-width: 0px;border-radius: 112px;border-style: none;border-color: rgb(62, 62, 62);background-color: rgb(33, 36, 237);"><section><svg viewbox="0 0 1 1" style="float:left;line-height:0;width:0;vertical-align:top;"></svg></section></section></section></section></section></section><section powered-by="xiumi.us"><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;margin-left: 8px;margin-right: 8px;"><br></section><section style="white-space: normal;line-height: 2em;margin-left: 8px;margin-right: 8px;"><span style="letter-spacing: 1px;">古人云:知所不豫,行且通焉。虽然通过本文,我们全面地了解了自动化测试的流程,但是只有在自动化测试的实践中不断探索,我们才能真正窥得自动化测试的全貌。北汇信息作为专业的自动化测试服务供应商,也可以为客户提供优质全面的自动化测试服务。</span></section></section></section><section style="font-size: 14px;white-space: normal;text-align: center;line-height: 2em;margin-left: 8px;margin-right: 8px;"><br></section><section style="font-size: 14px;white-space: normal;text-align: center;line-height: 2em;margin-left: 8px;margin-right: 8px;"><br></section><section style="font-size: 14px;white-space: normal;text-align: center;margin-left: 8px;margin-right: 8px;"><img class="rich_pages js_insertlocalimg wxw-img" data-fileid="502829575" data-ratio="0.5555555555555556" data-s="300,640" src="https://static.mianbaoban-assets.eet-china.com/xinyu-images/MBXY-CR-fc6d51c804997f4ffa2032243533b013.png" data-type="jpeg" data-w="900" style="height: 248px;width: 447px;"></section><section style="font-size: 14px;white-space: normal;text-align: center;margin-left: 8px;margin-right: 8px;"><br></section> </div> <div class="detail-intro-more"> <a href="https://mbb.eet-china.com/member.php?mod=logging&action=login&next=https://www.eet-china.com/mp/a117223.html" class="detail-intro-btn">登录阅读全文 <i class="iconfont icon-xiangshang2-copy"></i></a> </div> <div class="relevant-tag"> <span class="iconfont relevant-icon"></span> <ul class="tag-list"> <li class="tag-item"><a href="https://www.eet-china.com/mp/tags/86379" target="_blank" class="label-link">汽车软件开发</a></li> <li class="tag-item"><a href="https://www.eet-china.com/mp/tags/93564" target="_blank" class="label-link">自动化测试</a></li> </ul> </div> <div class="copyright"> <span class="copyright-span">免责声明:</span> 该内容由专栏作者授权发布或作者转载,目的在于传递更多信息,并不代表本网赞同其观点,本站亦不保证或承诺内容真实性等。若内容或图片侵犯您的权益,请及时联系本站删除。侵权投诉联系:  <span class="copyright-span">nick.zong@aspencore.com</span>! </div> <div class="author-message"> <div class="user-pic"> <a href="https://www.eet-china.com/mp/u3955079"><img src="https://mbb.eet-china.com/uc_server/avatar.php?uid=3955079&size=small" /></a> </div> <div class="author-text"> <a href="https://www.eet-china.com/mp/u3955079" class="username">汽车电子与软件</a> <span class="thetext">主要介绍汽车电子软件设计相关内容,每天分享一篇技术文章!</span> </div> <a href="https://www.eet-china.com/mp/u3955079" class="author-follow follow" onclick="follow();">进入专栏</a> </div> <div class="detail-left-title comment-title"> <span class="thetetxt">评论</span> <span class="theline comment-num" style="font-weight: bold;font-size: 17px;color: red"></span> </div> <!-- 评论框--> <div class="detail-comment-text"></div> <input type="hidden" id="id" value="117223"> <input type="hidden" id="uid" value="3955079"> <input type="hidden" value="2" id="page"> <!-- 评论列表--> <div class="detail-comment-list"></div> <div class="clearfix"></div> <div class="recommend-2"> <ul class="nav-title"> <li class="active"> <a href="#r-mp" data-toggle="tab"> 芯语 </a> </li> <li> <a href="#r-forum" data-toggle="tab"> 帖子 </a> </li> <li> <a href="#r-tech" data-toggle="tab"> 文库 </a> </li> <li> <a href="#r-down" data-toggle="tab"> 下载 </a> </li> <li> <a href="#r-blog" data-toggle="tab"> 博文 </a> </li> </ul> <div class="tab-content recommend-con"> <div class="tab-pane fade new-list active in" id="r-mp"> <ul> <li> <div class="row li-row"> <div class="col-lg-3 col-md-3 col-sm-3 col-xs-4 col-new"> <div class="new-pic"> <a href="https://www.eet-china.com/mp/a377892.html"> <div class="thepic" style="background-image: url(https://static.mianbaoban-assets.eet-china.com/xinyu-images/MBXY-CR-bdbfc26a211ec17cfe9dffafb67fc829.png)"></div> </a> </div> </div> <div class="col-lg-9 col-md-9 col-sm-9 col-xs-8 col-new"> <h2 class="new-title"> <a href="https://www.eet-china.com/mp/a377892.html"> 广东可使用医保买华为智能手表引热议官方回应:符合使用范围 </a> </h2> <div class="new-relevant"> <a href="https://www.eet-china.com/mp/u4039928" class="write"> 快科技 </a> <span>2025-01-21</span> <span>364浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-3 col-md-3 col-sm-3 col-xs-4 col-new"> <div class="new-pic"> <a href="https://www.eet-china.com/mp/a377897.html"> <div class="thepic" style="background-image: url(https://static.mianbaoban-assets.eet-china.com/xinyu-images/MBXY-CR-5aed097b8c847f20080634d9b3ca5c23.png)"></div> </a> </div> </div> <div class="col-lg-9 col-md-9 col-sm-9 col-xs-8 col-new"> <h2 class="new-title"> <a href="https://www.eet-china.com/mp/a377897.html"> 关键时刻即将到来,四季度财报有望拐点,INTC能否逆风翻盘? </a> </h2> <div class="new-relevant"> <a href="https://www.eet-china.com/mp/u3960315" class="write"> 美股研究社 </a> <span>2025-01-21</span> <span>341浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-3 col-md-3 col-sm-3 col-xs-4 col-new"> <div class="new-pic"> <a href="https://www.eet-china.com/mp/a378000.html"> <div class="thepic" style="background-image: url(https://static.mianbaoban-assets.eet-china.com/xinyu-images/MBXY-CR-1748938dc454733a4398414688a4cd2d.png)"></div> </a> </div> </div> <div class="col-lg-9 col-md-9 col-sm-9 col-xs-8 col-new"> <h2 class="new-title"> <a href="https://www.eet-china.com/mp/a378000.html"> 真心希望你用不上这个:一张图搞懂离职补偿的N、N+1、2N </a> </h2> <div class="new-relevant"> <a href="https://www.eet-china.com/mp/u3946006" class="write"> C语言与CPP编程 </a> <span>2025-01-22</span> <span>339浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-3 col-md-3 col-sm-3 col-xs-4 col-new"> <div class="new-pic"> <a href="https://www.eet-china.com/mp/a377726.html"> <div class="thepic" style="background-image: url(https://static.mianbaoban-assets.eet-china.com/xinyu-images/20250121085259_1737420779d8c92ccf5f601cd1ee3f3.png)"></div> </a> </div> </div> <div class="col-lg-9 col-md-9 col-sm-9 col-xs-8 col-new"> <h2 class="new-title"> <a href="https://www.eet-china.com/mp/a377726.html"> 人形机器人全景产业链大梳理! </a> </h2> <div class="new-relevant"> <a href="https://www.eet-china.com/mp/u4006949" class="write"> 贞光科技 </a> <span>2025-01-21</span> <span>280浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-3 col-md-3 col-sm-3 col-xs-4 col-new"> <div class="new-pic"> <a href="https://www.eet-china.com/mp/a377891.html"> <div class="thepic" style="background-image: url(https://static.mianbaoban-assets.eet-china.com/xinyu-images/MBXY-CR-ff4c70a80686b204e6f4adbbe0ccbb06.png)"></div> </a> </div> </div> <div class="col-lg-9 col-md-9 col-sm-9 col-xs-8 col-new"> <h2 class="new-title"> <a href="https://www.eet-china.com/mp/a377891.html"> 国产“窜天石猴”超音速飞机亮相:四倍音速全球3小时可达 </a> </h2> <div class="new-relevant"> <a href="https://www.eet-china.com/mp/u4039928" class="write"> 快科技 </a> <span>2025-01-21</span> <span>229浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-3 col-md-3 col-sm-3 col-xs-4 col-new"> <div class="new-pic"> <a href="https://www.eet-china.com/mp/a377898.html"> <div class="thepic" style="background-image: url(https://static.mianbaoban-assets.eet-china.com/xinyu-images/MBXY-CR-9ac3f450d486716d77c5f4fb97bdae73.png)"></div> </a> </div> </div> <div class="col-lg-9 col-md-9 col-sm-9 col-xs-8 col-new"> <h2 class="new-title"> <a href="https://www.eet-china.com/mp/a377898.html"> 马斯克妈妈过母亲节,特意晒38岁混血女高管照片,“婆媳”关系引猜测 </a> </h2> <div class="new-relevant"> <a href="https://www.eet-china.com/mp/u3960315" class="write"> 美股研究社 </a> <span>2025-01-21</span> <span>226浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-3 col-md-3 col-sm-3 col-xs-4 col-new"> <div class="new-pic"> <a href="https://www.eet-china.com/mp/a377807.html"> <div class="thepic" style="background-image: url(https://static.mianbaoban-assets.eet-china.com/xinyu-images/MBXY-CR-7c24e1f994d8025447a1f94e72070459.gif)"></div> </a> </div> </div> <div class="col-lg-9 col-md-9 col-sm-9 col-xs-8 col-new"> <h2 class="new-title"> <a href="https://www.eet-china.com/mp/a377807.html"> 黄仁勋宴请35位芯片大佬(名单) </a> </h2> <div class="new-relevant"> <a href="https://www.eet-china.com/mp/u4038939" class="write"> 芯极速 </a> <span>2025-01-21</span> <span>204浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-3 col-md-3 col-sm-3 col-xs-4 col-new"> <div class="new-pic"> <a href="https://www.eet-china.com/mp/a377755.html"> <div class="thepic" style="background-image: url(https://static.mianbaoban-assets.eet-china.com/xinyu-images/MBXY-CR-e14cb0e56ea31005ea960c5b761d5dbb.png)"></div> </a> </div> </div> <div class="col-lg-9 col-md-9 col-sm-9 col-xs-8 col-new"> <h2 class="new-title"> <a href="https://www.eet-china.com/mp/a377755.html"> 600亿大动作!大基金三期出手 </a> </h2> <div class="new-relevant"> <a href="https://www.eet-china.com/mp/u3951011" class="write"> 芯通社 </a> <span>2025-01-21</span> <span>199浏览</span> </div> </div> </div> </li> </ul> </div> <div class="tab-pane fade new-list" id="r-forum"> <ul> <li> <div class="row li-row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 col-new"> <h2 class="new-title"> <a href="https://mbb.eet-china.com/forum/topic/148152_1_1.html"> 求助 请推荐一款8脚的DCDC , 12V 变5V的, 2A 就行,不虚标。 </a> </h2> <div class="new-relevant"> <a href="https://mbb.eet-china.com/home/me-1039027.html" class="write"> esad0 </a> <span>2025-01-06</span> <span>1164浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 col-new"> <h2 class="new-title"> <a href="https://mbb.eet-china.com/forum/topic/148344_1_1.html"> 车灯FCC辐射超标如何解决 </a> </h2> <div class="new-relevant"> <a href="https://mbb.eet-china.com/home/me-3883642.html" class="write"> QWE4562009 </a> <span>2025-01-16</span> <span>121浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 col-new"> <h2 class="new-title"> <a href="https://mbb.eet-china.com/forum/topic/148422_1_1.html"> RS232/RS485接口防护方案 </a> </h2> <div class="new-relevant"> <a href="https://mbb.eet-china.com/home/me-1302548.html" class="write"> sales_263623713 </a> <span>2025-01-21</span> <span>38浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 col-new"> <h2 class="new-title"> <a href="https://mbb.eet-china.com/forum/topic/148412_1_1.html"> 【工程师故事】+ 离职转行波折的一年 </a> </h2> <div class="new-relevant"> <a href="https://mbb.eet-china.com/home/me-4107373.html" class="write"> 地瓜patch </a> <span>2025-01-20</span> <span>75浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 col-new"> <h2 class="new-title"> <a href="https://mbb.eet-china.com/forum/topic/148254_1_1.html"> padsVX使用问题20250111 </a> </h2> <div class="new-relevant"> <a href="https://mbb.eet-china.com/home/me-3883642.html" class="write"> QWE4562009 </a> <span>2025-01-11</span> <span>415浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 col-new"> <h2 class="new-title"> <a href="https://mbb.eet-china.com/forum/topic/148338_1_1.html"> 串行LED灯的频闪现象分析 </a> </h2> <div class="new-relevant"> <a href="https://mbb.eet-china.com/home/me-1729144.html" class="write"> 乖乖兔爸爸 </a> <span>2025-01-16</span> <span>904浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 col-new"> <h2 class="new-title"> <a href="https://mbb.eet-china.com/forum/topic/148154_1_1.html"> 记忆示波器的原理和应用 </a> </h2> <div class="new-relevant"> <a href="https://mbb.eet-china.com/home/me-4078925.html" class="write"> 维立信测试仪器 </a> <span>2025-01-06</span> <span>135浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 col-new"> <h2 class="new-title"> <a href="https://mbb.eet-china.com/forum/topic/148146_1_1.html"> 开关变压器后级加整流二极管的效果 </a> </h2> <div class="new-relevant"> <a href="https://mbb.eet-china.com/home/me-3945905.html" class="write"> MDD辰达半导体 </a> <span>2025-01-06</span> <span>133浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 col-new"> <h2 class="new-title"> <a href="https://mbb.eet-china.com/forum/topic/148413_1_1.html"> 【电子DIY】手搓一个胆机 </a> </h2> <div class="new-relevant"> <a href="https://mbb.eet-china.com/home/me-3878564.html" class="write"> 丸子~ </a> <span>2025-01-21</span> <span>114浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 col-new"> <h2 class="new-title"> <a href="https://mbb.eet-china.com/forum/topic/148219_1_1.html"> 低电容ESD保护二极管 BV-FA05UCA </a> </h2> <div class="new-relevant"> <a href="https://mbb.eet-china.com/home/me-1302548.html" class="write"> sales_263623713 </a> <span>2025-01-09</span> <span>58浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 col-new"> <h2 class="new-title"> <a href="https://mbb.eet-china.com/forum/topic/148383_1_1.html"> 【富芮坤FR3068x-C】+问题请教 </a> </h2> <div class="new-relevant"> <a href="https://mbb.eet-china.com/home/me-4092656.html" class="write"> PY学习笔记 </a> <span>2025-01-17</span> <span>163浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 col-new"> <h2 class="new-title"> <a href="https://mbb.eet-china.com/forum/topic/148336_1_1.html"> 桥式变换电路 </a> </h2> <div class="new-relevant"> <a href="https://mbb.eet-china.com/home/me-3883642.html" class="write"> QWE4562009 </a> <span>2025-01-16</span> <span>643浏览</span> </div> </div> </div> </li> <li> <div class="row li-row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 col-new"> <h2 class="new-title"> <a href="https://mbb.eet-china.com/forum/topic/148400_1_1.html"> 放假前的三个问题,THX </a> </h2> <div class="new-relevant"> <a href="https://mbb.eet-china.com/home/me-3883642.html" class="write"> QWE4562009 </a> <span>2025-01-20</span> <span>85浏览</span> </div> </div> </div> </li> </ul> </div> <div class="tab-pane fade new-list" id="r-tech"> <ul> </ul> </div> <div class="tab-pane fade down-list" id="r-down"> <ul> <li> <div class="source-l"> <a href="https://mbb.eet-china.com/download/316620.html" target="_blank" class="source-name"> 基于51单片机多功能出租车计价器参考论文 </a> <div class="source-other hidden-xs"> <span>所需E币: 5</span> <span>2025-01-08 22:23</span> <span>大小: 681.2KB</span> <span>上传者:<a href="https://mbb.eet-china.com/home/me-4043246.html" target="_blank">木头1233</a></span> </div> </div> <div class="source-r"> <a href="https://mbb.eet-china.com/download/316620.html" target="_blank"> <img src="/static/css/dl/icon/DOC.png" alt=""> </a> </div> </li> <li> <div class="source-l"> <a href="https://mbb.eet-china.com/download/316619.html" target="_blank" class="source-name"> 基于51单片机的智能温控风扇的设计论文 </a> <div class="source-other hidden-xs"> <span>所需E币: 5</span> <span>2025-01-08 22:23</span> <span>大小: 119.21KB</span> <span>上传者:<a href="https://mbb.eet-china.com/home/me-4043246.html" target="_blank">木头1233</a></span> </div> </div> <div class="source-r"> <a href="https://mbb.eet-china.com/download/316619.html" target="_blank"> <img src="/static/css/dl/icon/DOC.png" alt=""> </a> </div> </li> <li> <div class="source-l"> <a href="https://mbb.eet-china.com/download/316641.html" target="_blank" class="source-name"> 电子元器件检测技能速成 </a> <div class="source-other hidden-xs"> <span>所需E币: 0</span> <span>2025-01-13 15:48</span> <span>大小: 49.73MB</span> <span>上传者:<a href="https://mbb.eet-china.com/home/me-4107679.html" target="_blank">厚德载物2025</a></span> </div> </div> <div class="source-r"> <a href="https://mbb.eet-china.com/download/316641.html" target="_blank"> <img src="/static/css/dl/icon/PDF.png" alt=""> </a> </div> </li> <li> <div class="source-l"> <a href="https://mbb.eet-china.com/download/316622.html" target="_blank" class="source-name"> 基于51单片机水位水质检测开题报告 </a> <div class="source-other hidden-xs"> <span>所需E币: 5</span> <span>2025-01-08 22:24</span> <span>大小: 42.65KB</span> <span>上传者:<a href="https://mbb.eet-china.com/home/me-4043246.html" target="_blank">木头1233</a></span> </div> </div> <div class="source-r"> <a href="https://mbb.eet-china.com/download/316622.html" target="_blank"> <img src="/static/css/dl/icon/DOC.png" alt=""> </a> </div> </li> <li> <div class="source-l"> <a href="https://mbb.eet-china.com/download/316645.html" target="_blank" class="source-name"> 开关电源设计 反激控制思路的了解-4 </a> <div class="source-other hidden-xs"> <span>所需E币: 0</span> <span>2025-01-13 16:29</span> <span>大小: 911.93KB</span> <span>上传者:<a href="https://mbb.eet-china.com/home/me-4107679.html" target="_blank">厚德载物2025</a></span> </div> </div> <div class="source-r"> <a href="https://mbb.eet-china.com/download/316645.html" target="_blank"> <img src="/static/css/dl/icon/PDF.png" alt=""> </a> </div> </li> <li> <div class="source-l"> <a href="https://mbb.eet-china.com/download/316618.html" target="_blank" class="source-name"> 基于51单片机的洗衣机控制系统C语言论文 </a> <div class="source-other hidden-xs"> <span>所需E币: 5</span> <span>2025-01-08 22:22</span> <span>大小: 2.81MB</span> <span>上传者:<a href="https://mbb.eet-china.com/home/me-4043246.html" target="_blank">木头1233</a></span> </div> </div> <div class="source-r"> <a href="https://mbb.eet-china.com/download/316618.html" target="_blank"> <img src="/static/css/dl/icon/DOC.png" alt=""> </a> </div> </li> <li> <div class="source-l"> <a href="https://mbb.eet-china.com/download/316629.html" target="_blank" class="source-name"> 基于STC89C5单片机酒精浓度测试仪设计 </a> <div class="source-other hidden-xs"> <span>所需E币: 5</span> <span>2025-01-09 09:47</span> <span>大小: 882.5KB</span> <span>上传者:<a href="https://mbb.eet-china.com/home/me-4043246.html" target="_blank">木头1233</a></span> </div> </div> <div class="source-r"> <a href="https://mbb.eet-china.com/download/316629.html" target="_blank"> <img src="/static/css/dl/icon/DOC.png" alt=""> </a> </div> </li> <li> <div class="source-l"> <a href="https://mbb.eet-china.com/download/316634.html" target="_blank" class="source-name"> 基于单片机的洗衣机控制系统设计论文资料 </a> <div class="source-other hidden-xs"> <span>所需E币: 5</span> <span>2025-01-09 09:49</span> <span>大小: 720.56KB</span> <span>上传者:<a href="https://mbb.eet-china.com/home/me-4043246.html" target="_blank">木头1233</a></span> </div> </div> <div class="source-r"> <a href="https://mbb.eet-china.com/download/316634.html" target="_blank"> <img src="/static/css/dl/icon/DOC.png" alt=""> </a> </div> </li> <li> <div class="source-l"> <a href="https://mbb.eet-china.com/download/316639.html" target="_blank" class="source-name"> 基于单片机液晶显示万年历参考论文 </a> <div class="source-other hidden-xs"> <span>所需E币: 5</span> <span>2025-01-09 09:51</span> <span>大小: 632.2KB</span> <span>上传者:<a href="https://mbb.eet-china.com/home/me-4043246.html" target="_blank">木头1233</a></span> </div> </div> <div class="source-r"> <a href="https://mbb.eet-china.com/download/316639.html" target="_blank"> <img src="/static/css/dl/icon/DOC.png" alt=""> </a> </div> </li> <li> <div class="source-l"> <a href="https://mbb.eet-china.com/download/316621.html" target="_blank" class="source-name"> 基于51单片机多功能万年历设计论文 </a> <div class="source-other hidden-xs"> <span>所需E币: 5</span> <span>2025-01-08 22:23</span> <span>大小: 350.2KB</span> <span>上传者:<a href="https://mbb.eet-china.com/home/me-4043246.html" target="_blank">木头1233</a></span> </div> </div> <div class="source-r"> <a href="https://mbb.eet-china.com/download/316621.html" target="_blank"> <img src="/static/css/dl/icon/DOC.png" alt=""> </a> </div> </li> <li> <div class="source-l"> <a href="https://mbb.eet-china.com/download/316625.html" target="_blank" class="source-name"> 基于FPGA的数字频率计的设计资料 </a> <div class="source-other hidden-xs"> <span>所需E币: 5</span> <span>2025-01-08 22:25</span> <span>大小: 3.78MB</span> <span>上传者:<a href="https://mbb.eet-china.com/home/me-4043246.html" target="_blank">木头1233</a></span> </div> </div> <div class="source-r"> <a href="https://mbb.eet-china.com/download/316625.html" target="_blank"> <img src="/static/css/dl/icon/DOC.png" alt=""> </a> </div> </li> <li> <div class="source-l"> <a href="https://mbb.eet-china.com/download/316624.html" target="_blank" class="source-name"> 基于FPGA的等精度频率计设计论文 </a> <div class="source-other hidden-xs"> <span>所需E币: 5</span> <span>2025-01-08 22:24</span> <span>大小: 48.15KB</span> <span>上传者:<a href="https://mbb.eet-china.com/home/me-4043246.html" target="_blank">木头1233</a></span> </div> </div> <div class="source-r"> <a href="https://mbb.eet-china.com/download/316624.html" target="_blank"> <img src="/static/css/dl/icon/DOC.png" alt=""> </a> </div> </li> <li> <div class="source-l"> <a href="https://mbb.eet-china.com/download/316640.html" target="_blank" class="source-name"> 静电学手册 21312321 </a> <div class="source-other hidden-xs"> <span>所需E币: 5</span> <span>2025-01-13 15:45</span> <span>大小: 2.16MB</span> <span>上传者:<a href="https://mbb.eet-china.com/home/me-4107679.html" target="_blank">厚德载物2025</a></span> </div> </div> <div class="source-r"> <a href="https://mbb.eet-china.com/download/316640.html" target="_blank"> <img src="/static/css/dl/icon/PDF.png" alt=""> </a> </div> </li> </ul> </div> <div class="tab-pane fade blog-list" id="r-blog"> <ul> <li> <div class="blog-title"> <a href="https://mbb.eet-china.com/blog/3915687-462865.html" target="_blank"> 人形机器人疯狂进厂打工!银河通用、智元、乐聚机器人怕是都疯了 </a> </div> <div class="blog-con"> <div class="the-l"> <div class="con">  万万没想到!科幻电影中的人形机器人,正在一步步走进我们人类的日常生活中来了。1月17日,乐聚将第100台全尺寸人形机器人交付北汽越野车,再次吹响了人形机器人疯狂进厂打工的号角。无独有尔,银河通用机器人作为一家成立不到两年时间的创业公司,在短短一年多时间内推出革命性的第一代产品Galbot G1,这是一款轮式、双臂、身体可折叠的人形机器人,得到了美团战投、经纬创投、IDG资本等众多投资方的认可。作为一家成立仅仅只有两年多时间的企业,智元机器人也把机器人从梦想带进了现实。2024年8月1 </div> <div class="other"> <a href="https://mbb.eet-china.com/blog/uid-me-3915687.html" target="_blank">刘旷</a> <span>2025-01-21 11:15</span> <span>560浏览</span> </div> </div> <div class="the-r"> <a href="https://mbb.eet-china.com/blog/uid-me-3915687.html" target="_blank"> </a> </div> </div> </li> <li> <div class="blog-title"> <a href="https://mbb.eet-china.com/blog/4027149-462771.html" target="_blank"> 艾迈斯欧司朗秀绝技,汽车照明的 “隐形魔法” 与万级像素传奇 </a> </div> <div class="blog-con"> <div class="the-l"> <div class="con"> 随着消费者对汽车驾乘体验的要求不断攀升,汽车照明系统作为确保道路安全、提升驾驶体验以及实现车辆与环境交互的重要组成,日益受到业界的高度重视。近日,2024 DVN(上海)国际汽车照明研讨会圆满落幕。作为照明与传感创新的全球领导者,艾迈斯欧司朗受邀参与主题演讲,并现场展示了其多项前沿技术。本届研讨会汇聚来自全球各地400余名汽车、照明、光源及Tier 2供应商的专业人士及专家共聚一堂。在研讨会第一环节中,艾迈斯欧司朗系统解决方案工程副总裁 Joachim Reill以深厚的专业素养,主持该环节多位 </div> <div class="other"> <a href="https://mbb.eet-china.com/blog/uid-me-4027149.html" target="_blank">艾迈斯欧司朗</a> <span>2025-01-16 20:51</span> <span>225浏览</span> </div> </div> <div class="the-r"> <a href="https://mbb.eet-china.com/blog/uid-me-4027149.html" target="_blank"> </a> </div> </div> </li> <li> <div class="blog-title"> <a href="https://mbb.eet-china.com/blog/4098392-462795.html" target="_blank"> Ubuntu20.04取消root账号自动登录方法触觉智能RK3568开发板演示 </a> </div> <div class="blog-con"> <div class="the-l"> <div class="con"> Ubuntu20.04默认情况下为root账号自动登录,本文介绍如何取消root账号自动登录,改为通过输入账号密码登录,使用触觉智能EVB3568鸿蒙开发板演示,搭载瑞芯微RK3568,四核A55处理器,主频2.0Ghz,1T算力NPU;支持OpenHarmony5.0及Linux、Android等操作系统,接口丰富,开发评估快人一步!添加新账号1、使用adduser命令来添加新用户,用户名以industio为例,系统会提示设置密码以及其他信息,您可以根据需要填写或跳过,命令如下:root@id </div> <div class="other"> <a href="https://mbb.eet-china.com/blog/uid-me-4098392.html" target="_blank">Industio_触觉智能</a> <span>2025-01-17 14:14</span> <span>128浏览</span> </div> </div> <div class="the-r"> <a href="https://mbb.eet-china.com/blog/uid-me-4098392.html" target="_blank"> </a> </div> </div> </li> <li> <div class="blog-title"> <a href="https://mbb.eet-china.com/blog/4098392-462817.html" target="_blank"> 挑战6万月薪【三】Purple Pi OH开发板带你7天入门OpenHarmony! </a> </div> <div class="blog-con"> <div class="the-l"> <div class="con"> 现在为止,我们已经完成了Purple Pi OH主板的串口调试和部分配件的连接,接下来,让我们趁热打铁,完成剩余配件的连接!注:配件连接前请断开主板所有供电,避免敏感电路损坏!1.1 耳机接口主板有一路OTMP 标准四节耳机座J6,具备进行音频输出及录音功能,接入耳机后声音将优先从耳机输出,如下图所示:1.21.2 相机接口MIPI CSI 接口如上图所示,支持OV5648 和OV8858 摄像头模组。接入摄像头模组后,使用系统相机软件打开相机拍照和录像,如下图所示:1.3 以太网接口主板有一路 </div> <div class="other"> <a href="https://mbb.eet-china.com/blog/uid-me-4098392.html" target="_blank">Industio_触觉智能</a> <span>2025-01-20 11:04</span> <span>166浏览</span> </div> </div> <div class="the-r"> <a href="https://mbb.eet-china.com/blog/uid-me-4098392.html" target="_blank"> </a> </div> </div> </li> <li> <div class="blog-title"> <a href="https://mbb.eet-china.com/blog/4025291-462781.html" target="_blank"> 手机购新补贴实施方案发布 京东将率先上线手机“国补”会场 </a> </div> <div class="blog-con"> <div class="the-l"> <div class="con"> 日前,商务部等部门办公厅印发《手机、平板、智能手表(手环)购新补贴实施方案》明确,个人消费者购买手机、平板、智能手表(手环)3类数码产品(单件销售价格不超过6000元),可享受购新补贴。每人每类可补贴1件,每件补贴比例为减去生产、流通环节及移动运营商所有优惠后最终销售价格的15%,每件最高不超过500元。目前,京东已经做好了承接手机、平板等数码产品国补优惠的落地准备工作,未来随着各省市关于手机、平板等品类的国补开启,京东将第一时间率先上线,满足消费者的换新升级需求。为保障国补的真实有效发放,基于 </div> <div class="other"> <a href="https://mbb.eet-china.com/blog/uid-me-4025291.html" target="_blank">华尔街科技眼</a> <span>2025-01-17 10:44</span> <span>221浏览</span> </div> </div> <div class="the-r"> <a href="https://mbb.eet-china.com/blog/uid-me-4025291.html" target="_blank"> </a> </div> </div> </li> <li> <div class="blog-title"> <a href="https://mbb.eet-china.com/blog/3996156-462871.html" target="_blank"> 聊聊RISC-V MCU技术 </a> </div> <div class="blog-con"> <div class="the-l"> <div class="con"> 嘿,咱来聊聊RISC-V MCU技术哈。 这RISC-V MCU技术呢,简单来说就是基于一个叫RISC-V的指令集架构做出的微控制器技术。RISC-V这个啊,2010年的时候,是加州大学伯克利分校的研究团队弄出来的,目的就是想搞个新的、开放的指令集架构,能跟上现代计算的需要。到了2015年,专门成立了个RISC-V基金会,让这个架构更标准,也更好地推广开了。这几年啊,这个RISC-V的生态系统发展得可快了,好多公司和机构都加入了RISC-V International,还推出了不少RISC-V </div> <div class="other"> <a href="https://mbb.eet-china.com/blog/uid-me-3996156.html" target="_blank">丙丁先生</a> <span>2025-01-21 12:10</span> <span>188浏览</span> </div> </div> <div class="the-r"> <a href="https://mbb.eet-china.com/blog/uid-me-3996156.html" target="_blank"> </a> </div> </div> </li> <li> <div class="blog-title"> <a href="https://mbb.eet-china.com/blog/3860940-462889.html" target="_blank"> 过孔的设计孔径是真的很重要,但高速先生也是真的不关心 </a> </div> <div class="blog-con"> <div class="the-l"> <div class="con"> 高速先生成员--黄刚这不马上就要过年了嘛,高速先生就不打算给大家上难度了,整一篇简单但很实用的文章给大伙瞧瞧好了。相信这个标题一出来,尤其对于PCB设计工程师来说,心就立马凉了半截。他们辛辛苦苦进行PCB的过孔设计,高速先生居然说设计多大的过孔他们不关心!另外估计这时候就跳出很多“挑刺”的粉丝了哈,因为翻看很多以往的文章,高速先生都表达了过孔孔径对高速性能的影响是很大的哦!咋滴,今天居然说孔径不关心了?别,别急哈,听高速先生在这篇文章中娓娓道来。首先还是要对各位设计工程师的设计表示肯定,毕竟像我 </div> <div class="other"> <a href="https://mbb.eet-china.com/blog/uid-me-3860940.html" target="_blank">一博科技</a> <span>2025-01-21 16:17</span> <span>112浏览</span> </div> </div> <div class="the-r"> <a href="https://mbb.eet-china.com/blog/uid-me-3860940.html" target="_blank"> </a> </div> </div> </li> <li> <div class="blog-title"> <a href="https://mbb.eet-china.com/blog/273278-462860.html" target="_blank"> 【工程师故事】+2024年总结之做技术不能想当然 </a> </div> <div class="blog-con"> <div class="the-l"> <div class="con"> 2024年是很平淡的一年,能保住饭碗就是万幸了,公司业绩不好,跳槽又不敢跳,还有一个原因就是老板对我们这些员工还是很好的,碍于人情也不能在公司困难时去雪上加霜。在工作其间遇到的大问题没有,小问题还是有不少,这里就举一两个来说一下。第一个就是,先看下下面的这个封装,你能猜出它的引脚间距是多少吗?这种排线座比较常规的是0.6mm间距(即排线是0.3mm间距)的,而这个规格也是我们用得最多的,所以我们按惯性思维来看的话,就会认为这个座子就是0.6mm间距的,这样往往就不会去细看规格书了,所以这次的运气 </div> <div class="other"> <a href="https://mbb.eet-china.com/blog/uid-me-273278.html" target="_blank">wuliangu</a> <span>2025-01-21 00:15</span> <span>204浏览</span> </div> </div> <div class="the-r"> <a href="https://mbb.eet-china.com/blog/uid-me-273278.html" target="_blank"> </a> </div> </div> </li> <li> <div class="blog-title"> <a href="https://mbb.eet-china.com/blog/4061550-462897.html" target="_blank"> PCB设计第058篇 如何打开IPC-2581格式的PCB加工文件 </a> </div> <div class="blog-con"> <div class="the-l"> <div class="con">     IPC-2581是基于ODB++标准、结合PCB行业特点而指定的PCB加工文件规范。    IPC-2581旨在替代CAM350格式,成为PCB加工行业的新的工业规范。    有一些免费软件,可以查看(不可修改)IPC-2581数据文件。这些软件典型用途是工艺校核。    1. Vu2581        出品:Downstream      </div> <div class="other"> <a href="https://mbb.eet-china.com/blog/uid-me-4061550.html" target="_blank">电子知识打边炉</a> <span>2025-01-22 11:12</span> <span>88浏览</span> </div> </div> <div class="the-r"> <a href="https://mbb.eet-china.com/blog/uid-me-4061550.html" target="_blank"> </a> </div> </div> </li> <li> <div class="blog-title"> <a href="https://mbb.eet-china.com/blog/415046-462910.html" target="_blank"> 2025年刚开始,就收到了“橄榄枝”! </a> </div> <div class="blog-con"> <div class="the-l"> <div class="con"> 临近春节,各方社交及应酬也变得多起来了,甚至一月份就排满了各式约见。有的是关系好的专业朋友的周末“恳谈会”,基本是关于2025年经济预判的话题,以及如何稳定工作等话题;但更多的预约是来自几个客户老板及副总裁们的见面,他们为今年的经济预判与企业发展焦虑而来。在聊天过程中,我发现今年的聊天有个很有意思的“点”,挺多人尤其关心我到底是怎么成长成现在的多领域风格的,还能掌握一些经济趋势的分析能力,到底学过哪些专业、在企业管过哪些具体事情?单单就这个一个月内,我就重复了数次“为什么”,再辅以我上次写的:《 </div> <div class="other"> <a href="https://mbb.eet-china.com/blog/uid-me-415046.html" target="_blank">牛言喵语</a> <span>2025-01-22 17:10</span> <span>83浏览</span> </div> </div> <div class="the-r"> <a href="https://mbb.eet-china.com/blog/uid-me-415046.html" target="_blank"> </a> </div> </div> </li> <li> <div class="blog-title"> <a href="https://mbb.eet-china.com/blog/4106866-462857.html" target="_blank"> 电气系统中,如何选择一款最为适配的数字隔离芯片? </a> </div> <div class="blog-con"> <div class="the-l"> <div class="con"> 数字隔离芯片是一种实现电气隔离功能的集成电路,在工业自动化、汽车电子、光伏储能与电力通信等领域的电气系统中发挥着至关重要的作用。其不仅可令高、低压系统之间相互独立,提高低压系统的抗干扰能力,同时还可确保高、低压系统之间的安全交互,使系统稳定工作,并避免操作者遭受来自高压系统的电击伤害。典型数字隔离芯片的简化原理图值得一提的是,数字隔离芯片历经多年发展,其应用范围已十分广泛,凡涉及到在高、低压系统之间进行信号传输的场景中基本都需要应用到此种芯片。那么,电气工程师在进行电路设计时到底该如何评估选择一 </div> <div class="other"> <a href="https://mbb.eet-china.com/blog/uid-me-4106866.html" target="_blank">华普微HOPERF</a> <span>2025-01-20 16:50</span> <span>81浏览</span> </div> </div> <div class="the-r"> <a href="https://mbb.eet-china.com/blog/uid-me-4106866.html" target="_blank"> </a> </div> </div> </li> <li> <div class="blog-title"> <a href="https://mbb.eet-china.com/blog/4098392-462794.html" target="_blank"> 瑞芯微开发板/主板Android配置APK默认开启性能模式方法 </a> </div> <div class="blog-con"> <div class="the-l"> <div class="con"> 本文介绍瑞芯微开发板/主板Android配置APK默认开启性能模式方法,开启性能模式后,APK的CPU使用优先级会有所提高。触觉智能RK3562开发板演示,搭载4核A53处理器,主频高达2.0GHz;内置独立1Tops算力NPU,可应用于物联网网关、平板电脑、智能家居、教育电子、工业显示与控制等行业。源码修改修改源码根目录下文件device/rockchip/rk3562/package_performance.xml并添加以下内容,注意"+"号为添加内容,"com.tencent.mm"为AP </div> <div class="other"> <a href="https://mbb.eet-china.com/blog/uid-me-4098392.html" target="_blank">Industio_触觉智能</a> <span>2025-01-17 14:09</span> <span>173浏览</span> </div> </div> <div class="the-r"> <a href="https://mbb.eet-china.com/blog/uid-me-4098392.html" target="_blank"> </a> </div> </div> </li> <li> <div class="blog-title"> <a href="https://mbb.eet-china.com/blog/4066346-462785.html" target="_blank"> 论PN结的四种逆向电导模式 </a> </div> <div class="blog-con"> <div class="the-l"> <div class="con">  光伏及击穿,都可视之为 复合的逆过程,但是,复合、光伏与击穿,不单是进程的方向相反,偏置状态也不一样,复合的工况,是正偏,光伏是零偏,击穿与漂移则是反偏,光伏的能源是外来的,而击穿消耗的是结区自身和电源的能量,漂移的载流子是 客席载流子,须借外延层才能引入,客席载流子 不受反偏PN结的空乏区阻碍,能漂不能漂,只取决于反偏PN结是否处于外延层的「射程」范围,而穿通的成因,则是因耗尽层的过度扩张,致使跟 端子、外延层或其他空乏区 碰触,当耗尽层融通,耐压 (反向阻断能力) 即告彻底丧失, </div> <div class="other"> <a href="https://mbb.eet-china.com/blog/uid-me-4066346.html" target="_blank">MrCU204</a> <span>2025-01-17 11:30</span> <span>188浏览</span> </div> </div> <div class="the-r"> <a href="https://mbb.eet-china.com/blog/uid-me-4066346.html" target="_blank"> </a> </div> </div> </li> </ul> </div> </div> </div> </div> <div class="detail-right hidden-xs hidden-sm"> <div class="personal-information"> <div class="user-pic"> <a target="_blank" href="https://www.eet-china.com/mp/u3955079"> <img src="https://mbb.eet-china.com/uc_server/avatar.php?uid=3955079&size=small" /> </a> </div> <div class="user-information"> <span class="theuser"> <a href="https://www.eet-china.com/mp/u3955079"> 汽车电子与软件 </a> </span> <span class="theintroduce">主要介绍汽车电子软件设计相关内容,每天分享一篇技术文章!</span> <div class="other-message"> <span> 文章:1852篇 </span> <span> 粉丝:191人 </span> </div> <div class="operate-btn"> <a onclick="showWindow('showMsgBox', this.href, 'get', 0)" href="https://mbb.eet-china.com/home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_0&touid=3955079&pmid=0&daterange=2" id="a_sendpm_1"> <span class="iconfont"></span> 私信 </a> </div> </div> <div class="his-article"> <h2>最近文章</h2> <div class="article-list"> <ul> <li> <a href="https://www.eet-china.com/mp/a377988.html"> 百年汽车向软件转型的行业背景 </a> <!--<span class="thedate"></span>--> </li> <li> <a href="https://www.eet-china.com/mp/a377727.html"> AdaptiveAUTOSARR24-11版本新特性介绍 </a> <!--<span class="thedate"></span>--> </li> <li> <a href="https://www.eet-china.com/mp/a376945.html"> 汽车ABS功能技术解读 </a> <!--<span class="thedate"></span>--> </li> <li> <a href="https://www.eet-china.com/mp/a376642.html"> CPAUTOSAR下的PDURouter是如何工作的? </a> <!--<span class="thedate"></span>--> </li> <li> <a href="https://www.eet-china.com/mp/a376424.html"> 智能汽车软件功能安全剖析:痛点与解决方案 </a> <!--<span class="thedate"></span>--> </li> </ul> </div> </div> <div class="his-article" style="display: none"> <h2>热门文章</h2> <div class="article-list"> <ul> </ul> </div> </div> </div> <div style="margin-top: 10px;margin-bottom: 10px"> <div class="row-ad"> <div id='div-gpt-ad-1515756551439-3'></div> <div class="ad-text"> 广告 </div> </div> </div> <div class="his-article"> <h2>推荐</h2> <div class="article-list"> <ul> <div><li><a rel="nofollow" href="http://pubads.g.doubleclick.net/gampad/clk?id=6899243984&iu=/122049170/TEXT_AD" target="_blank" ><b><font color="#0000ff">入门级示波器多少钱合适?</font></b></a></li><li><a rel="nofollow" href="http://pubads.g.doubleclick.net/gampad/clk?id=6899243984&iu=/122049170/TEXT_AD" target="_blank" ><font color="#ff0000"><b>入门级示波器的属性缺陷</b></font></a></li><li><a rel="nofollow" href="http://pubads.g.doubleclick.net/gampad/clk?id=6882665649&iu=/122049170/TEXT_AD" target="_blank" ><b><font color="#FF0000">精密双向电流传感放大器:精准测量,守护电流安全</font></b></a></li><li><a rel="nofollow" href="http://pubads.g.doubleclick.net/gampad/clk?id=6899243984&iu=/122049170/TEXT_AD" target="_blank" ><font color="#0000ff"><b>示波器品牌知多少?</b></font></a></li></div> </ul> </div> </div> <div class="modular-title"> <span><strong style="padding-left: 0">在线研讨会</strong></span> </div> <div class="news-today"> <ul> <li> <div class="row"> <div class="col-lg-5 col-new"> <div class="new-pic col-new-today-pic"> <a target="_blank" href="https://www.eet-china.com/webinars/Melexis_20250219.html"> <div class="thepic" style="background-image: url(https://static.assets-stash.eet-china.com/2020-09-29-162647-16013680074734096.jpg)"></div> </a> </div> </div> <div class="col-lg-7 col-new"> <a target="_blank" href="https://www.eet-china.com/webinars/Melexis_20250219.html" class="col-new-today-title"> 重塑机器人未来:揭秘创新芯片解决方案的颠覆力量 </a> </div> </div> </li> <li> <div class="row"> <div class="col-lg-5 col-new"> <div class="new-pic col-new-today-pic"> <a target="_blank" href="https://www.eet-china.com/webinars/Allegro_20250305.html"> <div class="thepic" style="background-image: url(https://static.assets-stash.eet-china.com/2024-07-08-155439-17204252798997518.png)"></div> </a> </div> </div> <div class="col-lg-7 col-new"> <a target="_blank" href="https://www.eet-china.com/webinars/Allegro_20250305.html" class="col-new-today-title"> Allegro电流传感器替代采样电阻解决方案—实现更高效、更可靠的电流检测 </a> </div> </div> </li> <li> <div class="row"> <div class="col-lg-5 col-new"> <div class="new-pic col-new-today-pic"> <a target="_blank" href="https://www.eet-china.com/webinars/ADI_20250312.html"> <div class="thepic" style="background-image: url(https://static.assets-stash.eet-china.com/2023-09-13-150526-16945887261774179.png)"></div> </a> </div> </div> <div class="col-lg-7 col-new"> <a target="_blank" href="https://www.eet-china.com/webinars/ADI_20250312.html" class="col-new-today-title"> 如何在隔离的状态监控系统中捕获同步数据 </a> </div> </div> </li> <li> <div class="row"> <div class="col-lg-5 col-new"> <div class="new-pic col-new-today-pic"> <a target="_blank" href="https://www.eet-china.com/webinars/KSW_20250109.html"> <div class="thepic" style="background-image: url(https://static.assets-stash.eet-china.com/2024-12-12-150928-17339873683826619.png)"></div> </a> </div> </div> <div class="col-lg-7 col-new"> <a target="_blank" href="https://www.eet-china.com/webinars/KSW_20250109.html" class="col-new-today-title"> 多路有光·精准不凡——KSW-SGM01模拟信号源发布会 </a> </div> </div> </li> </ul> </div> <div class="modular-title"> <span><strong style="padding-left: 0">EE直播间</strong></span> </div> <div class="news-today"> <ul> <li> <div class="row"> <div class="col-lg-5 col-new"> <div class="new-pic col-new-today-pic"> <a target="_blank" href="https://www.eet-china.com/ee-live/Aspencore_20250218.html"> <div class="thepic" style="background-image: url(https://static.assets-stash.eet-china.com/2025-01-14-091713-17368174339711802.png)"></div> </a> </div> </div> <div class="col-lg-7 col-new"> <a target="_blank" href="https://www.eet-china.com/ee-live/Aspencore_20250218.html" class="col-new-today-title"> Fabless100系列技术和应用直播 —实时控制、BMS:国产MCU迈向高性能应用 </a> <span class="new-source">直播时间:02月18日 10:00</span> </div> </div> </li> <li> <div class="row"> <div class="col-lg-5 col-new"> <div class="new-pic col-new-today-pic"> <a target="_blank" href="https://www.eet-china.com/ee-live/Keysight_20250226.html"> <div class="thepic" style="background-image: url(https://static.assets-stash.eet-china.com/2025-01-15-162520-17369295204876381.jpg)"></div> </a> </div> </div> <div class="col-lg-7 col-new"> <a target="_blank" href="https://www.eet-china.com/ee-live/Keysight_20250226.html" class="col-new-today-title"> 高效协同与版本管理:Cliosoft助力现代芯片设计 </a> <span class="new-source">直播时间:02月26日 10:00</span> </div> </div> </li> <li> <div class="row"> <div class="col-lg-5 col-new"> <div class="new-pic col-new-today-pic"> <a target="_blank" href="https://www.eet-china.com/ee-live/Keysight_20250306.html"> <div class="thepic" style="background-image: url(https://static.assets-stash.eet-china.com/2024-12-18-161710-17345098302174471.jpg)"></div> </a> </div> </div> <div class="col-lg-7 col-new"> <a target="_blank" href="https://www.eet-china.com/ee-live/Keysight_20250306.html" class="col-new-today-title"> 第三代功率半导体器件测试解决方案 </a> <span class="new-source">直播时间:03月06日 10:00</span> </div> </div> </li> </ul> </div> <div class="hot-post"> <div class="moduleTitle"> <div class="theTitle">E聘热招职位</div> </div> <ul> </ul> </div> <div class="ranking public-r-fixed-ad" id="other-source"> <div class="right-tags"> <div class="ranking-head"> <div class="ranking-head-item active" data-id="source">资料</div> <div class="ranking-head-item" data-id="tec2">文库</div> <div class="ranking-head-item" data-id="thread2">帖子</div> <div class="ranking-head-item" data-id="blog2">博文</div> </div> <ul class="ranking-list display-list" id="source"> <li class="ranking-item"> <div class="ranking-item-num">1</div> <a href="https://mbb.eet-china.com/download/316523.html" target="_blank">元能芯24V全集成电机专用开发板</a> </li> <li class="ranking-item"> <div class="ranking-item-num">2</div> <a href="https://mbb.eet-china.com/download/316641.html" target="_blank">电子元器件检测技能速成</a> </li> <li class="ranking-item"> <div class="ranking-item-num">3</div> <a href="https://mbb.eet-china.com/download/316544.html" target="_blank">晶体管电路设计-铃木雅臣(上).pdf</a> </li> <li class="ranking-item"> <div class="ranking-item-num">4</div> <a href="https://mbb.eet-china.com/download/316645.html" target="_blank">开关电源设计 反激控制思路的了解-4</a> </li> <li class="ranking-item"> <div class="ranking-item-num">5</div> <a href="https://mbb.eet-china.com/download/316543.html" target="_blank">自动增益控制放大器设计与实现</a> </li> <li class="ranking-item"> <div class="ranking-item-num">6</div> <a href="https://mbb.eet-china.com/download/316640.html" target="_blank">静电学手册 21312321</a> </li> <li class="ranking-item"> <div class="ranking-item-num">7</div> <a href="https://mbb.eet-china.com/download/316642.html" target="_blank">开关电源设计 反激电路设计</a> </li> <li class="ranking-item"> <div class="ranking-item-num">8</div> <a href="https://mbb.eet-china.com/download/316554.html" target="_blank">基于模式识别的手写汉字识别系统设计</a> </li> <li class="ranking-item"> <div class="ranking-item-num">9</div> <a href="https://mbb.eet-china.com/download/316646.html" target="_blank">智算中心建设导则</a> </li> <li class="ranking-item"> <div class="ranking-item-num">10</div> <a href="https://mbb.eet-china.com/download/316557.html" target="_blank">Processing-processing3.5.4</a> </li> </ul> <style id="diy_style" type="text/css"></style> <div id="thread2" class="display-list" style="display: none;"> <div class="area" id="thread"> <ul class="ranking-list"> <li class="ranking-item"> <div class="ranking-item-num"> 1 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com/forum/topic/148336_1_1.html"> 桥式变换电路 </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 2 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com/forum/topic/148152_1_1.html"> 求助 请推荐一款8脚的DCDC , 12V 变5V的, 2A 就行,不虚标。 </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 3 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com/forum/topic/148184_1_1.html"> 【工程师故事】+2024年:资深嵌入式工程师在职读研的第一年,收获颇丰 </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 4 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com/forum/topic/148265_1_1.html"> 〖思路〗 反偏PN结的 四种状态 </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 5 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com/forum/topic/148324_1_1.html"> altium Designer19使用问题20250115 </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 6 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com/forum/topic/148230_1_1.html"> 助力新能源汽车电机控制SLM7888系列SLM7888CH低压三相半桥驱动器 </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 7 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com/forum/topic/148267_1_1.html"> 成立公司好还是一个做好? </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 8 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com/forum/topic/148266_1_1.html"> 请教:BJT类有源器件 </a> </li> </ul> </div> </div> <div id="blog2" class="display-list" style="display: none;"> <div class="area" id="blog"> <ul class="ranking-list"> <li class="ranking-item"> <div class="ranking-item-num"> 1 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com//blog/415046-462910.html"> 2025年刚开始,就收到了“橄榄枝”! </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 2 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com//blog/4061550-462897.html"> PCB设计第058篇 如何打开IPC-2581格式的PCB加工文件 </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 3 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com//blog/3860940-462889.html"> 过孔的设计孔径是真的很重要,但高速先生也是真的不关心 </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 4 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com//blog/3996156-462871.html"> 聊聊RISC-V MCU技术 </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 5 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com//blog/3915687-462865.html"> 人形机器人疯狂进厂打工!银河通用、智元、乐聚机器人怕是都疯了 </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 6 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com//blog/273278-462860.html"> 【工程师故事】+2024年总结之做技术不能想当然 </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 7 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com//blog/4106866-462857.html"> 电气系统中,如何选择一款最为适配的数字隔离芯片? </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 8 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com//blog/4098392-462817.html"> 挑战6万月薪【三】Purple Pi OH开发板带你7天入门OpenHarmony! </a> </li> </ul> </div> </div> <div id="tec2" class="display-list" style="display: none;"> <div class="area" id="blog"> <ul class="ranking-list"> <li class="ranking-item"> <div class="ranking-item-num"> 1 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com//tech/t1/170710.html"> 电路动起来更好理解,不信你看看 </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 2 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com//tech/t2/170729.html"> mps资料:汽车电子DCDC芯片的EMI优化设计 </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 3 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com//tech/t1/170764.html"> 相噪常见的测量有以下几种方式 </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 4 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com//tech/t4/170768.html"> 常见电容的种类有哪些? </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 5 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com//tech/t3/170801.html"> MLCC的选型和失效分析 </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 6 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com//tech/t7/170814.html"> AT7456E芯片到底是干嘛用的? </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 7 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com//tech/t2/170816.html"> 想要看懂电路图,先熟知基本单元电路 </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 8 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com//tech/t4/170822.html"> 很多电容都有印字,咋贴片陶瓷电容却没有? </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 9 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com//tech/t2/170837.html"> 各种变压器知识大全详细讲解 </a> </li> <li class="ranking-item"> <div class="ranking-item-num"> 10 </div> <a class="ranking-item-title" target="_blank" href="https://mbb.eet-china.com//tech/t4/170843.html"> 汽车磁电型、霍尔型、磁阻型传感器原理 </a> </li> </ul> </div> </div> </div> </div> </div> <div class="channel hidden-xs hidden-sm"> <div class="channel-list"> <div class="channel-list-seat"> <div class="detail-left-title"> <span class="thetetxt">分享到</span> <span class="theline"></span> </div> <div class="share-list "> <a href="javascript:void (0)" class="weixin" title="分享到微信"> <span class="iconfont"></span> <div class="weixin-code" id="wechatshare"></div> </a> </div> <div class="detail-left-title"> <span class="thetetxt">评论</span> <span class="theline"></span> </div> <div class="comment-icon reply-icon reply-icon-seat"> <img src="/static/image/mianbaoban/specialcolumn/23.png" alt=""> <span class="thenum comment-num-left"></span> </div> <div class="detail-left-title"> <span class="thetetxt">点赞</span> <span class="theline"></span> </div> <div class=" thumbs-icon tooltip-test article-thumbs-icon " data-toggle="tooltip" data-placement="left" title="文章点赞"> <span class="iconfont iconfont-before "></span> <span class="iconfont iconfont-after "></span> <span class="thenum article-thumbs-number"></span> </div> <div class="detail-edit-del"></div> </div> </div> </div> <style> .public-r-seat { width: 300px; position: fixed; } </style> </div><footer class="hidden-xs"> <div class="footer-con"> <div class="footer-left"> <div class="footer-link"> <a href="https://www.eet-china.com/" target="_blank"> 电子工程专辑 </a> <a href="https://www.ednchina.com/" target="_blank"> 电子技术设计 </a> <a href="https://www.esmchina.com/" target="_blank"> 国际电子商情 </a> <a href="https://mbb.eet-china.com/" target="_blank"> 面包板社区 </a> <a href="https://www.datasheets.com/zh-cn/" target="_blank"> DatasheetsChina.com </a> </div> <div class="footer-copy"> Copyright © 2000- 2025 eMedia Asia Ltd. All rights reserved. 北京科能广告有限公司深圳分公司 版权所有 </div> </div> <div class="footer-share"> <a href="https://weibo.com/edchina" target="_blank"><span class="iconfont"></span></a> <span class="iconfont weixin">  <div class="weixin-code"> <div class="code-pic-arrow"></div> <img src="/static/image/mianbaoban/specialcolumn/15.png" alt=""> <span class="code-text"> 扫码关注面包板社区 </span> </div> </span> </div> <div class="clearfix"></div> </div> </footer> <script src="/static/js//mianbaoban/lowbrowser.js?1" type="text/javascript"></script> <!--Global site tag (gtag.js) - Google Analytics --> <script src="https://www.googletagmanager.com/gtag/js?id=UA-4727096-18" type="text/javascript"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-4727096-18'); </script> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?07a263769efcb499343fdd4a474e9713"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <link rel="stylesheet" type="text/css" href="https://mbb.eet-china.com/static/css/welcome.css" /> <script src="https://www.eet-china.com/e/public/welcome_ad/" type="text/javascript"></script> <script src="//www.googletagservices.com/tag/js/gpt.js" type="text/javascript"></script> <script src="https://mbb.eet-china.com/static/js/mianbaoban/welcome_ad.js" type="text/javascript"></script> <!--闲置页面弹窗--><link rel="stylesheet" href="/static/css/unused.css"> <div id="a_showhotnews_list_dia" style="display:none"> <div id="a_showhotnews_list" class="tj_box"> <div class="tj_top">本网页已闲置超过10分钟,按键盘任意键或点击空白处,即可回到网页 <div id="a_showhotnews_top_close" class="close1">X <a target="_self" href="javascript:void(0)"></a> </div> </div> <div class="tj_center"> <div class="tjleft"> <!-- /122049170/TOP_RECTANGLE --> <div id='div-gpt-ad-unused'></div> </div> <div class="tjright"> <h3> <div class="centerleft">最新资讯</div> </h3> <div id="a_hotnews_list_c" class="hotnews_list"> <ul> <li> <a href="https://www.ednchina.com/news/a14020.html" target="_blank"> <span class="thetext">631.2亿美元的市场,创新制造工艺将为柔性电子带来什么?</span> </a> </li> <li> <a href="https://www.ednchina.com/news/a14019.html" target="_blank"> <span class="thetext">创新的FPGA技术实现低功耗、模块化、小尺寸USB解决方案</span> </a> </li> <li> <a href="https://www.esmchina.com/news/12724.html" target="_blank"> <span class="thetext">特朗普关税威胁下,传三星、LG考虑将家电生产“大挪移”</span> </a> </li> <li> <a href="https://www.eet-china.com/news/202501223107.html" target="_blank"> <span class="thetext">软银、OpenAI、甲骨文斥巨资建AI项目“星际之门”,马斯克质疑“没钱”</span> </a> </li> <li> <a href="https://www.eet-china.com/news/202501221917.html" target="_blank"> <span class="thetext">南芯科技拟1.6亿元收购昇生微,加速布局MCU芯片业务</span> </a> </li> </ul> </div> </div> </div> <div class="tj_bottom"> </div> </div> </div> <script src="/static/js/unused.js" type="text/javascript"></script> <div class="sidebar-top"> <span class="iconfont"></span> </div> <div class="bottom-sidebar visible-xs"> <div class="art-comment-xs"> <div class="mypl-xs"> <span class="iconfont"></span>我要评论 </div> <div class="myicon-xs"> <div class="myicon-icon comment-xs reply-icon reply-icon-seat"> <span class="iconfont">  </span> <strong>0</strong> </div> <div id="article_click" onclick="article_click(117223);" class="myicon-icon article-thumbs-icon-a-before "> <span class="iconfont iconfont-after "></span> <span class="iconfont iconfont-before"></span> <strong id="click1" class="article-thumbs-number"></strong> </div> <div class="myicon-icon share-btn-xs"> <span class="iconfont"></span> </div> </div> </div> <div class="art-comment-area-xs"> </div> <div class="share-box-xs"> <ul> <li class="weixin"> <span class="iconfont weixin"></span>分享到微信 </li> </ul> </div> </div> <div class="share-weixin-box-xs-bg"> <div class="share-weixin-box-xs"> <span class="iconfont"></span> <span class="thetext">点击右上角,分享到朋友圈</span> <span class="thebtn">我知道啦</span> </div> </div><div class="share-weixin-browser-xs-bg"> <div class="share-weixin-box-xs"> <span class="thetext">请使用浏览器分享功能</span> <span class="thebtn">我知道啦</span> </div> </div> <div class="bg-layer"></div> <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="myModalLabel">提示!</h4> </div> <div class="modal-body"> 您尚未开通专栏,立即申请专栏入驻 </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button> <button type="button" class="btn btn-primary"><a href="https://mbb.eet-china.com/specialcolumn.php?mod=special&ac=entry_column" target="_blank" class="nav-link">立即申请</a></button> </div> </div> </div> </div><script type="text/javascript"> var MbbUrl = "https://mbb.eet-china.com"; // 评论ajax var urls = "https%3A%2F%2Fwww.eet-china.com%2Fmp%2Fa117223.html"; jQuery('#wechatshare').append('<img src="https://mbb.eet-china.com/source/plugin/wechatshare/index.php?text=' + urls + '"/><span>微信扫一扫,立即分享</span>'); jQuery('#mywechat').hover(function () { jQuery('#wechatshare').show(); }, function () { jQuery('#wechatshare').hide(); }); </script> <script src="/static/lib/pinchzoom/pinchzoom.js" type="text/javascript"></script> <script src="/static/js/mzoom.js" type="text/javascript"></script> <script src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js" type="text/javascript"></script> <script> jQuery(document).ready(function () { $('.nav-mianbaoban .dropdown').hover(function(){ $(this).addClass( 'open' ); },function (){ $(this).removeClass( 'open' ); }) if (isWeiXin()) { jQuery.ajax({ type: "post", url: "https://www.eet-china.com/wechat.php", dataType: "json", //data:"url="+window.location.href, success: function (data) { wx.config({ debug: false, appId: data.appId, timestamp: data.timestamp, nonceStr: data.nonceStr, signature: data.signature, jsApiList: ['checkJsApi', 'onMenuShareAppMessage', 'onMenuShareTimeline'] }); wx.ready(function () { wx.onMenuShareAppMessage({ title: '汽车软件开发自动化测试攻略', desc: '随着软件开发在造车行业中占有越来越重要的地位,敏捷开发的思想在造车领域中也逐渐地被重视起来,随之而来的是整车厂对自动化测试需求越来越强烈。本文结合在自动化测试方', link: window.location.href, imgUrl: 'https://static.mianbaoban-assets.eet-china.com/xinyu-images/MBXY-CR-68361d9ce21d88f8156513ed55f9b51c.png', type: 'link', success: function () { }, cancel: function () { } }); wx.onMenuShareTimeline({ title: '汽车软件开发自动化测试攻略', desc: '随着软件开发在造车行业中占有越来越重要的地位,敏捷开发的思想在造车领域中也逐渐地被重视起来,随之而来的是整车厂对自动化测试需求越来越强烈。本文结合在自动化测试方', link: window.location.href, imgUrl: 'https://static.mianbaoban-assets.eet-china.com/xinyu-images/MBXY-CR-68361d9ce21d88f8156513ed55f9b51c.png', type: 'link', success: function () { }, cancel: function () { } }); }); wx.error(function (res) { }); } }) } }); //是否是微信端 var subject = "" var vid = "" var img = "" var html = '<div class="recommend-video">' + ' <div class="the-title"><a href="https://u.eet-china.com/?xinyu"> EE芯视频推荐</a></div>' + ' <div class="video-con">' + ' <a href="https://u.eet-china.com/video/'+vid+'?xinyu1" target="_blank" class="the-link">' + ' <div class="thePicbg">' + ' <div class="thePic"' + ' style="background-image:url('+img+')"></div>' + ' </div>' + ' <div class="video-title"> 视频:'+subject+'</div>' + ' <div class="video-btn">' + ' <img src="/static/image/mianbaoban/specialcolumn/video-btn.svg" alt="">' + ' </div>' + ' </a>' + ' </div>' + ' </div>'; var articleDom = jQuery('.article-con>section'); if (subject !== ''){ if (articleDom.length >1){ if (articleDom.length < 2) { // jQuery('.article-con').after(html) } else { // articleDom.eq(parseInt(articleDom.length / 4)).after(html); } }else { //找p articleDomP = jQuery('.article-con>p') if(articleDomP.length>0){ if (articleDomP.length < 2) { // jQuery('.article-con').after(html) } else { // articleDomP.eq(parseInt(articleDomP.length / 4)).after(html); } }else { // jQuery('.article-con').after(html) } } } function deleteArt(aid){ layer.confirm('您确定要删除这篇文章吗?', {icon: 3, title:'提醒:'}, function(index){ //do something layer.close(index); offline(117223) },function (index){ layer.close(index); return false }); } function isWeiXin() { var ua = window.navigator.userAgent.toLowerCase(); if (ua.match(/MicroMessenger/i) == 'micromessenger') { return true; // 是微信端 } else { return false; } } </script> <!--<script src="/static/js//mianbaoban/specialcolumn/video.js" type="text/javascript"></script>--> </body> </html> <!--<script src="/static/js//mianbaoban/specialcolumn/newstouch.js" type="text/javascript"></script>-->