wiresharp截包pdml文件分析php程序

OSSIM-agent源代码分析(十一) 2021SC@SDUSC ControlSniffer.py OSSIM-agent源代码分析(十一) 简述 OSSIM Agent的主要职责是收集网络上存在的各种设备发送的所有数据,然后按照一种标准方式(standardized way)有序的发送给OSSIM Server,Agent收集到数据后在发送给Server之前要对这些数据进行标准化处理,这样Server就可以依一种统一的方式来处理这些信息,并且也简化了Server的处理过程。 Sniffer,中文可以翻译为嗅探器,也叫抓数据包软件,是一种基于被 阅读详情
<?php

require_once 'XByteArray.php';
require_once 'http.php';

class MyPacket
{
		public $port_src  = 0;
		public $ip_src    = 0;
		public $port_dst  = 0;
		public $ip_dst    = 0;
		public $tcp_flags = 0;
		public $tcp_flags_res     = 0;
		public $tcp_flags_ns     = 0;
		public $tcp_flags_cwr     = 0;
		public $tcp_flags_ecn     = 0;
		public $tcp_flags_urg     = 0;
		public $tcp_flags_ack     = 0;
		public $tcp_flags_reset   = 0;
		public $tcp_flags_syn     = 0;
		public $tcp_flags_fin     = 0;
		public $tcp_flags_push     = 0;
		
		public $data      = "";
		public $timestamp = 0;
		public $timestamp_name = "";
		public $key = "";
		public $frame_num= 0;
		public $frame_len=0;
		public $frame_caplen=0;
		public function genKey()
		{
			$keyarr =array($this->ip_src.":".$this->port_src, $this->ip_dst.":".$this->port_dst);
			sort($keyarr,SORT_STRING);
			$this->key = implode("<->",$keyarr);
		}
		
		public function dump()
		{
		
			printf("%10d ", $this->frame_num);
			echo $this->timestamp;
			echo " {$this->ip_src}";
			echo ":{$this->port_src}";
			echo "->{$this->ip_dst}";
			echo ":{$this->port_dst}";
			printf(" len %5d ",    $this->frame_len);
			printf(" caplen %5d ", $this->frame_caplen);
			echo " flags ". dechex($this->tcp_flags);
			echo " res {$this->tcp_flags_res}";
			echo " ns {$this->tcp_flags_ns}";
			echo " cwr {$this->tcp_flags_cwr}";
			echo " ecn {$this->tcp_flags_ecn}";
			echo " urg {$this->tcp_flags_urg}";
			echo " ack {$this->tcp_flags_ack}";
			echo " reset {$this->tcp_flags_reset}";
			echo " syn {$this->tcp_flags_syn}";
			echo " fin {$this->tcp_flags_fin}";
			echo " push {$this->tcp_flags_push}";
			echo " data:".strlen($this->data);
			echo "\n";
			
		}
};

class MyHttpRequestAndResponse
{
	const STAT_NONE				  			=0;
	const STAT_REQUEST_FIRST_SENT 			=1;
	const STAT_REQUEST_FIRST_SENT_ACK       =2;
	const STAT_REQUEST_LAST_SENT  			=4;
	const STAT_REQUEST_LAST_SENT_ACK        =8;
	
	const STAT_RESPONSE_FIRST_RECEIVED		=16;
	const STAT_RESPONSE_FIRST_RECEIVED_ACK	=32;
	const STAT_RESPONSE_LAST_RECEIVED		=64;
	const STAT_RESPONSE_LAST_RECEIVED_ACK   =128;
	
	public $host = "";
	public $url = "";
	public $begin_time ="";
	public $request_sent_first_packet_timestamp =0;
	public $request_sent_first_packet_ack_timestamp =0;
	public $request_sent_last_packet_timestamp =0;
	public $request_sent_last_packet_ack_timestamp =0;

	public $response_first_packet_timestamp =0;
	public $response_first_packet_ack_timestamp =0;
	public $response_last_packet_timestamp =0;
	public $response_last_packet_ack_timestamp=0;
	
