Dynamic Virtual Channels

YOLOv26算法优化:无人机高速目标检测实战 目标检测是计算机视觉的核心技术,通过深度学习模型实现物体定位与分类。YOLO系列算法因其高效的单阶段检测架构广受欢迎,但在无人机空对空场景面临小目标漏检、运动模糊等挑战。通过引入跨阶段注意力机制和动态标签分配策略,可显著提升高速运动目标的检测精度。在工程实践中,结合TensorRT量化和内存优化技术,能在Jetson等边缘设备实现实时推理。该技术特别适用于无人机集群、空中安防等需要处理动态小目标的场景,其中YOLOv26的改进方案将mAP提升至89.7%,为行业提供了可靠的解决方案。 阅读详情

 

http://www.brianmadden.com/news/43

http://blogs.msdn.com/ts/pages/ts-teleport-sample-instructions.aspx

 

http://www.codeproject.com/KB/system/TSAddinInCS.aspx

 

An important goal of the Terminal Services (TS) team is to provide a product that can easily be extended by third parties to better meet their needs.  While TS has always supported virtual channels, they had their limitations, including the limited number of channels and the difficulty involved in writing virtual channel applications.  For the 6.1 version of the client, and Windows Vista SP1 or Windows Server 2008 on the server side, Dynamic Virtual Channels (DVCs) can be used. DVCs address the limitations of the old virtual channels.  This article outlines the basics of DVCs and shows how to write a complete DVC application and client plug-in to add basic file transfer support to Terminal Services.

DVC Basics

What are Virtual Channels?

Virtual channels are bi-directional connection streams provided through the RDP protocol. Virtual channels allow third parties to establish a data pipe between the TS client and server to extend the functionality of the Remote Desktop Protocol (RDP). Examples of extra functionality provided through virtual channels are cross-TS-connection clipboard, drive, printer and smart card redirection. There are two types of virtual channels: static and dynamic. Due to the limitations of static virtual channels referenced above, dynamic virtual channels are the preferred way to extend TS functionality.

Client and Server DVC components

On the TS client side the DVC is handled through a TS client plug-in. This plug-in is a COM object, whose registered CLSID is passed to the TS client through the registry (see the attached sample). The COM object must implement the IWTSPlugin interface. On the server side any arbitrary component running in the current session can use the WTS API to establish the DVC connection, as well as send and receive data.

Channel Initialization and Usage
Client Side

1) The TS client loads the DVC plug-ins from the registry:

HKCU/Software/Microsoft/Terminal Server Client/Default/AddIns

2) The TS client invokes the Initialize() method on IWTSPlugin; and passes an IWTSVirtualChannelManager

HRESULT CTsClientPlgn::Initialize(

IWTSVirtualChannelManager *pChannelMgr

)

3) During initialization, or at any arbitrary point, the plug-in is expected to use the IWTSVirtualChannelManager to create a connection listener and pass an IWTSListenerCallback

hr = pChannelMgr->CreateListener(TSTELE_CHANNEL_NAME,

0,

pListenerCallback,

&pListener);

4) IWTSListenerCallback is notified of connection requests on the channel; IWTSListenerCallback receives an IWTSVirtualChannel for every new connection and returns a corresponding IWTSVirtualChannelCallback

HRESULT CTsListenerCallback::OnNewChannelConnection(

IWTSVirtualChannel *pChannel,

BSTR data,

BOOL *pbAccept,

IWTSVirtualChannelCallback **ppCallback )

{

*pbAccept = TRUE;

_pChannelCallback->AddRef();

*ppCallback = _pChannelCallback;

pChannel->AddRef();

_pChannel = pChannel;

5) The plug-in uses the IWTSVirtualChannel to write to and close the channel

hr = _pChannel->Write(sizeof(HRESULT), (PBYTE) &hr, NULL);

hr = _pChannel->Close();

6) The plug-in receives incoming data and channel close notifications on the IWTSVirtualChannelCallback

HRESULT CTsChannelCallback::OnDataReceived(

ULONG cbSize,

BYTE *pBuffer

);

