检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:谢本壹 张福新[1,2] XIE Benyi;ZHANG Fuxin(State Key Laboratory of Processors,Institute of Computing Technology,Chinese Academy of Sciences,Beijing 100190;University of Chinese Academy of Sciences,Beijing 100049)
机构地区:[1]中国科学院计算技术研究所处理器芯片全国重点实验室,北京100190 [2]中国科学院大学,北京100049
出 处:《高技术通讯》2025年第2期124-133,共10页Chinese High Technology Letters
基 金:中国科学院战略性先导科技专项(XDC05020100)资助项目。
摘 要:打印机驱动匮乏长期困扰着全球Linux桌面用户。在办公环境中存在大量老旧打印机,这些打印机通常只支持X86 Windows的打印机驱动。然而,国产计算机平台普遍使用Linux操作系统,且存在多种非X86指令集。在信息技术应用创新的背景下,迫切需要解决在国产计算机平台上复用这些老旧打印机的问题。现有方法采用系统级二进制翻译运行Windows操作系统进行打印,存在效率低下且需额外授权的不足。为此,本文提出了一种基于用户级兼容技术的打印机驱动迁移方法,高效地将X86 Windows打印机驱动迁移至国产计算机平台。该方法由操作系统兼容层和用户级二进制翻译两部分组成。操作系统兼容层负责将打印机驱动相关的系统库调用转换成宿主操作系统的调用,用户级二进制翻译负责将X86指令翻译成宿主中央处理器(central processing unit,CPU)的指令。由于无需运行Windows操作系统,本文提出的迁移方法相较于系统级二进制翻译的方法更为高效且无额外授权成本。实验结果表明,采用本方法打印相同内容比系统级二进制翻译方法快10倍左右。该方法已成功应用于搭载了龙芯CPU的国产计算机平台,其可行性和稳定性已得到市场的检验。The lack of printer drivers has been a longstanding issue for global Linux desktop users.In office environ-ments,numerous outdated printers are in use,typically supporting only X86 Windows printer drivers.However,domestically manufactured computer platforms commonly use Linux and various non-X86 instruction set architec-ture.Against the backdrop of information technology innovation,there is an urgent need to efficiently migrate these outdated devices to domestically manufactured computer platforms.Existing methods involve running the Windows through system-level binary translation for printing,resulting in low efficiency and high license costs.To address these issues,this paper proposes a printer driver migration method based on user-level compatibility technologies,aiming to efficiently migrate X86 Windows printer drivers to domestically manufactured computer platforms.This method consists of two parts:the operating system(OS)compatibility layer and user-level binary translator.The OS compatibility layer is responsible for converting system library call related to printer drivers into calls compatible with the host OS.In addition,user-level binary translator is responsible for translating X86 instructions into instruc-tions of the host central processing unit(CPU).Since it does not require running Windows,the proposed migration method is more efficient and incurs no additional license costs compared to the system-level binary translation meth-od.Experimental results indicate that using this method to print the same content is approximately 10 times faster than the system-level binary translation method.Furthermore,this method has been successfully applied to domesti-cally manufactured computer platforms equipped with Loongson CPUs,demonstrating its feasibility and stability in the market.
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15