	public $request_data_length=0;
	public $response_data_length=0;
	public $stat = 0;
	public $need_send_ack = 0;
	
	public $reqdata='';
	
	public $mypacketlist = array();
};


class MyConnection
{
	 const STAT_SENDING_REQUEST = 0;
	 const STAT_WATTING_RESPONSE = 1;
	
	public $packetlist = array();
	public $client_ip ="";
	public $client_port ="";
	public $server_ip ="";
	public $server_port ="";
	public function analize()
	{
		if($this->packetlist[0]->tcp_flags!=0x02)
		{
			echo "legacy connection ".$this->packetlist[0]->key." \n";
			return ;
		}
		
		if(count($this->packetlist)<3 || $this->packetlist[1]->tcp_flags!=0x12 || $this->packetlist[2]->tcp_flags!=0x10)
		{
			echo "connection ".$this->packetlist[0]->key." not establish \n";
		}
		
		$connect_ack_cost   = $this->packetlist[1]->timestamp - $this->packetlist[0]->timestamp;
		$connect_total_cost = $this->packetlist[2]->timestamp - $this->packetlist[0]->timestamp;
		
		
		echo "CONNECT(".$this->packetlist[0]->key.") COST: $connect_total_cost($connect_ack_cost)  \n" ;
		
		
		
		$ctx   = new HttpContext();
		$bufs  = new XAutoBuffer(4096);
		$stat  = MyConnection::STAT_SENDING_REQUEST;
		
		$collectorlist = array();
		
		$collector = new MyHttpRequestAndResponse();
		
		for($i=3;$i<count($this->packetlist);$i++)
		{
			$packet = $this->packetlist[$i]; 
			array_push($collector->mypacketlist,$packet);
			
			if($packet->tcp_flags_ack)
			{
				switch($collector->stat)
				{
					case MyHttpRequestAndResponse::STAT_REQUEST_FIRST_SENT:
					case MyHttpRequestAndResponse::STAT_REQUEST_LAST_SENT:
						if(!($this->client_ip==$packet->ip_src && $this->client_port == $packet->port_src))
						{
							if($collector->request_sent_first_packet_ack_timestamp==0)
							{
									$collector->request_sent_first_packet_ack_timestamp = $packet->timestamp;
							}
								
							if($collector->need_send_ack==1)
							{
								
								$collector->request_sent_last_packet_ack_timestamp = $packet->timestamp;
								$collector->stat =MyHttpRequestAndResponse::STAT_REQUEST_LAST_SENT_ACK;
							}
							
							$collector->need_send_ack --;
							
						}
					break;
					
					case MyHttpRequestAndResponse::STAT_RESPONSE_FIRST_RECEIVED:
						if(($this->client_ip==$packet->ip_src && $this->client_port == $packet->port_src))
						{
							$collector->response_first_packet_ack_timestamp = $packet->timestamp;
							$collector->stat =MyHttpRequestAndResponse::STAT_RESPONSE_FIRST_RECEIVED_ACK;
						}
					break;
					
					
					case MyHttpRequestAndResponse::STAT_RESPONSE_LAST_RECEIVED:
						if($this->client_ip==$packet->ip_src && $this->client_port == $packet->port_src)
						{
							$collector->response_last_packet_ack_timestamp = $packet->timestamp;
							$collector->stat =MyHttpRequestAndResponse::STAT_RESPONSE_LAST_RECEIVED_ACK;
							array_push($collectorlist,$collector);
							$collector = new MyHttpRequestAndResponse();
						}
						
					break;
				}
			}
			
			
			if(strlen($packet->data)>0)
			{
				if($this->client_ip=="")
				{
					$this->client_ip = $packet->ip_src;
					$this->client_port = $packet->port_src;
					$this->server_ip = $packet->ip_dst;
					$this->server_port = $packet->port_dst;
				}
				
				
				//截包缺失处理
				if($stat==MyConnection::STAT_SENDING_REQUEST)
				{
					if(!($this->client_ip==$packet->ip_src && $this->client_port == $packet->port_src))
					{
						$collector->request_sent_last_packet_timestamp = $packet->timestamp;
						$collector->request_data_length = $bufs->GetLength();
						$collector->url = $ctx->m_header->status_code;
						$collector->host = $ctx->getHeaderValueByName('Host');
						
						$ctx->reset();
						$bufs->Clear();
					}
				}
				else
				{
					if($this->client_ip==$packet->ip_src && $this->client_port == $packet->port_src)
					{
						$collector->stat = MyHttpRequestAndResponse::STAT_RESPONSE_LAST_RECEIVED;
						$collector->response_last_packet_timestamp = $packet->timestamp;
						$collector->response_data_length = $bufs->GetLength();
						
						$collector->response_last_packet_ack_timestamp = $packet->timestamp;
						$collector->stat =MyHttpRequestAndResponse::STAT_RESPONSE_LAST_RECEIVED_ACK;
						array_push($collectorlist,$collector);
						$collector = new MyHttpRequestAndResponse();
						
						$ctx->reset();
						$bufs->Clear();
					}	
				}
				
				
				if($collector->stat == MyHttpRequestAndResponse::STAT_NONE )
				{
					$collector->stat = MyHttpRequestAndResponse::STAT_REQUEST_FIRST_SENT;
					$collector->begin_time = $packet->timestamp_name;
					$collector->request_sent_first_packet_timestamp = $packet->timestamp; 
				}
				
				if($this->client_ip==$packet->ip_src && $this->client_port == $packet->port_src)
				{
					$collector->need_send_ack ++;
				}
				else
				{
					if($collector->stat < MyHttpRequestAndResponse::STAT_RESPONSE_FIRST_RECEIVED)
					{
						if($collector->request_sent_last_packet_ack_timestamp==0)
						{
							$collector->request_sent_last_packet_ack_timestamp = $collector->request_sent_first_packet_ack_timestamp;
						}
						
						$collector->stat =MyHttpRequestAndResponse::STAT_RESPONSE_FIRST_RECEIVED;
						$collector->response_first_packet_timestamp = $packet->timestamp;
					}
				}
				
				
					
				
				$bytetotal = strlen($packet->data);
				$consumeLen =0;
				$consumeLen = HttpProtocolClient::parseHttp($ctx,$packet->data,$bytetotal,$bufs);
				
				if($consumeLen!=$bytetotal)
				{
				//	var_dump($ctx);
					
					echo "error $consumeLen!=$bytetotal , it is not ok in http\n";
					//$of = fopen("/tmp/httpdata.dump", "wb");
					for($k=0;$k<count($collector->mypacketlist);$k++)
					{
 						$collector->mypacketlist[$k]->dump();
 						
// 						$datalen =  strlen($collector->mypacketlist[$k]->data);
// 						if($datalen>0)
// 						{
// 							fwrite($of, $collector->mypacketlist[$k]->data, strlen($collector->mypacketlist[$k]->data));
// 						}
						
					}
					//fclose($of);
					//exit(0);
					
				}
				
				if($ctx->m_state==HttpProtocolClient::PACKET_COMPLETE)
				{
					if($stat==MyConnection::STAT_SENDING_REQUEST)
					{
						$stat=MyConnection::STAT_WATTING_RESPONSE;
						//echo "request data sent: ". $packet->timestamp_name. ": ". $ctx->m_header->status_code . "\n";
					}
					else
					{
						//echo "response data recv: ". $packet->timestamp_name. ": ". $ctx->m_header->status_code . "\n";
						$stat=MyConnection::STAT_SENDING_REQUEST;
					}
					
				
				
					if($collector->stat < MyHttpRequestAndResponse::STAT_RESPONSE_FIRST_RECEIVED )
					{
						$collector->stat = MyHttpRequestAndResponse::STAT_REQUEST_LAST_SENT;
						$collector->request_sent_last_packet_timestamp = $packet->timestamp;
						$collector->request_data_length = $bufs->GetLength();
						$collector->url = $ctx->m_header->status_code;
						$collector->host = $ctx->getHeaderValueByName('Host');
						$collector->reqdata = $bufs->GetBuffer();
					}
					else
					{
						$collector->stat = MyHttpRequestAndResponse::STAT_RESPONSE_LAST_RECEIVED;
						$collector->response_last_packet_timestamp = $packet->timestamp;
						$collector->response_data_length = $bufs->GetLength();
					}
				
					//var_dump($packet);
					//var_dump($ctx);
					
					$ctx->reset();
					$bufs->Clear();
				}
				
				
			}
			
			
		}
		
		

		
		if(count($collectorlist)==0)
		{
			for($i=0;$i<count($this->packetlist);$i++)
			{
				$this->packetlist[$i]->dump();
			}
		}
		else
		{
// 			for($i=0;$i<3;$i++)
// 			{
// 				$this->packetlist[$i]->dump();
// 			}
			
			foreach($collectorlist as $c)
			{
				
				
				printf("%0.3f REQUEST TOTAL:%0.3f WRITTEN: %0.3f  RESPONSE_FIRST:%0.3f   READ: %.3f DATA:%6d URL: %s  d:%s\n",
						$c->request_sent_first_packet_timestamp,
						$c->response_last_packet_ack_timestamp - $c->request_sent_first_packet_timestamp,  //TOTAL
						$c->request_sent_last_packet_ack_timestamp- $c->request_sent_first_packet_timestamp, //WRITTEN
						$c->response_first_packet_timestamp - $c->request_sent_last_packet_ack_timestamp, //RESPONSE_FIRST
						$c->response_last_packet_timestamp - $c->response_first_packet_timestamp, //READ
						$c->response_data_length, //time
						$c->host . $c->url, //url
						$c->reqdata
						
				);
				
// 				for($i=0;$i<count($c->mypacketlist); $i++)
// 				{
// 					$c->mypacketlist[$i]->dump();
// 				}
			}
		}
		
		
		echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n";
		//var_dump($collectorlist);
		
	}
};