HRESULT CTsChannelCallback::OnClose();

Server Side

1) An application issues a WTSVirtualChannelOpenEx with the WTS_CHANNEL_OPTION_DYNAMIC flag to establish the DVC connection.

hWTSHandle = WTSVirtualChannelOpenEx(

WTS_CURRENT_SESSION,

TSTELE_CHANNEL_NAME,

WTS_CHANNEL_OPTION_DYNAMIC);

2) Using the WTS handle received from the previous call a WTSVirtualChannelQuery is used to get a read/write file handle for the channel

NOTE: DuplicateHandle() is needed to be able to access the channel after freeing hWTSHandle (i.e. calling WTSVirtualChannelClose()). The output handle from DuplicateHandle() needs to be closed using CloseHandle().

BOOL bSucc = WTSVirtualChannelQuery(

hWTSHandle,

WTSVirtualFileHandle,

&vcFileHandlePtr,

&len);

...

HANDLE hWTSFileHandle = *(HANDLE *)vcFileHandlePtr;

...

bSucc = DuplicateHandle(

GetCurrentProcess(),

hWTSFileHandle,

GetCurrentProcess(),

&_hDVC,

0,

FALSE,

DUPLICATE_SAME_ACCESS);

3) Overlapped ReadFile() and WriteFile() calls are issued on the channel file handle

bRet = ReadFile(_hDVC, ReadBuf, CHANNEL_PDU_LENGTH, &BytesRead, &ovr);

bRet = WriteFile(_hDVC, pPacket, RequiredLen, &BytesWrit, &ovr);

4) To close the connection the channel file handle is closed

CloseHandle(_hDVC);

Sample: TS-Teleport

TS-Teleport is a sample application to demonstrate the end to end use of the DVC APIs. It implements a simple protocol to transport files from the TS server session to the desktop of the client machine. It does not rely on similar TS functionality like drive redirection.

dvc

The server component is a shell extension that adds an “RDP Client Desktop” entry to the “Send To” context menu. Upon receiving the list of highlighted files which the user elected to “Send to the RDP Client Desktop”, the shell extension opens the DVC and streams the files through. Upon receiving the file names and data, the client component creates those files and directories on the desktop.

The server sends a series of state dependent requests to the client by writing on the DVC and for each request it reads the status through a DVC read. Requests are start and end pairs for files and directories and data packets for file data.

Sample Files and Instructions

Please follow the link below to access sample files and instructions, including source code and installation how-to.

http://blogs.msdn.com/ts/pages/ts-teleport-sample-instructions.aspx

Author: Ahmed Tolba (SDE TS Devices Team)

Credits: Eric Holk, Zardosht Kasheff, Josh Rosenberg and the rest of the TS Devices Team

AI开发成本优化:从开源工具链到工程化实践 AI开发成本优化是当前企业数字化转型中的关键技术挑战。从技术原理来看,成本主要来源于算力资源、数据管理和模型部署等核心环节。通过采用开源工具链和工程化实践,企业可以显著降低AI项目总体成本。TensorFlow、PyTorch等开源框架提供了成熟的算法实现,而MLflow、Kubeflow等工具则实现了模型版本管理和自动化训练流水线。在工程实践中,模型量化技术可以将FP32模型转换为INT8格式,减少75%的模型大小并提升推理速度2-3倍。分布式训练优化则通过Horovod等框架实现数据并行,大幅缩短大模型 阅读详情

相关推荐

C# WinForm CAN 上位机开发:3步连接Kvaser卡与电机握手通信

本文详细解析了使用C# WinForm开发CAN上位机应用的全流程,重点介绍如何通过Kvaser CAN卡实现与电机设备的握手通信。内容涵盖硬件连接规范、CAN通信核心模块实现、WinForm界面设计以及高级功能扩展,为工业自动化开发者提供从零开始的实战指导。

weixin_30627341的博客 468

Linux TCP协议栈定时器走读

