The invention discloses a method and device for multiplexing server interface, which relates to the technical field of debugging interface of server system. A method of server interface multiplexing disclosed in this paper includes: when the server receives the preset instruction of interface multiplexing, the internal selection switch corresponding to the multiplexing external function interface is selected to the internal debugging interface; the server establishes a connection with the peripheral through the internal debugging interface through the multiplexing external function interface to debug the system; and the system debugging is completed after debugging. The internal selection switch corresponding to the multiplexed external function interface is restored to the default internal function interface. The technical scheme of the invention can save the external interface, improve the utilization ratio of the interface, reduce the cost, switch and debug flexibly, and is convenient for product design, development and later maintenance.
【技术实现步骤摘要】
一种服务器接口复用的方法及装置
本专利技术涉及服务器系统调试接口
,特别涉及一种服务器接口复用的方法及装置。
技术介绍
在服务器系统中,各种功能复杂多样,各个功能进行调试和后期维护均需要调试接口,为了调试和维护方便,一般会在服务器机箱前后面板放置调试接口,常用的接口为Uart串口。但是,串口外部接口(DB9接口)尺寸较大,占用主板及机箱空间,限制了机箱和主板设计,并且由于在实际量产后调试较少,接口利用率较低,而串口连接器成本较高,又增加了产品成本。
技术实现思路
本专利技术公开了一种服务器接口复用的方法及装置,可以解决现有服务器中调试接口利用率低却成本高的问题。本专利技术公开了一种服务器接口复用的方法,包括:当服务器接收到预设的接口复用指令时,将复用的外部功能接口对应的内部选择开关选通到内部调试接口;所述服务器通过内部调试接口经由所述复用的外部功能接口与外设建立连接,进行系统调试;系统调试完成后,将复用的外部功能接口对应的内部选择开关恢复至默认的内部功能接口。可选地,上述方法中,所述预设的接口复用指令包括:预设的按键操作,以及预设的系统命令。可选地,上述方法中,所述内部调试接口包括如下任一种或几种接口:系统串口、I2C接口、联合测试工作组(JTAG)接口。可选地,上述方法中,所述复用的外部功能接口包括如下任一种或几种接口:通用串行总线(USB)接口,视频图形阵列(VGA)接口,网络接口。可选地,上述方法中,所述复用的外部功能接口为未使用的功能接口。本文还公开了一种服务器接口复用的装置,包括分别与外部功能接口、内部调试接口和内部功能接口均连接的内部选择开关 ...
【技术保护点】
1.一种服务器接口复用的方法,其特征在于,包括:当服务器接收到预设的接口复用指令时,将复用的外部功能接口对应的内部选择开关选通到内部调试接口;所述服务器通过内部调试接口经由所述复用的外部功能接口与外设建立连接,进行系统调试;系统调试完成后,将复用的外部功能接口对应的内部选择开关恢复至默认的内部功能接口。
【技术特征摘要】
1.一种服务器接口复用的方法,其特征在于,包括:当服务器接收到预设的接口复用指令时,将复用的外部功能接口对应的内部选择开关选通到内部调试接口;所述服务器通过内部调试接口经由所述复用的外部功能接口与外设建立连接,进行系统调试;系统调试完成后,将复用的外部功能接口对应的内部选择开关恢复至默认的内部功能接口。2.如权利要求1所述的方法,其特征在于,所述预设的接口复用指令包括:预设的按键操作,以及预设的系统命令。3.如权利要求1或2所述的方法,其特征在于,所述内部调试接口包括如下任一种或几种接口:系统串口、I2C接口、联合测试工作组JTAG接口。4.如权利要求3所述的方法,其特征在于,所述复用的外部功能接口包括如下任一种或几种接口:通用串行总线USB接口,视频图形阵列VGA接口,网络接口。5.如权利要求4所述的方法,其特征在于,所述复用的外部功能接口为未使用的功能接口。6.一种服务器接口复用的装置,其特征在于,包括分别与外部功能接口、内部...
【专利技术属性】
技术研发人员:董超,程鹏,
申请(专利权)人:郑州云海信息技术有限公司,
类型:发明
国别省市:河南,41
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。