$connections = array();



$doc = simplexml_load_file("xxxxxx");


$simle_packets  = array();

foreach($doc->packet as $packet)
{


    $mypacket = new MyPacket();
	foreach($packet->proto as $proto)
	{
	
		
		if($proto->attributes()->name=='tcp')
		{
		
			foreach($proto->field as  $field)
			{
				$attrs = $field->attributes();
				if($attrs->name=="tcp.srcport")
					$mypacket->port_src = strval($attrs->show);
				else if($attrs->name=="tcp.dstport")
					$mypacket->port_dst = strval($attrs->show);
				else if($attrs->name=="tcp.flags")
				{
					$mypacket->tcp_flags = hexdec($attrs->show);
					foreach($field->field as $flag)
					{
						$fatt = $flag->attributes();
						if($fatt->name=="tcp.flags.fin")
						{
							$mypacket->tcp_flags_fin = intval($fatt->value);
						}
						else if($fatt->name=="tcp.flags.ack")
						{
							$mypacket->tcp_flags_ack = intval($fatt->value);
						}
						else if($fatt->name=="tcp.flags.syn")
						{
							$mypacket->tcp_flags_syn = intval($fatt->value);
						}
						else if($fatt->name=="tcp.flags.reset")
						{
							$mypacket->tcp_flags_reset = intval($fatt->value);
						}
						else if($fatt->name=="tcp.flags.push")
						{
							$mypacket->tcp_flags_push = intval($fatt->value);
						}
						else if($fatt->name=="tcp.flags.urg")
						{
							$mypacket->tcp_flags_urg = intval($fatt->value);
						}
						else if($fatt->name=="tcp.flags.ecn")
						{
							$mypacket->tcp_flags_ecn = intval($fatt->value);
						}
						else if($fatt->name=="tcp.flags.cwr")
						{
							$mypacket->tcp_flags_cwr = intval($fatt->value);
						}
						else if($fatt->name=="tcp.flags.ns")
						{
							$mypacket->tcp_flags_ns = intval($fatt->value);
						}
						else if($fatt->name=="tcp.flags.res")
						{
							$mypacket->tcp_flags_res = intval($fatt->value);
						}
						
					}
				}
// 				else if($attrs->name=="tcp.data")
// 				{
// 					$xtmp = str_replace(':',' ',$attrs->show);
// 					$mypacket->data  =  HexStringToBytes($xtmp, strlen($xtmp));
// 				}
				
			}
		}
		else if($proto->attributes()->name=='ip')
		{
			foreach($proto->field as  $field)
			{
				$attrs = $field->attributes();
				if($attrs->name=="ip.src")
					$mypacket->ip_src = strval($attrs->show);
				else if($attrs->name=="ip.dst")
					$mypacket->ip_dst = strval($attrs->show);
			}
		}
		else if($proto->attributes()->name=='geninfo')
		{

			foreach($proto->field as  $field)
			{
				$attrs = $field->attributes();
				if($attrs->name=="timestamp")
				{
					$mypacket->timestamp = doubleval($attrs->value);
					$mypacket->timestamp_name = strval($attrs->show);
				}
				else if($attrs->name=="num")
				{
					$mypacket->frame_num = hexdec($attrs->value);
				}
				else if($attrs->name=="len")
				{
					$mypacket->frame_len = hexdec($attrs->value);
				}
				else if($attrs->name=="caplen")
				{
					$mypacket->frame_caplen  = hexdec($attrs->value);
				}
			}
		}
		else if($proto->attributes()->name=='fake-field-wrapper')
		{
			foreach($proto->field as  $field)
			{
				$attrs = $field->attributes();
				if($attrs->name=="data")
				{
					$mypacket->data = HexStringToBytes(strval($attrs->value), strlen($attrs->value));
					
				}
			}
		}
	
	}
	$mypacket->genKey();
	if(!isset($connections[$mypacket->key]))
	{
		$connections[$mypacket->key] = new MyConnection();
	}

	array_push($connections[$mypacket->key]->packetlist,$mypacket);
	
}