导语:TCP协议栈是事件驱动的,如果说TCP的拥塞算法是tcp协议栈的心脏,那么tcp协议栈的定时器则是tcp协议栈的心跳。1. 数据结构TCP协议栈的定时器众多,也异常复杂,在这里主要简单走一遍tcp协议栈的定时器机制。N.Wirth曾说:程序=数据结构+算法。某大牛曾说:好的数据结构设计是程序成功的一半。首先来看一下定时器的数据结构:struct timer_list //include

Al_xin的专栏 7099

A Dynamic Virtual Channel Regulator for Network-on-Chip Router

这是在ieee上的一篇会议文档 。是现在share buffer的鼻祖

Change IP address_Auto log in to Netgear Router to Crawling an available IP w xpath_REG_SZ_WinError5

Use urllib to login in to the Netgear router import urllib user = 'admin' pwd = 'LlQ54951' host = '192.168.1.1' url = 'http://' + host passman = urllib.request.HTTPPasswordMgrWithDefaultRealm() passman.add_password(None, host, user, pwd) authhandler =

Linli522362242的专栏 1238

永磁同步电机控制笔记:foc控制原理通俗讲义

引言 到此为止,永磁同步电机控制相关文章已经写了7篇,其中simulink仿真系列文章5篇,控制笔记系列文章2篇,恍惚间感觉少了一篇概论,在此插入一篇,也算是对入坑电机控制一年半来的知识梳理。 文章目录引言一、同步电机是怎么转起来的二、什么样的旋转磁场效率最高三、怎么精准控制旋转磁场的方向四、怎样调节dq轴电流 一、同步电机是怎么转起来的 永磁同步电机结构如下: 外围是定子绕组,中间为永磁体,设...

搞电机的博客 2万+

LatentSync:开源数字人唇形同步技术的实战部署与优化指南

本文详细介绍了开源数字人唇形同步工具LatentSync的实战部署与优化全流程。从核心原理(潜在扩散模型与TREPA技术)解析,到手把手完成环境搭建、模型获取及首次推理。文章深入探讨了自定义素材处理、关键参数调优(如guidance_scale),并提供了显存不足、人脸检测失败等常见问题的解决方案与性能优化技巧,旨在帮助用户高效部署并提升生成效果。

9o8p7i6u5y的博客 1009

NTFS文件系统是怎么工作的

 A file system is a required part of the operating system that determines how files are named, stored, and organized on a volume. A file system manages files and folders, and the information needed

软体疯子专栏 4318

BPMN2.0规范及流程引擎选型方案

本文主要简明扼要的介绍了BPMN2.0规范的内容,可让读者快速度的了解BPMN2.0所涵盖的主要内容和图形样式。也较为详细的阐述了如何绘制标准的流程图,以及在软件层面中如何实现业务流程功能,和技术选型。

比特桃 1万+

How one VBA project can use an object declared in the class module of another project

from: http://www.digitalsupporttech.com/mskb/555/555159_How_to_use_a_class__object__from_outside_of_the_VBA_project_in_which_it_is_declared.htm  How one VBA project can use an object declared

大头客的专栏 1353

ROS2_IGH方案配置(二)——Ubuntu22.04 实时内核性能验证与调优

本文详细介绍了在Ubuntu22.04系统上配置ROS2_IGH方案时,如何验证和调优PREEMPT_RT实时内核性能。通过使用cyclictest工具进行基准测试和压力测试,分析中断与硬件延迟,并优化内核参数,确保系统满足工业控制领域对硬实时性的苛刻要求。文章还提供了针对ROS2的特殊优化建议和性能监控方案,帮助开发者实现毫秒级延迟的稳定控制。

weixin_30791095的博客 226

【无机纳米材料科研制图——OriginLab 0205】Origin对BET吸附/脱附曲线及孔径分布制图...

此篇,我们来分享如何对BET数据进行处理和制图。 一、等温吸脱附曲线绘制 1)找到等温吸脱附文件。 一半来说,对一个样品测一次BET,会产生很多数据,具体因仪器而异。我这里的数据主要有两个文件夹,一个脱附,一个吸附,吸附文件夹中多了一个等温吸脱附的文件夹。而这...

