CN109977046A - A kind of I/O port distribution system and method based on the more physical extents of server - Google Patents
A kind of I/O port distribution system and method based on the more physical extents of server Download PDFInfo
- Publication number
- CN109977046A CN109977046A CN201910217025.XA CN201910217025A CN109977046A CN 109977046 A CN109977046 A CN 109977046A CN 201910217025 A CN201910217025 A CN 201910217025A CN 109977046 A CN109977046 A CN 109977046A
- Authority
- CN
- China
- Prior art keywords
- button
- port
- mostly
- uid
- switch
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/12—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
- G06F13/124—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine
- G06F13/126—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine and has means for transferring I/O instructions and statuses between control unit and main processor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Programmable Controllers (AREA)
Abstract
Description
技术领域technical field
本发明属于服务器技术领域,尤其涉及一种基于服务器多物理分区的IO端口分配系统及方法。The invention belongs to the technical field of servers, and in particular relates to an IO port allocation system and method based on multiple physical partitions of a server.
背景技术Background technique
在高端8路及以上服务器的设计过程中,均会涉及一个整机多个物理分区的设计,例如将一个高端8路服务器进行物理分区,将其拆成两个4路服务器或是四个2路服务器并行使用,每个物理分区为一个独立的运行系统,可运行独立的业务系统,用户可根据自己的业务需求灵活配置使用。In the design process of high-end 8-way and above servers, the design of multiple physical partitions of a whole machine will be involved. For example, a high-end 8-way server is physically partitioned and split into two 4-way servers or four 2-way servers. Road servers are used in parallel, each physical partition is an independent operating system, which can run an independent business system, and users can flexibly configure and use according to their own business needs.
在服务器设计过程中,为了保证服务器易于前后维护,一般会在服务器前后窗分布预留通用常用的物理IO端口来满足人机交互需求,例如VGA/USB/System UART等接口,另外,前窗还会设计一些特殊的IO端口,例如光驱/人机交互液晶屏等。因此在多物理分区的设计需求下,必然会涉及到需要在服务器前窗设计多组物理IO端口,例如VGA/USB/SystemUART/光驱/人机交互液晶屏等,这样不仅会造成单物理分区配置下物理IO端口的严重浪费,过多的物理IO端口还会占用大量的前窗物理空间,给可放置前维护模块(例如硬盘)的数量、散热以及ID美观设计等带来负面影响。In the server design process, in order to ensure that the server is easy to maintain before and after, general and common physical IO ports are generally reserved in the front and rear windows of the server to meet the needs of human-computer interaction, such as VGA/USB/System UART and other interfaces. In addition, the front window also Some special IO ports will be designed, such as optical drive/human-computer interaction LCD screen, etc. Therefore, under the design requirements of multiple physical partitions, it will inevitably involve the need to design multiple groups of physical IO ports on the front window of the server, such as VGA/USB/SystemUART/CD-ROM/Human-computer interaction LCD screen, etc., which will not only cause a single physical partition configuration There is a serious waste of physical IO ports. Too many physical IO ports will also occupy a lot of physical space in the front window, which will have a negative impact on the number of front maintenance modules (such as hard disks) that can be placed, heat dissipation, and ID aesthetic design.
发明内容SUMMARY OF THE INVENTION
针对现有技术中的缺陷,本发明提供了一种基于服务器多物理分区的IO端口分配系统,旨在解决现有技术中前窗设置多组IO端口不仅会造成单物理分区配置下物理IO端口的严重浪费,过多的物理IO端口还会占用大量的前窗物理空间,给可放置前维护模块的数量、散热以及ID美观设计等带来负面影响的问题。Aiming at the defects in the prior art, the present invention provides an IO port allocation system based on multiple physical partitions of a server, aiming to solve the problem that setting multiple groups of IO ports on the front window in the prior art will not only cause physical IO ports in a single physical partition configuration Too many physical IO ports will also occupy a lot of physical space in the front window, which will negatively affect the number of front maintenance modules that can be placed, heat dissipation, and ID aesthetic design.
本发明所提供的技术方案是:一种基于服务器多物理分区的IO端口分配系统,包括UID按钮,所述UID按钮包括若干个按钮键,分别记为按钮键UID_1至按钮键UID_N,所述基于服务器多物理分区的IO端口分配系统还包括若干个多进一出切换器以及与所述UID按钮连接的可编程控制器,若干个所述多进一出切换器分别记为第一多进一出切换器至第N多进一出切换器,每一个所述多进一出切换器的多个信号输入端分别与每一个物理分区的同一种端口类型的信号线连接,输出端与前窗IO端口的对应类型的端口连接;The technical solution provided by the present invention is: an IO port allocation system based on multiple physical partitions of a server, including a UID button, the UID button includes a plurality of button keys, respectively denoted as button key UID_1 to button key UID_N, the The IO port distribution system for multiple physical partitions of the server also includes a plurality of MIMO switches and a programmable controller connected to the UID button, and the plurality of MIMO switches are respectively denoted as the first MIMO switches. From the output switch to the N-th multi-input-one-out switch, the multiple signal input terminals of each of the multi-input-one-out switches are respectively connected with the signal lines of the same port type of each physical partition, and the output terminal is connected to the front window. The corresponding type of port connection of the IO port;
每一个所述多进一出切换器的控制端分别与所述可编程控制器连接,所述可编程控制器接收用户在所述UID按钮上的按键操作所形成的按键操作指令,控制在与所述按键操作指令相对应的物理分区与其对应类型的端口之间建立通讯通道。The control end of each of the MIMO switchers is respectively connected to the programmable controller, and the programmable controller receives the key operation instruction formed by the user's key operation on the UID button, and controls the control between the user and the UID button. A communication channel is established between the physical partition corresponding to the key operation instruction and its corresponding type of port.
作为一种改进的方案,所述端口类型包括VGA、USB以及System UART。As an improved solution, the port types include VGA, USB and System UART.
作为一种改进的方案,所述可编程控制器包括:As an improved solution, the programmable controller includes:
按键操作指令接收模块,用于接收所述UID按钮输送至的按键操作指令;a key operation instruction receiving module, configured to receive the key operation instruction sent by the UID button;
指令解析模块,用于对所述按键操作指令接收模块接收到的所述按键操作指令进行解析,获取所述UID按钮的按键动作信息,所述按键动作信息包括当前按下的按键信息;an instruction parsing module, configured to parse the key operation instruction received by the key operation instruction receiving module, and obtain key action information of the UID button, where the key action information includes currently pressed key information;
切换器信息查找模块,用于根据所述指令解析模块解析得到的所述按键信息,从预先配置的按键信息与多进一出切换器之间的对应关系关联表中获取与获取到的按键信息相匹配的目标多进一出切换器;The switcher information search module is configured to obtain and obtain the keypress information from the preconfigured keypress information and the corresponding relationship table between the multi-input and one-out switchers according to the key-press information parsed by the instruction parsing module Matching target multi-input and one-out switch;
控制指令生成模块,用于当所述切换器信息查找模块查找到对应的目标多进一出切换器时,生成用于控制所述多进一出切换器开关动作的控制指令;a control instruction generation module, configured to generate a control instruction for controlling the switching action of the multiple-in-one-out switch when the switcher information search module finds a corresponding target multiple-in-one-out switch;
控制指令发送模块,用于将所述控制指令生成模块生成的控制指令发送给所述目标多进一出切换器,控制所述目标多进一出切换器在目标物理分区和对应类型的端口之间建立通讯通道。The control instruction sending module is used to send the control instruction generated by the control instruction generation module to the target MIMO switcher, and control the target MIMO switcher between the target physical partition and the port of the corresponding type. establish a communication channel.
作为一种改进的方案,所述可编程控制器还包括一用于保存预先配置生成的按键信息与多进一出切换器之间的对应关系关联表的存储器。As an improved solution, the programmable controller further includes a memory for storing the correspondence table between the key information generated by the pre-configuration and the MIMO switcher.
作为一种改进的方案,当用户在所述UID按钮上同时按下多个按钮键时,所述可编程控制器根据同时按下的多个所述按钮键所对应的优先级,生成优先级的控制指令,依次控制对应的多进一出切换器进行工作状态。As an improved solution, when the user simultaneously presses a plurality of button keys on the UID button, the programmable controller generates a priority according to the priorities corresponding to the plurality of simultaneously pressed button keys The control instructions, in turn control the corresponding multi-input and one-out switcher to work state.
本发明的另一目的在于提供一种基于基于服务器多物理分区的IO端口分配系统的基于服务器多物理分区的IO端口分配方法,所述方法包括下述步骤:Another object of the present invention is to provide an IO port allocation method based on multiple physical partitions of a server based on an IO port allocation system based on multiple physical partitions of a server, the method comprising the following steps:
当接收到用户在UID按钮上的按键操作时,所述UID按钮生成按键操作指令,并将生成的按键操作指令发送给所述可编程控制器;When receiving the user's key operation on the UID button, the UID button generates a key operation instruction, and sends the generated key operation instruction to the programmable controller;
所述可编程控制器接收用户在所述UID按钮上的按键操作所形成的按键操作指令,控制在与所述按键操作指令相对应的物理分区与其对应类型的端口之间建立通讯通道。The programmable controller receives a key operation instruction formed by a user's key operation on the UID button, and controls the establishment of a communication channel between the physical partition corresponding to the key operation instruction and its corresponding type of port.
作为一种改进的方案,所述可编程控制器接收用户在所述UID按钮上的按键操作所形成的按键操作指令,控制在与所述按键操作指令相对应的物理分区与其对应类型的端口之间建立通讯通道的步骤具体包括下述步骤:As an improved solution, the programmable controller receives a key operation instruction formed by the user's key operation on the UID button, and controls the connection between the physical partition corresponding to the key operation instruction and the port of the corresponding type. The steps of establishing a communication channel between the two include the following steps:
按键操作指令接收模块接收所述UID按钮输送至的按键操作指令;The key operation instruction receiving module receives the key operation instruction sent by the UID button;
指令解析模块对所述按键操作指令接收模块接收到的所述按键操作指令进行解析,获取所述UID按钮的按键动作信息,所述按键动作信息包括当前按下的按键信息;The instruction parsing module parses the key operation instruction received by the key operation instruction receiving module, and obtains key action information of the UID button, where the key action information includes currently pressed key information;
根据所述指令解析模块解析得到的所述按键信息,切换器信息查找模块从预先配置的按键信息与多进一出切换器之间的对应关系关联表中获取与获取到的按键信息相匹配的目标多进一出切换器;According to the key information parsed by the instruction parsing module, the switcher information search module obtains, from the pre-configured key information and the corresponding relationship table between the multi-input and one-out switchers, the key information that matches the obtained key information. Target multi-in-one-out switcher;
当所述切换器信息查找模块查找到对应的目标多进一出切换器时,控制指令生成模块生成用于控制所述多进一出切换器开关动作的控制指令;When the switcher information search module finds the corresponding target multiple-in-one-out switcher, the control instruction generation module generates a control instruction for controlling the switching action of the multiple-in-one-out switcher;
控制指令发送模块将所述控制指令生成模块生成的控制指令发送给所述目标多进一出切换器,控制所述目标多进一出切换器在目标物理分区和对应类型的端口之间建立通讯通道。The control command sending module sends the control command generated by the control command generation module to the target MIMO switch, and controls the target MIMO switch to establish communication between the target physical partition and the corresponding type of port aisle.
作为一种改进的方案,所述方法还包括下述步骤:As a kind of improved scheme, described method also comprises the following steps:
预先配置生成案件信息与多进一出切换器的对应关系关联表,并将其保存在存储器中。The correspondence table of the correspondence between the case information and the multiple-in-one-out switch is pre-configured and generated, and stored in the memory.
作为一种改进的方案,所述方法还包括下述步骤:As a kind of improved scheme, described method also comprises the following steps:
当用户在所述UID按钮上同时按下多个按钮键时,所述可编程控制器根据同时按下的多个所述按钮键所对应的优先级,生成优先级的控制指令,依次控制对应的多进一出切换器进行工作状态。When the user simultaneously presses a plurality of button keys on the UID button, the programmable controller generates priority control instructions according to the priorities corresponding to the plurality of simultaneously pressed button keys, and sequentially controls the corresponding The multi-in-one-out switcher is in working state.
在本发明实施例中,基于服务器多物理分区的IO端口分配系统包括UID按钮、若干个多进一出切换器以及可编程控制器,每一个多进一出切换器的多个信号输入端分别与每一个物理分区的同一种端口类型的信号线连接,输出端与前窗IO端口的对应类型的端口连接;每一个多进一出切换器的控制端分别与可编程控制器连接,可编程控制器接收用户在UID按钮上的按键操作所形成的按键操作指令,控制在与按键操作指令相对应的物理分区与其对应类型的端口之间建立通讯通道,从而实现前端IO端口的多物理分区的服用,避免每个服务器分区设计一套IO端口造成资源浪费的问题。In the embodiment of the present invention, the IO port distribution system based on multiple physical partitions of the server includes a UID button, a plurality of MIMO switches, and a programmable controller, and the multiple signal input ends of each MIMO switch are respectively It is connected with the signal line of the same port type of each physical partition, and the output end is connected with the corresponding type of port of the IO port of the front window; The controller receives the key operation command formed by the user's key operation on the UID button, and controls the establishment of a communication channel between the physical partition corresponding to the key operation command and its corresponding type of port, so as to realize the multi-physical partition of the front-end IO port. Take it to avoid the problem of resource waste caused by designing a set of IO ports for each server partition.
附图说明Description of drawings
为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍。在所有附图中,类似的元件或部分一般由类似的附图标记标识。附图中,各元件或部分并不一定按照实际的比例绘制。In order to illustrate the specific embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that are required to be used in the description of the specific embodiments or the prior art. Similar elements or parts are generally identified by similar reference numerals throughout the drawings. In the drawings, each element or section is not necessarily drawn to actual scale.
图1是本发明提供的基于服务器多物理分区的IO端口分配系统的结构框图;Fig. 1 is the structural block diagram of the IO port allocation system based on server multi-physical partition provided by the present invention;
图2是本发明提供的可编程控制器的结构框图;Fig. 2 is the structural block diagram of the programmable controller provided by the present invention;
图3是本发明提供的基于服务器多物理分区的IO端口分配方法的实现流程图;Fig. 3 is the realization flow chart of the IO port allocation method based on server multi-physical partition provided by the present invention;
图4是本发明提供的可编程控制器接收用户在所述UID按钮上的按键操作所形成的按键操作指令,控制在与所述按键操作指令相对应的物理分区与其对应类型的端口之间建立通讯通道的实现流程图;Fig. 4 is a programmable controller provided by the present invention receiving a key operation instruction formed by a user's key operation on the UID button, and controlling the establishment of a physical partition corresponding to the key operation instruction and its corresponding type of port. The realization flow chart of the communication channel;
其中,1-UID按钮,2-多进一出切换器,3-可编程控制器,4-前窗IO端口,5-物理分区,6-按键操作指令接收模块,7-指令解析模块,8-切换器信息查找模块,9-控制指令生成模块,10-控制指令发送模块,11-存储器。Among them, 1-UID button, 2-Multiple input and one output switch, 3-Programmable controller, 4-Front window IO port, 5-Physical partition, 6-Key operation command receiving module, 7-Command parsing module, 8 - switcher information search module, 9 - control command generation module, 10 - control command sending module, 11 - memory.
具体实施方式Detailed ways
下面将结合附图对本发明技术方案的实施例进行详细的描述。以下实施例仅用于更加清楚地说明本发明的、技术方案,因此只作为示例,而不能以此来限制本发明的保护范围。Embodiments of the technical solutions of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only used to more clearly illustrate the technical solutions of the present invention, and are therefore only used as examples, and cannot be used to limit the protection scope of the present invention.
图1示出了本发明提供的基于服务器多物理分区的IO端口分配系统的结构框图,为了便于说明,图中仅给出了与本发明实施例相关的部分。FIG. 1 shows a structural block diagram of an IO port allocation system based on multiple physical partitions of a server provided by the present invention. For convenience of description, only the parts related to the embodiments of the present invention are shown in the figure.
基于服务器多物理分区的IO端口分配系统包括UID按钮1,所述UID按钮1包括若干个按钮键,分别记为按钮键UID_1至按钮键UID_N,所述基于服务器多物理分区的IO端口分配系统还包括若干个多进一出切换器2以及与所述UID按钮1连接的可编程控制器3,若干个所述多进一出切换器2分别记为第一多进一出切换器至第N多进一出切换器,每一个所述多进一出切换器2的多个信号输入端分别与每一个物理分区的同一种端口类型的信号线连接,输出端与前窗IO端口4的对应类型的端口连接;The IO port allocation system based on multiple physical partitions of a server includes a UID button 1, and the UID button 1 includes several button keys, which are respectively denoted as button key UID_1 to button key UID_N. The IO port allocation system based on multiple physical partitions of a server also further Including a plurality of multiple-in-one-out switches 2 and a programmable controller 3 connected with the UID button 1, a number of the multiple-in-one-out switches 2 are respectively denoted as the first multiple-in-one-out switcher to the Nth Multiple-in-one-out switch, the multiple signal input terminals of each of the multiple-input-one-out switch 2 are respectively connected with the signal lines of the same port type of each physical partition, and the output terminal corresponds to the front window IO port 4 type of port connection;
每一个所述多进一出切换器2的控制端(SEL)分别与所述可编程控制器3连接,所述可编程控制器3接收用户在所述UID按钮1上的按键操作所形成的按键操作指令,控制在与所述按键操作指令相对应的物理分区与其对应类型的端口之间建立通讯通道。The control terminal (SEL) of each of the multiple-input-one-output switches 2 is respectively connected to the programmable controller 3 , and the programmable controller 3 receives the key operation formed by the user on the UID button 1 . The key operation instruction controls the establishment of a communication channel between the physical partition corresponding to the key operation instruction and its corresponding type of port.
其中,如图1所示,该服务器包含若干个物理分区5(图中以物理分区1,物理分区2,至物理分区n标记),每一个物理分区5的各个类型的端口信号线与对应的多进一出切换器2连接,从而实现通过一个多进一出切换器2控制若干个物理分区同一类型端口数据的交互。Among them, as shown in FIG. 1 , the server includes several physical partitions 5 (marked by physical partition 1, physical partition 2, to physical partition n in the figure), and each type of port signal line of each physical partition 5 corresponds to the corresponding The multiple-in-one-out switch 2 is connected, so as to realize the interaction of the same type of port data of several physical partitions controlled by one multiple-in-one-out switch 2 .
在该实施例中,所述端口类型包括VGA、USB以及System UART等,图1中给出的是VGA和USB两种类型,在此不用以限制本发明。In this embodiment, the port types include VGA, USB, and System UART, etc. FIG. 1 shows two types, VGA and USB, which are not intended to limit the present invention.
在该实施例中,根据端口类型不同,该多进一出切换器2可以采用对应类型的切换器,例如采用型号为QY-P0801GA的自动8进1出VGA切换器,采用启耀科技产的4进一出USB切换器,当然也可以采用其他型号,在此不再赘述。In this embodiment, according to different port types, the multi-input-one-output switch 2 can use a corresponding type of switch, for example, an automatic 8-input 1-output VGA switch with a model of QY-P0801GA, which is produced by Qiyao Technology. 4-in-1-out USB switch, of course, other models can also be used, so I won't repeat them here.
在该实施例中,如图2所示,可编程控制器3(CPLD)作为控制的核心部分,该可编程控制器3包括:In this embodiment, as shown in FIG. 2 , a programmable controller 3 (CPLD) is used as the core part of the control, and the programmable controller 3 includes:
按键操作指令接收模块6,用于接收所述UID按钮1输送至的按键操作指令;a key operation instruction receiving module 6, for receiving the key operation instruction sent by the UID button 1;
指令解析模块7,用于对所述按键操作指令接收模块接收到的所述按键操作指令进行解析,获取所述UID按钮1的按键动作信息,所述按键动作信息包括当前按下的按键信息;An instruction parsing module 7, configured to parse the key operation instruction received by the key operation instruction receiving module, and obtain the key action information of the UID button 1, where the key action information includes currently pressed key information;
切换器信息查找模块8,用于根据所述指令解析模块7解析得到的所述按键信息,从预先配置的按键信息与多进一出切换器2之间的对应关系关联表中获取与获取到的按键信息相匹配的目标多进一出切换器2;The switcher information search module 8 is configured to obtain and obtain from the preconfigured keypress information and the corresponding relationship table between the multi-input and one-out switcher 2 according to the key information parsed by the instruction parsing module 7 The key information matches the target multi-in-one-out switcher 2;
控制指令生成模块9,用于当所述切换器信息查找模块8查找到对应的目标多进一出切换器2时,生成用于控制所述多进一出切换器2开关动作的控制指令;The control instruction generation module 9 is used to generate a control instruction for controlling the switching action of the multiple-in-one-out switcher 2 when the switcher information search module 8 finds the corresponding target multiple-in-one-out switcher 2;
控制指令发送模块10,用于将所述控制指令生成模块9生成的控制指令发送给所述目标多进一出切换器2,控制所述目标多进一出切换器2在目标物理分区和对应类型的端口之间建立通讯通道。The control instruction sending module 10 is used to send the control instruction generated by the control instruction generation module 9 to the target multiple-in-one-out switcher 2, and control the target multiple-in-one-out switcher 2 in the target physical partition and corresponding A communication channel is established between ports of the type.
在该实施例中,该可编程控制器3内还包括一用于保存预先配置生成的按键信息与多进一出切换器2之间的对应关系关联表的存储器11。In this embodiment, the programmable controller 3 further includes a memory 11 for storing the correspondence table between the key information generated by the pre-configuration and the MIMO switcher 2 .
在该实施例中,该可编程控制器3可以采用MAX7000系列的器件,当然也可以采用其他型号的器件,在此不再赘述。In this embodiment, the programmable controller 3 can use devices of the MAX7000 series, and of course, other types of devices can also be used, which will not be repeated here.
在本发明实施例中,根据UID按钮1、多进一出切换器2以及端口的使用从属状态可以建立如下表格:In this embodiment of the present invention, the following table can be established according to the UID button 1, the multi-input-one-output switch 2, and the usage slave state of the port:
其中,在该表中,x为未按下状态,对应多进一出切换器2的控制端SEL对应的状态00、01、02、03为对应的按下对应按键时,对应的按键操作指令,即可编程控制所能接收到的指令信息,即按下对应的按钮键时,对应的物理分区会被激活,与端口之间建立通信连接。Among them, in this table, x is the unpressed state, and the corresponding states 00, 01, 02, and 03 of the control terminal SEL of the multi-input one-output switch 2 are the corresponding key operation instructions when the corresponding key is pressed. , which can be programmed to control the received instruction information, that is, when the corresponding button key is pressed, the corresponding physical partition will be activated, and a communication connection with the port will be established.
在本发明实施例中,当用户在UID按钮1上同时按下多个按钮键时,该可编程控制器3根据同时按下的多个所述按钮键所对应的优先级,生成优先级的控制指令,依次控制对应的多进一出切换器2进行工作状态;In the embodiment of the present invention, when the user simultaneously presses a plurality of button keys on the UID button 1, the programmable controller 3 generates a priority according to the priority corresponding to the plurality of said button keys simultaneously pressed. Control instructions, which in turn control the corresponding multi-in-one-out switcher 2 to work;
其中,该优先级的确认和划分可以根据物理分区的实际工作地位进行设置,在此不再赘述。Wherein, the confirmation and division of the priority may be set according to the actual working status of the physical partition, which will not be repeated here.
在该实施例中,通过复用每一个物理分区的UID按钮1,实现前窗IO端口的使用,解决多物理分区多组IO端口设计造成的IO端口资源利用率不高,并且还占用大量前窗物理空间导致前窗结构布局紧张(特别是在高密服务器设计时,此设计问题尤为突出)的问题。In this embodiment, by multiplexing the UID button 1 of each physical partition, the use of the front window IO port is realized, which solves the problem of low IO port resource utilization caused by the design of multiple physical partitions and multiple groups of IO ports, and also occupies a large amount of front The physical space of the window leads to the problem of the tight layout of the front window structure (especially in the design of high-density servers, this design problem is particularly prominent).
图3示出了本发明实施例提供的基于服务器多物理分区的IO端口分配方法的实现流程图,其具体包括下述步骤:Fig. 3 shows the realization flow chart of the IO port allocation method based on the server multi-physical partition provided by the embodiment of the present invention, and it specifically includes the following steps:
在步骤S101中,当接收到用户在UID按钮1上的按键操作时,所述UID按钮1生成按键操作指令,并将生成的按键操作指令发送给所述可编程控制器3;In step S101, when receiving a user's key operation on the UID button 1, the UID button 1 generates a key operation instruction, and sends the generated key operation instruction to the programmable controller 3;
在步骤S102中,所述可编程控制器3接收用户在所述UID按钮1上的按键操作所形成的按键操作指令,控制在与所述按键操作指令相对应的物理分区与其对应类型的端口之间建立通讯通道。In step S102, the programmable controller 3 receives a key operation instruction formed by the user's key operation on the UID button 1, and controls the connection between the physical partition corresponding to the key operation instruction and the port of the corresponding type. establish a communication channel.
其中,图4示出了本发明提供的可编程控制器3接收用户在所述UID按钮1上的按键操作所形成的按键操作指令,控制在与所述按键操作指令相对应的物理分区与其对应类型的端口之间建立通讯通道的实现流程图,其具体包括下述步骤:4 shows that the programmable controller 3 provided by the present invention receives the key operation instruction formed by the user's key operation on the UID button 1, and controls the physical partition corresponding to the key operation instruction corresponding to the key operation instruction. The flow chart of the realization of establishing a communication channel between ports of different types, which specifically includes the following steps:
在步骤S201中,按键操作指令接收模块接收所述UID按钮1输送至的按键操作指令;In step S201, the key operation instruction receiving module receives the key operation instruction sent by the UID button 1;
在步骤S202中,指令解析模块对所述按键操作指令接收模块接收到的所述按键操作指令进行解析,获取所述UID按钮1的按键动作信息,所述按键动作信息包括当前按下的按键信息;In step S202, the instruction parsing module parses the key operation instruction received by the key operation instruction receiving module, and obtains the key action information of the UID button 1, where the key action information includes the currently pressed key information ;
在步骤S203中,根据所述指令解析模块解析得到的所述按键信息,切换器信息查找模块从预先配置的按键信息与多进一出切换器2之间的对应关系关联表中获取与获取到的按键信息相匹配的目标多进一出切换器2;In step S203, according to the key information parsed by the instruction parsing module, the switcher information search module obtains and obtains the corresponding relationship table from the preconfigured key information and the multi-input one-output switch 2 The key information matches the target multi-in-one-out switcher 2;
在步骤S204中,当所述切换器信息查找模块查找到对应的目标多进一出切换器2时,控制指令生成模块生成用于控制所述多进一出切换器2开关动作的控制指令;In step S204, when the switcher information search module finds the corresponding target multiple-in-one-out switcher 2, the control instruction generation module generates a control instruction for controlling the switching action of the multiple-in-one-out switcher 2;
在步骤S205中,控制指令发送模块将所述控制指令生成模块生成的控制指令发送给所述目标多进一出切换器2,控制所述目标多进一出切换器2在目标物理分区和对应类型的端口之间建立通讯通道。In step S205, the control instruction sending module sends the control instruction generated by the control instruction generating module to the target MIMO switcher 2, and controls the target MIMO switcher 2 in the target physical partition and the corresponding A communication channel is established between ports of the type.
其中,在执行上述步骤S201之前还需要执行下述步骤:Wherein, before performing above-mentioned step S201, also need to carry out the following steps:
预先配置生成案件信息与多进一出切换器2的对应关系关联表,并将其保存在存储器中。An association table of the correspondence between the case information and the multiple-in-one-out switch 2 is pre-configured and generated, and stored in the memory.
在本发明实施例中,当用户在所述UID按钮1上同时按下多个按钮键时,所述可编程控制器3根据同时按下的多个所述按钮键所对应的优先级,生成优先级的控制指令,依次控制对应的多进一出切换器2进行工作状态。In the embodiment of the present invention, when the user simultaneously presses multiple button keys on the UID button 1, the programmable controller 3 generates a The priority control command controls the corresponding multi-input-one-output switch 2 to work in turn.
在本发明实施例中,基于服务器多物理分区的IO端口分配系统包括UID按钮1、若干个多进一出切换器2以及可编程控制器3,每一个多进一出切换器2的多个信号输入端分别与每一个物理分区的同一种端口类型的信号线连接,输出端与前窗IO端口的对应类型的端口连接;每一个多进一出切换器2的控制端分别与可编程控制器3连接,可编程控制器3接收用户在UID按钮1上的按键操作所形成的按键操作指令,控制在与按键操作指令相对应的物理分区与其对应类型的端口之间建立通讯通道,从而实现前端IO端口的多物理分区的服用,避免每个服务器分区设计一套IO端口造成资源浪费的问题。In the embodiment of the present invention, the IO port allocation system based on the multiple physical partitions of the server includes a UID button 1 , a plurality of MIMO switches 2 and a programmable controller 3 , and each MIMO switch 2 has a plurality of The signal input terminals are respectively connected with the signal lines of the same port type of each physical partition, and the output terminals are connected with the corresponding types of ports of the front window IO ports; connected to the controller 3, the programmable controller 3 receives the key operation instruction formed by the user's key operation on the UID button 1, and controls the establishment of a communication channel between the physical partition corresponding to the key operation instruction and its corresponding type of port, thereby realizing The use of multiple physical partitions for front-end IO ports avoids the problem of resource waste caused by designing a set of IO ports for each server partition.
以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围,其均应涵盖在本发明的权利要求和说明书的范围当中。The above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that the foregoing embodiments can still be used for The technical solutions described in the examples are modified, or some or all of the technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention. within the scope of the claims and description of the invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910217025.XA CN109977046A (en) | 2019-03-21 | 2019-03-21 | A kind of I/O port distribution system and method based on the more physical extents of server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910217025.XA CN109977046A (en) | 2019-03-21 | 2019-03-21 | A kind of I/O port distribution system and method based on the more physical extents of server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109977046A true CN109977046A (en) | 2019-07-05 |
Family
ID=67079886
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910217025.XA Pending CN109977046A (en) | 2019-03-21 | 2019-03-21 | A kind of I/O port distribution system and method based on the more physical extents of server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109977046A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101504598A (en) * | 2008-02-04 | 2009-08-12 | 宏正自动科技股份有限公司 | Multicomputer switcher |
CN102096479A (en) * | 2011-02-28 | 2011-06-15 | 浪潮电子信息产业股份有限公司 | SMBUS-based KVM switch with local and remote functions |
CN105703935A (en) * | 2014-11-27 | 2016-06-22 | 英业达科技有限公司 | Server system with function of automatic switching of shared network |
CN107220194A (en) * | 2017-05-24 | 2017-09-29 | 郑州云海信息技术有限公司 | A kind of partitioned allocation method of multipath server, device and multipath server |
CN109358757A (en) * | 2018-11-09 | 2019-02-19 | 加弘科技咨询(上海)有限公司 | Four node server KVM switchers and server based on divide by four circuit |
-
2019
- 2019-03-21 CN CN201910217025.XA patent/CN109977046A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101504598A (en) * | 2008-02-04 | 2009-08-12 | 宏正自动科技股份有限公司 | Multicomputer switcher |
CN102096479A (en) * | 2011-02-28 | 2011-06-15 | 浪潮电子信息产业股份有限公司 | SMBUS-based KVM switch with local and remote functions |
CN105703935A (en) * | 2014-11-27 | 2016-06-22 | 英业达科技有限公司 | Server system with function of automatic switching of shared network |
CN107220194A (en) * | 2017-05-24 | 2017-09-29 | 郑州云海信息技术有限公司 | A kind of partitioned allocation method of multipath server, device and multipath server |
CN109358757A (en) * | 2018-11-09 | 2019-02-19 | 加弘科技咨询(上海)有限公司 | Four node server KVM switchers and server based on divide by four circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104615401B (en) | One kind realizes KVM methods based on FPGA | |
CN102638398B (en) | Method for indicating port states and switch | |
CN101666838A (en) | Chip system and mode control method thereof | |
CN103475926A (en) | Input method implementation method and control system based on set top box equipment | |
CN104580934A (en) | Expansion method and device for multichannel video switchers | |
CN103019368A (en) | Method for intelligently switching local IO (input/output) node and KVM (K virtual machine) module | |
CN107220194A (en) | A kind of partitioned allocation method of multipath server, device and multipath server | |
CN101895544A (en) | Multi-user control method and multi-user control system for communication equipment and server | |
CN102169375A (en) | Method for switching control channel on KVM (K virtual machine) system | |
CN111030950B (en) | A kind of stack switch topology construction method and device | |
CN101739144A (en) | High-density extendible KVM monitoring system | |
CN110162287B (en) | Method and device for realizing VGA display of PCIE Box | |
CN104536917A (en) | Multifunctional storage-based dynamic configuration circuit applied to FPAA | |
CN101101510A (en) | Multi-computer switching device with expandability | |
CN109977046A (en) | A kind of I/O port distribution system and method based on the more physical extents of server | |
CN214480671U (en) | One-to-many communication circuit based on SPI communication | |
CN103744524A (en) | Novel KVM (K virtual machine) designing method | |
CN106301305A (en) | A kind of switching matrix drive circuit and method | |
CN116528091B (en) | Optical switching architecture | |
CN106374937A (en) | Circuit in which indicator lamps and keys sharing ports for control | |
CN103188102B (en) | A kind of method, Apparatus and system realizing communication equipment networking | |
CN101420373B (en) | Method for switching between two types of network packets and network apparatus therefor | |
CN102694719A (en) | Micro telecommunication computing architecture (micro TCA) system, carrier hub module and port configuration method of peripheral component interconnect (PCI)-E exchanger | |
CN100372250C (en) | Branch unit protection switching method and device | |
CN101141188B (en) | Implementation method and device of cross matrix in optical synchronous digital transmission system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190705 |