foreach($connections as $k=>$v)
{
	
	
	//echo "packet number : ". count($v->packetlist) . "\n";
// 	for($i=0;$i<count($v->packetlist);$i++)
// 	{
// 		$v->packetlist[$i]->dump();
// 	}
	//if(strpos($v->packetlist[0]->key, "53777"))
		$v->analize();
}

PDM文件打开方式 项目里有后缀为 *.pdm 的文件,该文件为数据库表结构模型,也可以理解为数据字典。 方式一:在线打开 在这里分享一个很方便的网站,在线阅读pdm文件,打开这个网址放pdm文件进去,即可打开,十分方便快捷。 http://www.dmanywhere.cn/ 方拾二:powerdesigner客户端 PowerDesigner软件创建数据库快捷便利的可视化工具,毕竟在线版的资源有限 网上有很多不错的安装教程 学习powerdesigner入门教程点击 https://www.cnblogs.com/bie 阅读详情

相关推荐

轻狂PDF工具包1.1.1.0:全面的PDF编辑解决方案

PDF编辑软件是现代办公和出版不可或缺的工具,它允许用户创建、修改和管理便携式文档格式(PDF)文件。PDF格式以其跨平台兼容性和内容保真性,被广泛应用于文件共享和电子文档分发。在这一章中,我们将从PDF编辑软件的基本功能讲起,探讨它如何简化文档的处理过程,并且保证格式在不同操作系统和设备上的一致显示。PDF文档的结构非常灵活,它由一系列的对象构成,这些对象定义了文档的视觉布局、内容以及交互性。了解PDF的结构对于理解和处理PDF文档至关重要。PDF对象。