XD_Yangf的博客 808

60 Linux 常用 命令

1. Command: ls The command “ls” stands for (List Directory Contents), List the contents of the folder, be it file or folder, from which it runs. root@tecmint:~# ls Android-Games

Calvin 的专栏 3万+

《Python Web项目集锦》-专栏介绍和目录

本专栏专注于Python Web项目,涉及内容包含FastAPI、Django、Flask等,所有项目代码完整且可直接运行。不管是零基础还是有经验的开发,相信都能从本专栏获益。有任何问题欢迎私聊博主,专栏持续更新中...

数据知道的博客 5225

Nitro 请求链路追踪实战:基于 Node diagnostics channels 的零依赖可观测性

Nitro 内置了一套基于 Node.js [diagnostics channels](https://nodejs.org/api/diagnostics_channel.html) 的请求生命周期追踪能力,无需接入 OpenTelemetry SDK 即可对 h3、srvx、unstorage 三类核心通道进行埋点,并通过内置控制台日志器把每个请求的 span 渲染成一条时间轴(waterf

gitblog_00265的博客 136

交换机四种光互联技术:OIO、OBO、NPO与CPO

在过去几十年里,数据中心交换机主要依赖电信号通过铜线进行数据传输。然而,随着数据传输速率从100Gbps向400Gbps、800Gbps甚至1.6Tbps迈进,传统电互联(Electrical Input & Output, EIO)面临三大瓶颈:信号衰减、功耗激增和空间限制。例如,高速信号在长距离铜线传输中会产生严重的信号失真,迫使设计者加入数字信号处理器(DSP)来补偿信号衰减,这进一步推高了功耗和成本。此外,传统可插拔光模块的体积较大,限制了端口密度,难以满足现代数据中心对高带宽密度的需求。

网络技术联盟站 3191

Python接入企业微信群机器人图文教程,实现恐贪指标自动触发微信消息提醒功能!Python 企业微信 群机器人 消息提醒 Webhook 企业微信接口

✅ 企业微信群机器人的添加方式;✅ 如何获取 Webhook 地址;✅ Python 如何用 requests 发消息;✅ 如何在实际业务中触发自动提醒;这种方式不仅适合个人开发者、测试人员,也适用于小团队、运维通知等场景,部署简单、触发灵活、响应及时!

代码简单说 Vue、JAVA、PHP、Node.js 熟练运用,接口、架构、性能全搞定。 921

轻量级网络救星?动态卷积(Dynamic/ODConv)在移动端模型部署中的实测与优化心得

本文深入探讨了动态卷积(Dynamic/ODConv)技术在移动端模型部署中的实际应用与优化策略。通过对比实验和实战案例,分析了动态卷积在轻量级网络中的性能提升与硬件适配挑战,提供了针对不同平台的部署优化方案,帮助开发者在精度与效率之间找到最佳平衡点。

weixin_30735745的博客 423

C# WinForm 基于DirectShow.dll编写的程序,可边预览边保存视频,音频和图片

基于微软的DirectShow.dll的二次开发1.自动识别连接的摄像头跟麦克风且可以对其进行选择(默认选中第一个)2.可录制wmv和avi两种格式的视频并且都带有音频,avi可以录制的分辨率和帧数进行选择,wmv默认进行了淸晰度优化如不喜欢可去除代码中有相关提示3.可在预览点开之后进行拍照,也可边录制视频边拍照4.添加了视频和音频的压缩功能(酌情使用)这次二次开发发现C#对DirectShow的相关信息太少,这次做完也不敢藏私共享出来,还望大家指正

Android Camera MIPI接口知识总结

Android Camera MIPI接口知识总结

汽车以太网和SOA 1万+

efm32 入门.pdf

本PDF共计22页,介绍的是操作驱动API,下载与否自己斟酌。

Probability and Statistics - 4th edition

Probability and Statistics - 4th edition

ALSA 专业术语 和 dai_link 分析

原因:dai_link 回答的问题是"

mapleay的博客 420

全球国家地区城市数据

MySQL全球国家地区城市数据报。。。。。。。。。。。。

Sirius动态过滤器:运行时计算谓词与自适应下推技术

在数据处理领域,查询性能优化一直是开发者关注的核心问题。随着数据量的爆炸式增长,传统的静态过滤技术已难以满足实时分析的需求。Sirius作为一款GPU原生SQL引擎,通过其创新的动态过滤器技术,实现了运行时计算谓词与自适应下推,为大数据查询带来了革命性的性能提升。 [![Sirius架构图展示动态过滤器在GPU原生SQL引擎中的位置](https://raw.gitcode.com/gh_mir

gitblog_00164的博客 440

C++插件架构实战:从设计原理到图像处理插件实现

模块化与扩展性是现代软件工程的核心概念,旨在通过解耦组件来提升系统的可维护性和灵活性。其技术原理基于面向接口编程和动态加载机制,通过定义稳定的抽象接口,实现功能单元的独立开发与部署。这种架构的技术价值在于显著降低了代码耦合度,支持功能的动态增删与热更新,从而提升开发效率和系统可维护性。在应用场景上,它广泛用于IDE扩展、游戏引擎、大型桌面应用及服务端中间件,允许第三方开发者在不修改核心代码的前提下集成新功能。本文聚焦于C++插件架构的工程实践,深入探讨了接口设计、动态库加载、生命周期管理等关键技术点,并提供

人生的意義在於修煉!修煉之路~ 494

C++ 知识补充

向量(vector)是一个封装了动态大小数组的顺序容器(SequenceContainer)。跟任意其它类型容器一样,它能够存放各种类型的对象。可以简单的认为,向量是一个能够存放任意类型的动态数组。C++中map提供的是一种键值对容器,里面的数据都是成对出现的,如下图:每一对中的第一个值称之为关键字(key),每个关键字只能在map中出现一次;第二个称之为该关键字的对应值。

weixin_47059239的博客 2138

PyTorch C++ 神经网络模块(torch::nn)API 指南:从 Module 基类到自定义模型构建

`torch::nn` 是 PyTorch 为 C++ 提供的神经网络构建模块命名空间,与 Python 侧 `torch.nn` 一一对应,可用于在 C++ 中搭建模型、自定义层、将 Python 模型移植到 C++ 做生产级推理,乃至纯 C++ 完成端到端训练。本文将围绕 [torch::nn 官方 C++ API 文档](https://link.gitcode.com/i/d62a951d

gitblog_00633的博客 780

EVOLVE深度学习体数据压缩:原理、实战与性能优化指南

数据压缩是计算机科学中的基础技术,通过编码算法减少数据存储空间和传输带宽。其核心原理是利用数据的统计冗余和空间相关性,将信息用更紧凑的形式表示。在科学计算和工程实践中,高效的压缩技术能够显著降低存储成本并提升数据处理效率。随着深度学习的发展,基于神经网络的压缩方法在保持重建质量的同时实现了更高的压缩比。EVOLVE框架通过自适应可变速率编码和跨域知识迁移技术,针对体数据的空间特征进行优化,在医学影像和科学可视化等场景中展现出显著优势。该技术通过自动编码器架构实现端到端优化,结合注意力机制动态调整压缩策略,为

weixin_34161064的博客 356

CANN ClipByValue算子深度解析:数值裁剪在NPU加速计算中的实现与应用

在深度学习模型训练和推理过程中,数值稳定性是确保算法收敛性和模型性能的关键因素。华为CANN(Compute Architecture for Neural Networks)算子库中的ClipByValue算子作为数值裁剪的核心组件,能够在NPU硬件上高效实现张量元素的边界限制,防止梯度爆炸和数值溢出问题。本文将深入解析ClipByValue算子的技术原理、硬件优化实现、应用场景及性能优化策略。

gitblog_00138的博客 392
上一篇: 通俗的解释什么叫内网映射
下一篇: 如何查看window环境变量
dadalan
博客等级 码龄20年 428粉丝 770原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值