weixin_33557333的博客 1071

mysql5717开发设置怎么调回来_mysql5.7.17怎么自定义安装

满意答案zogv02018.07.28采纳率:57%等级:9已帮助:212人从MSQL官网下载MySQL服务器安装软件包,下面以mysql-installer-community-5.7.3.0-m13.msi为例。1、双击进入安装2、在协议许可(License Agreement)界面,勾选“I accept the license terms”,点击“Next”。3、在检查更新信息(F...

weixin_39956022的博客 220

開機自動進入UEFI Interactive Shell無法正常開機怎麼辦?

BIOS/UEFI,啟動後進入UEFI Interactive Shell大多數人都告訴你沒有安裝系統去裝系統吧,但你明明昨天還在運行系統?今天就這樣?有沒有解決辦法?

sheaahhoi1的博客 7792

数字化仿真核心密码:结构热设计必知的3类设计软件文件格式与实战应用

装配体的文档设计时,需要按照实际的模型,自下而上建模,这样导出step或者iges时,才不会是一个零件,如下图所示,否则导致后续协作需要做拆解,效率太低。其实,从上面三部分的软件工具就可以了解到,想要做到结构热设计领域的佼佼者,不单单是懂热仿真、热设计方案,还需要了解其他协同相关的岗位,技能甚至项目全貌。当然,这些也需要看企业的研发体系,大中小型公司的岗位设定、组织规划都不一样,所以不能一概而论,但是工作内容没少,只是有的牛马身兼多职罢了。

莱歌数字的博客 1819

运放专题:运算放大电路中的相位补偿

的方法

五花带点肉 2万+

手把手教你用STM32CubeMX和HAL库驱动DW3000:从SPI配置到第一个测距Demo

本文详细介绍了如何使用STM32CubeMX和HAL库驱动DW3000 UWB定位通信模块,从SPI配置到实现厘米级测距Demo的全过程。涵盖硬件连接、SPI通信调试、驱动移植及双向测距(TWR)算法实现,帮助开发者快速掌握UWB高精度定位技术,适用于仓储物流、智能家居等场景。

weixin_27038245的博客 499

《Wireshark网络分析实战》—第1章1.7节数据文件的保存、打印及导出

本节书摘来自异步社区《Wireshark网络分析实战》一书中的第1章1.7节数据文件的保存、打印及导出,作者【以色列】Yoram Orzach,更多章节内容可以访问云栖社区“异步社区”公众号查看。 1.7 数据文件的保存、打印及导出Wireshark网络分析实战本节将讨论Wireshark软件中的文件操作,包括数据文件的保存、打印及导出等。 1.7.1 ...

weixin_33937499的博客 875

halcon 查找圆形

先找到大概位置进行拟合,然后再以拟合出的位置作为测量的大概位置进行找圆;

qq_59062726的博客 745

Wireshark 用户使用手册 ———— 文件处理

文章目录打开捕获文件打开的文件格式保存抓包保存的文件格式合并捕获文件导入十六进制Import From Hex Dump 对话框  我们将介绍捕获数据的输入和输出,例如打开各种捕获文件格式的捕获文件,以各种格式保存和导出捕获文件,将捕获文件合并在一起,导入包含数据包十六进制转储的文本文件,打印数据包等等操作。 打开捕获文件  “打开捕获文件”对话框允许您搜索包含先前捕获的数据包的捕获文件,以便在 Wireshark 中显示。 以下部分显示了 Wireshark“打开文件”对话框的一些示例。 此对话框的外观取

永远的菜鸡小詹的博客 6912

Android Studio运行报错: failed to load include path ……\platforms\android-35\android.jar的最细解决方案

【代码】Android Studio运行报错: failed to load include path ……\platforms\android-35\android.jar的最细解决方案。

2401_86789230的博客 2万+

YOLO11数据增强中的色彩空间变换:HSV、YUV等增强技术的原理、实现与参数调优全解析

摘要 本文介绍了色彩空间的基本概念及其在数据增强中的应用,重点分析了HSV色彩空间的原理与特性。色彩空间作为颜色表示的数学模型,在计算机视觉中具有重要作用,RGB、HSV、YUV等常用色彩空间各有特点。数据增强中的色彩变换能提升模型鲁棒性、缓解数据不平衡并防止过拟合。HSV色彩空间将颜色分为色调(H)、饱和度(S)和明度(V)三个独立分量,更符合人类视觉感知,便于针对性调整图像属性。文章详细阐述了HSV与RGB的转换公式,为YOLO11等目标检测框架的数据增强提供了理论基础。

本博客聚焦 YOLOv11 全流程落地,涵盖架构优化、数据集处理、训练技巧与多场景部署,兼及国产数据库、Java 开发与 AI 模型应用,内容兼顾理论与工程实践,为开发者提供系统干货,助力高效提升技术能力。 300

Oracle并行详解

并行概念 并行执行(parallel execution)是Oracle企业版才有的特性(标准版中没有这个特性),指能够将一个大型串行任务(任何DML,或者一般的DDL)物理地划分为多个较小的部分,这些较小的部分可以同时得到处理。 并行包括: 并行查询:这是指能使用多个操作系统进程或线程来执行一个查询。Oracle会发现能并行执行的操作(如全表扫描或大规模排序),并创建一个查

xwnxwn的专栏 7485

以太网GMAC-RK3568

第 2 章和第 3 章中针对 RMII/RGMII 接口芯片和 USB 以太网两种类型芯片在 SDK 上的配置做详细的描述,第 4 章介绍以太网在 Android 上的相关调用接口。第 5 章提供常见问题的排查建议由于在 RK 系列的 SoC 中内置了以太网 MAC 控制器,所以只需要搭配一颗以太网 PHY 芯片,即可实现以太网卡功能按照规范,即使是不同厂家的 PHY,仍然有一部分寄存器的定义是通用的,只要配置了这些通用的寄存器,基本上 PHY 就可以正常工作代码位置在。

qq_24093081的博客 1950

oracle 11g 并行DML

oracle11g 并行DML(PDML) 并行DML应用在决策支撑系统(decision support system   DSS)环境时,对于访问大对象时,可扩展性和性能有灰常显著的效果。 不能把PDML当成提高OLTP应用速度的一个特性。PDML在大型数据仓库中很有用,它利于大量的数据批量更新。 开启PDML PDML有别于并行查询,除非显示的请求PDML ,否则不能执行PD

LinusFay 1833

【二】MADDPG多智能体算法实现(parl)【追逐游戏复现】

论文全称:Multi-Agent Actor-Critic for Mixed Cooperative-Competitive Environments 论文原文:https://download.csdn.net/download/sinat_39620217/16203960 论文翻译:https://blog.csdn.net/qiusuoxiaozi/article/details/79066612 ...

丨汀、的博客 2万+

IEM模型,地表粗糙度模拟

利用微波反演土壤水分时候,利用IEM模型可以实现对随机地表的模拟

二进制安装mysql5.7版本

1、下载软件安装包 mysql-5.7.11-linux-glibc2.5-x86_64.tar.gz 2、创建mysql用户 useradd mysql passwd mysql_123456 创建用户使其不允许登录: 请注意要在root用户下进行 修改已经存在的用户使其不允许登录: usermod -s /sbin/nologin 新建用户不允许登录: useradd -s /sbin/no...

运维打怪晋级之路 1076

霍尼韦尔SoftMaster使用说明

霍尼韦尔SoftMaster使用说明

插入数据的耗时过长

开启 PDML 后,相同的表插入 600 万行数据,OceanBase 数据库的耗时缩短为 22 秒左右。只支持 PDML(Parallel Data Manipulation Language,并行数据操纵语言),非 PDML 不能用旁路导入。通过添加一个 Hint,开启 PDML 的执行选项。注意再次插入前,我们先将上次插入的数据清空。支持clob 类型,但是性能比较差,clob 会走原来事务写入数据的路径。不能两个语句同时写一个表,因为导入的过程中会先加表锁。不支持在触发器(Trigger)使用。

weixin_43803780的博客 765

TMS_WebGMaps_1.9.8.0_Full_Source

TMS_WebGMaps_1.9.8.0_Full_Source 全源码 delphi cbuilder

精雕软件(JDpaint) 5.5 绿色版

精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版

oracle pdml,Sql优化(三) 关于oracle的并发

Oracle的并发技术可以将一个大任务分解为多个小任务由多个进程共同完成。合理地使用并发可以充分利用系统资源,提高效率。一、 并发的种类Parallel queryParallel DML(PDML)Parallel DDLParallel recovery[@more@]二、 适用场合适用parallel的两个条件1)大的任务,如全表扫描大表这和日常生活中的经验是一样的,小任务自己完成都比派发任...

weixin_30805181的博客 512

wireshark抓包对应xml文件解析

最近在搭建内部平台的时候,需设计一个脚本,将pcap/pcapng文件转化成xml文件,并且需要从xml提取有效数据,将其插入Mongo数据库,实现语言为java,具体实现时引入了一些第三方库,最后生成一个auto.jar文件,因为jar文件可以很方便的被其他脚本直接调用,方便做一些自动化管理。 整个auto.jar的实现分为以下三部分: 1、 通过Process调用tshark命令,将pca

学习应该是一个长链接 5576

pdm文件打开方式

转自:https://blog.csdn.net/qq_36855191/article/details/79299216在这里分享一个很方便的网站,在线阅读pdm文件,打开这个网址放pdm文件进去,即可打开,十分方便快捷。:http://www.dmanywhere.cn/但功能还是不够强大,经常用到的兄弟还是应该下载powerdesigner,毕竟在线版的资源有限,所以功能很不完善。网上有很多...

渴望飞的鱼的博客 9万+

Oracle并行操作——并行DML操作

对大部分的OLTP系统而言,并行DML(PDML)的应用场景不多。大多数的PDML操作集中在下面几个场景下: ü        系统移植,从旧系统中导入原始数据和基础数据;ü        数据仓库系统Data Warehouse定期进行大批量原始数据导入和清洗;ü        借助一些专门的工具,如sql loader,进行数据海量导入; 本篇主要介绍并行DML操作的一些细节和注意方面。 1、...

thy822的专栏 3591

oracle pdml,Oracle Parallel用法

一、Parallel1.用途强行启用并行度来执行当前SQL。这个在Oracle9i之后的版本可以使用,之前的版本现在没有环境进行测试。也就是说,加上这个说明,可以强行启用Oracle的多线程处理功能。举例的话,就像电脑装了多核的CPU,但大多情况下都不会完全多核同时启用(2核以上的比较明显),使用parallel说明,就会多核同时工作,来提高效率。但本身启动这个功能,也是要消耗资源与性能的。所有...

weixin_35941667的博客 775

PDML Specification

PDML Specification http://www.nbee.org/doku.php?id=netpdl:pdml_specification The PDML language is a very simple language that keeps the information related to a decoded packet. PDML stands for Pac

zlyong0018的专栏 964

熟练使用Wireshark排除网络故障的方法

1 概述 本章会讨论如何娴熟地将Wireshark作为网络排障工具来使用,先讲如何配置用户界面,再谈如何配置全局和协议参数,接下来将讨论Wireshark文件夹、配置文件、文件夹和插件[3] 。 本章还会讲解Wireshark的配色规则及配置方法,同时会介绍新添加进Wireshark版本2的智能滚动条功能,该功能对识别流量模式和协议的运作方式非常有帮助。 最后,会以对Wireshark模板(pro...

人邮异步社区 8853

用python实现wireshark的follow tcp stream功能

长话短说,wireshark有一个follow tcp stream功能,这个功能很方便。美中不足的是提取出的stream 数据没有时间戳等其他信息,在分析数据的延时和丢包问题时就有些力不从心了。这里简单用python实现了一个简单follow tcp stream功能,同时保留了tcp信息。 原理很简单,仍然是基于wireshark,里面有一个Export packet dissect

crylearner的专栏 1万+
上一篇: 一个for mac os x 的 usb无线驱动的开发流程
下一篇: 使用twitter app原生接口登录(Native)
aerror
博客等级 码龄23年 393粉丝 193原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址