TWM492465U - Multi-person operation control system implemented in single machine - Google Patents

Multi-person operation control system implemented in single machine Download PDF

Info

Publication number
TWM492465U
TWM492465U TW103209368U TW103209368U TWM492465U TW M492465 U TWM492465 U TW M492465U TW 103209368 U TW103209368 U TW 103209368U TW 103209368 U TW103209368 U TW 103209368U TW M492465 U TWM492465 U TW M492465U
Authority
TW
Taiwan
Prior art keywords
interface
virtual
network
operating system
virtual machine
Prior art date
Application number
TW103209368U
Other languages
Chinese (zh)
Inventor
Ming-Cheng Lin
Hung-Chou Lin
Pei-Feng Hunag
Original Assignee
Sunix Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Sunix Co Ltd filed Critical Sunix Co Ltd
Priority to TW103209368U priority Critical patent/TWM492465U/en
Publication of TWM492465U publication Critical patent/TWM492465U/en

Links

Landscapes

  • Computer And Data Communications (AREA)

Description

在單機中實現多人操作的控制系統Multi-person operation control system in a single machine

一種周邊裝置的控制系統,特別有關於一種在單機中實現多人操作的控制系統。A control system for a peripheral device, and more particularly to a control system for implementing multi-person operation in a single machine.

隨著計算機性能的快速提昇,使得計算機可以運行至少一個以上的虛擬機器(Virtual Machine)。而每一虛擬機器的硬體資源也可以由使用者自行設定。並且每一個虛擬機器可以運行各自獨立的作業系統。舉例來說,計算機具有虛擬機器A與虛擬機器B。虛擬機器A可以被分配單核心(single thread)、2Gigabytes記憶體、10 Gigabytes硬碟空間與Linux作業系統。虛擬機器可以被分配雙核心(dual thread)、4Gigabytes記憶體、50 Gigabytes硬碟空間與Windows作業系統。不同的使用者可以登入各自的虛擬機器,並在虛擬機器中執行相關的應用程式。With the rapid increase in computer performance, computers can run at least one virtual machine (Virtual Machine). The hardware resources of each virtual machine can also be set by the user. And each virtual machine can run its own separate operating system. For example, a computer has a virtual machine A and a virtual machine B. Virtual Machine A can be assigned single thread, 2Gigabytes memory, 10 Gigabytes hard disk space and Linux operating system. Virtual machines can be assigned dual threads, 4Gigabytes of memory, 50 Gigabytes of hard disk space and Windows operating systems. Different users can log in to their respective virtual machines and execute related applications in the virtual machine.

雖然不同的虛擬機器可以提供各自的服務,但是實體的硬體資源是無法讓多個使用者同時共用。以計算機的RS-232接口為例。實體的計算機的使用者一旦佔用RS-232接口,虛擬機器A與虛擬機器B就無法即時使用計算機所佔用的RS-232接口。對於計算機的其他控制介面也會面臨相同的問題。Although different virtual machines can provide their own services, the physical hardware resources cannot be shared by multiple users at the same time. Take the computer's RS-232 interface as an example. Once the user of the physical computer occupies the RS-232 interface, virtual machine A and virtual machine B cannot immediately use the RS-232 interface occupied by the computer. The same problem is faced with other control interfaces of the computer.

本新型提供一種在單機中實現多人操作的控制系統,可以實現多個使用者在同一計算機中操作各自的周邊裝置。The present invention provides a control system for realizing multi-person operation in a single machine, which enables multiple users to operate their respective peripheral devices in the same computer.

本新型的在單機中實現多人操作的控制系統包括橋接裝置與主控電腦。橋接裝置,具有第二網路接口與異質介面接口,異質介面接口連接第二周邊裝置;主控電腦,其係包括儲存單元、實體控制介面、第一網路接口與第一處理單元,第一處理單元電性連接於儲存單元、實體控 制介面與第一網路接口,儲存單元存儲主作業系統與虛擬機程序,實體控制介面電性連接於第一周邊裝置,第一網路接口連接橋接裝置的第二網路接口,第一處理單元運行主作業系統,主作業系統接收第一操作命令,由主作業系統透過實體控制介面驅動第一周邊裝置;其中,第一處理單元運行虛擬機程序並產生虛擬機器,在虛擬機器中運行虛擬作業系統,虛擬機程序將虛擬機器的虛擬網路接口映射至第一網路接口,虛擬作業系統中運行中介程序,中介程序用於偵測橋接裝置,並根據橋接裝置的種類對虛擬作業系統生成對應異質介面接口的虛擬控制介面,中介程序對所接收的第二操作命令轉換為網路封包,中介程序並透過第一網路接口驅動第二周邊裝置。The novel control system for realizing multi-person operation in a single machine includes a bridge device and a host computer. The bridge device has a second network interface and a heterogeneous interface interface, the heterogeneous interface interface is connected to the second peripheral device; the main control computer comprises a storage unit, a physical control interface, a first network interface and a first processing unit, first The processing unit is electrically connected to the storage unit and the entity control The interface is connected to the first network, the storage unit stores the main operating system and the virtual machine program, the physical control interface is electrically connected to the first peripheral device, and the first network interface is connected to the second network interface of the bridge device, the first processing The unit runs the main operation system, and the main operation system receives the first operation command, and the main operation system drives the first peripheral device through the physical control interface; wherein the first processing unit runs the virtual machine program and generates a virtual machine, and runs the virtual machine in the virtual machine. The operating system, the virtual machine program maps the virtual machine's virtual network interface to the first network interface, and the virtual operating system runs an intermediary program, the intermediary program is used to detect the bridge device, and generate the virtual operating system according to the type of the bridge device. Corresponding to the virtual control interface of the hetero interface interface, the mediator converts the received second operation command into a network packet, and the mediation program drives the second peripheral device through the first network interface.

本新型所提供的在單機中實現多人操作的控制系統可以降低計算機的設置成本與維護成本,並且在同一計算機上可以提供多位使用者進行各自的周邊裝置的操作。The control system provided by the present invention for realizing multi-person operation in a single machine can reduce the installation cost and maintenance cost of the computer, and can provide multiple users to operate the respective peripheral devices on the same computer.

有關本新型的特徵與實作,茲配合圖式作最佳實施例詳細說明如下。The features and implementations of the present invention are described in detail below with reference to the drawings.

100‧‧‧控制系統100‧‧‧Control system

110‧‧‧主控電腦110‧‧‧Master computer

111‧‧‧第一處理單元111‧‧‧First Processing Unit

112‧‧‧儲存單元112‧‧‧storage unit

113‧‧‧實體控制介面113‧‧‧ entity control interface

114‧‧‧第一網路接口114‧‧‧First network interface

120‧‧‧橋接裝置120‧‧‧Bridge device

121‧‧‧第二處理單元121‧‧‧Second processing unit

122‧‧‧第二網路接口122‧‧‧Second network interface

123‧‧‧異質介面接口123‧‧‧Heterogeneous interface

130‧‧‧第一周邊裝置130‧‧‧First peripheral device

140‧‧‧第二周邊裝置140‧‧‧Second peripheral device

151‧‧‧主作業系統151‧‧‧Main operating system

152‧‧‧中介程序152‧‧‧Intermediary procedures

153‧‧‧虛擬機程序153‧‧‧ virtual machine program

160‧‧‧終端設備160‧‧‧ Terminal equipment

300‧‧‧虛擬機器300‧‧‧Virtual Machine

310‧‧‧虛擬作業系統310‧‧‧Virtual Operating System

320‧‧‧虛擬網路接口320‧‧‧Virtual Network Interface

330‧‧‧虛擬控制介面330‧‧‧Virtual Control Interface

第1圖係為本新型的架構細部示意圖。Figure 1 is a schematic diagram of the architecture of the new model.

第2圖係為本新型的運作流程示意圖。Figure 2 is a schematic diagram of the new operational process.

第3A圖係為對第一周邊裝置的操作示意圖。Figure 3A is a schematic illustration of the operation of the first peripheral device.

第3B圖係為本新型的虛擬機器列表示意圖。Figure 3B is a schematic diagram of the new virtual machine list.

第4A圖係為本新型的客戶端透過終端設備連接虛擬機器與第二周邊裝置的架構示意圖。FIG. 4A is a schematic diagram of the architecture of the new client connecting the virtual machine and the second peripheral device through the terminal device.

第4B圖係為本新型的第二操作命令的傳輸流程示意圖。Figure 4B is a schematic diagram of the transmission flow of the second operation command of the present invention.

請參考第1A圖所示,其係為本新型的系統示意圖。本新型的控制系統100包括主控電腦110、橋接裝置120、第一周邊裝置130、第二周邊裝置140與終端設備160。主控電腦110電性連接於第一周邊裝置130。主控電腦110網路連接於橋接裝置120與終端設備160。Please refer to Figure 1A for a schematic diagram of the new system. The control system 100 of the present invention includes a main control computer 110, a bridge device 120, a first peripheral device 130, a second peripheral device 140, and a terminal device 160. The main control computer 110 is electrically connected to the first peripheral device 130. The main control computer 110 is networked to the bridge device 120 and the terminal device 160.

主控電腦110包括第一處理單元111、儲存單元112、實體控制介面113與第一網路接口114。第一處理單元111電性連接於儲存單元112、實體控制介面113與第一網路接口114。實體控制介面113電性連接於第一周邊裝置130。實體控制介面113的種類可以是但不限定為第二代個人系統接口(personal system/2,PS/2)、並列串口(parallel port)、序列串口(serial port)或數位輸入/輸出(digital I/O,D/IO)或通用異步收發傳輸器(Universal Asynchronous Receiver/Transmitter,UART)。舉例來說,第一周邊裝置130可能為條碼讀取機(barcode reader)、印表機、收銀台錢箱(cash box)或鍵盤等。The main control computer 110 includes a first processing unit 111, a storage unit 112, a physical control interface 113, and a first network interface 114. The first processing unit 111 is electrically connected to the storage unit 112, the physical control interface 113, and the first network interface 114. The physical control interface 113 is electrically connected to the first peripheral device 130. The type of the entity control interface 113 may be, but is not limited to, a second generation personal system interface (personal system/2, PS/2), a parallel serial port, a serial port, or a digital input/output (digital I). /O, D/IO) or Universal Asynchronous Receiver/Transmitter (UART). For example, the first peripheral device 130 may be a barcode reader, a printer, a cash box, a keyboard, or the like.

儲存單元112用於存儲主作業系統151(Operation System)、中介程序152(agent process)與虛擬機程序153(Virtual Machine program)。第一處理單元111運行主作業系統151。在主作業系統151的運行過程中,第一處理單元111另執行虛擬機程序153。虛擬機程序153用於生成至少一虛擬機器,而每一虛擬機器可以運行各自獨立的作業系統。對於虛擬機器所運行的作業系統在本新型中將其定義為虛擬作業系統。例如:虛擬處理器、虛擬記憶體、虛擬硬碟、虛擬控制介面與虛擬網路接口等。The storage unit 112 is configured to store a main operating system 151 (Operation System), an intermediary program 152 (agent process), and a virtual machine program 153 (Virtual Machine program). The first processing unit 111 runs the main operating system 151. During the operation of the main operating system 151, the first processing unit 111 additionally executes the virtual machine program 153. The virtual machine program 153 is used to generate at least one virtual machine, and each virtual machine can run its own separate operating system. The operating system for a virtual machine is defined in the present invention as a virtual operating system. For example: virtual processors, virtual memory, virtual hard disks, virtual control interfaces and virtual network interfaces.

虛擬作業系統啟動後,虛擬作業系統會運行中介程序152。中介程序152用於偵測橋接裝置120,並根據橋接裝置120的種類對虛擬作業系統生成對應異質介面接口123的虛擬控制介面。以及中介程序152對所接收的操作命令進行網路封包的拆解與轉換。關於中介程序152的詳細作動方式將於後文進行詳述。使用者可以藉由終端設備(terminal device)與網路的方式登入虛擬機器,並對虛擬作業系統上的相關軟體或硬體進行操作。所述的終端設備160可能為個人電腦、筆記型電腦、平板電腦或行動電話(mobile phone)等。對於登入虛擬機器的使用者而言,使用者所操作的作業環境與主作業系統151的相關環境是完全不同的。虛擬機器雖然是共用主控電腦110的硬體資源,但各虛擬機器的資源多寡可以由使用者自定。After the virtual operating system is started, the virtual operating system runs the mediator 152. The mediation program 152 is configured to detect the bridge device 120 and generate a virtual control interface corresponding to the heterogeneous interface interface 123 to the virtual operating system according to the type of the bridge device 120. And the mediation program 152 performs network packet parsing and conversion on the received operation command. The detailed operation of the intermediary program 152 will be described in detail later. The user can log in to the virtual machine by means of a terminal device and a network, and operate related software or hardware on the virtual operating system. The terminal device 160 may be a personal computer, a notebook computer, a tablet computer, or a mobile phone. For the user who logs in to the virtual machine, the operating environment operated by the user is completely different from the environment of the main operating system 151. Although the virtual machine is a hardware resource shared by the host computer 110, the amount of resources of each virtual machine can be customized by the user.

橋接裝置120包括第二處理單元121、第二網路接口122與異質介面接口123。第二處理單元121電性連接第二網路接口122與異質介面接口123。主控電腦110的第一網路接口114連接於橋接裝置120的第二 網路接口122。第一網路接口114(與第二網路接口122)的種類可以是但不限定為有線的乙太網路,也可以是無線網路(wireless network)。異質介面接口123電性連接於第二周邊裝置140。異質介面接口123的種類可以為PS/2、並列串口、序列串口或數位輸入/輸出或通用異步收發傳輸器。舉例來說,第二周邊裝置140可能為條碼讀取機、印表機、收銀台錢箱或鍵盤等。The bridge device 120 includes a second processing unit 121, a second network interface 122, and a heterogeneous interface interface 123. The second processing unit 121 is electrically connected to the second network interface 122 and the heterogeneous interface interface 123. The first network interface 114 of the main control computer 110 is connected to the second of the bridge device 120. Network interface 122. The type of the first network interface 114 (and the second network interface 122) may be, but not limited to, a wired Ethernet or a wireless network. The hetero interface interface 123 is electrically connected to the second peripheral device 140. The hetero interface interface 123 can be of the type of PS/2, parallel serial port, serial serial port or digital input/output or universal asynchronous transceiver. For example, the second peripheral device 140 may be a bar code reader, a printer, a checkout counter, a keyboard, or the like.

第二處理單元121將來自於主控電腦110的網路封包轉換為第二周邊裝置140的操作命令或識別資訊。或者,第二處理單元121將來自於第二周邊裝置140的回應訊息轉換為網路封包並傳回主控電腦110。在此將本新型中主控電腦110傳向橋接裝置120的網路封包定義為第一網路封包。而橋接裝置120傳向主控電腦110的網路封包則另定義為第二網路封包。The second processing unit 121 converts the network packet from the host computer 110 into an operation command or identification information of the second peripheral device 140. Alternatively, the second processing unit 121 converts the response message from the second peripheral device 140 into a network packet and transmits it back to the host computer 110. Here, the network packet transmitted by the host computer 110 to the bridge device 120 in the present invention is defined as a first network packet. The network packet transmitted by the bridge device 120 to the host computer 110 is further defined as a second network packet.

此外,為能識別不同使用者對於周邊裝置的操作。因此在本新型中分別指派兩使用者,分別為使用者A與使用者B。若是有兩台以上的虛擬機器,同時也可以由三名以上的使用者對主控電腦110與虛擬機器進行操作。使用者A可操作主控電腦110的主作業系統151與第一周邊裝置130。而使用者B可操作虛擬作業系統與第二周邊裝置140。在本新型中對於使用者A對第一周邊裝置130的操作命令定義為第一操作命令,使用者B對第二周邊裝置140的操作命令定義為第二操作命令。In addition, in order to be able to recognize the operation of different devices for peripheral devices. Therefore, in the present invention, two users are respectively assigned, namely, user A and user B. If there are two or more virtual machines, the master computer 110 and the virtual machine can be operated by three or more users at the same time. The user A can operate the main operating system 151 of the main control computer 110 and the first peripheral device 130. User B can operate the virtual operating system and the second peripheral device 140. In the present invention, an operation command for the user A to the first peripheral device 130 is defined as a first operation command, and an operation command of the user B for the second peripheral device 140 is defined as a second operation command.

本新型中主控電腦110傳向橋接裝置120的網路封包定義為第一網路封包。而橋接裝置120傳向主控電腦110的封包則另定義為第二網路封包。在本新型中所述的網路可以是網際網路(internet)也可以是區域網路(intranet)。而為方便說明,以下係以區域網路作為解說,但實際上熟悉本領域者可以將其技術應用在網際網路之中。請配合第2圖所示,其係為本新型的控制流程示意圖。本新型的控制流程包括以下步驟:步驟S210:主控電腦電性連接第一周邊裝置;步驟S220:主控電腦網路連接於橋接裝置,橋接裝置更電性連接第二周邊裝置;步驟S230:主控電腦中生成至少一虛擬機器,並在虛擬機器上運行虛擬作業系統; 步驟S240:虛擬機程序監控虛擬機器的網路傳輸,並將虛擬機器的虛擬網路接口轉發至第一網路接口;步驟S250:由主控電腦向第一周邊裝置發送第一操作命令或接收來自於第一周邊裝置所返回的回應訊息;步驟S260:虛擬機器將所接收的第二操作命令轉換為第一網路封包;步驟S270:虛擬機器透過虛擬網路接口與第一網路接口向第二周邊裝置發送具有第二操作命令的第一網路封包;步驟S280:第二周邊裝置執行第二操作命令,並輸出回應訊息至橋接裝置;步驟S290:橋接裝置根據連線通道的數量對回應訊息進行分段,並對每一分段的結果轉換並輸出為多個第二網路封包;以及步驟S300:將第二網路封包發送至虛擬機器。The network packet transmitted by the master computer 110 to the bridge device 120 in the present invention is defined as a first network packet. The packet transmitted by the bridge device 120 to the host computer 110 is further defined as a second network packet. The network described in the present invention may be either an internet or an intranet. For convenience of explanation, the following is based on the regional network, but in fact, those skilled in the art can apply their technology to the Internet. Please refer to Figure 2, which is a schematic diagram of the new control flow. The control flow of the present invention includes the following steps: Step S210: The main control computer is electrically connected to the first peripheral device; Step S220: the main control computer network is connected to the bridge device, and the bridge device is electrically connected to the second peripheral device; Step S230: Generating at least one virtual machine in the host computer and running the virtual operating system on the virtual machine; Step S240: The virtual machine program monitors the network transmission of the virtual machine, and forwards the virtual network interface of the virtual machine to the first network interface. Step S250: the first operation command is sent or received by the main control computer to the first peripheral device. The response message returned by the first peripheral device; step S260: the virtual machine converts the received second operation command into the first network packet; and step S270: the virtual machine interfaces with the first network through the virtual network interface The second peripheral device sends the first network packet with the second operation command; step S280: the second peripheral device executes the second operation command, and outputs a response message to the bridge device; step S290: the bridge device according to the number of connection channels The response message is segmented, and the result of each segment is converted and output as a plurality of second network packets; and step S300: the second network packet is sent to the virtual machine.

首先,將主控電腦110電性連接第一周邊裝置130。主控電腦110網路連接於橋接裝置,橋接裝置120更電性連接第二周邊裝置140。使用者A可以透過實體控制介面113對第一周邊裝置130進行操作。而第一周邊裝置130在完成操作後,也可以返回一回應訊息給主控電腦110,請參考第3A圖所示。First, the main control computer 110 is electrically connected to the first peripheral device 130. The main control computer 110 is connected to the bridge device, and the bridge device 120 is electrically connected to the second peripheral device 140. The user A can operate the first peripheral device 130 through the physical control interface 113. The first peripheral device 130 may also return a response message to the host computer 110 after completing the operation, as shown in FIG. 3A.

主控電腦110中生成至少一虛擬機器300,並在每一台虛擬機器300上運行各自的虛擬作業系統310。虛擬機程序153會根據使用者的設定,從而調派硬體資源給虛擬機器300。請參考第3B圖所示,其係為本新型的虛擬機器列表示意圖。舉例來說,虛擬機程序153會監控各台虛擬機器300的網路傳輸,並分時調用第一網路接口114給主控電腦110與各台虛擬機器300。虛擬機器300至少包括虛擬作業系統310、虛擬網路接口320與虛擬控制介面330。At least one virtual machine 300 is generated in the master computer 110, and a respective virtual operating system 310 is run on each virtual machine 300. The virtual machine program 153 dispatches hardware resources to the virtual machine 300 according to the settings of the user. Please refer to Figure 3B, which is a schematic diagram of the new virtual machine list. For example, the virtual machine program 153 monitors the network transmission of each virtual machine 300 and calls the first network interface 114 to the host computer 110 and each virtual machine 300 in a timely manner. The virtual machine 300 includes at least a virtual operating system 310, a virtual network interface 320, and a virtual control interface 330.

虛擬機器300啟動後,虛擬機器300會載入虛擬作業系統310。虛擬作業系統310會連帶運行中介程序152。而中介程序152可以是獨立的應用程序,也可以內建於虛擬作業系統310之中。中介程序152透過虛擬網路接口320與第一網路接口114用於偵測橋接裝置120是否存在。當橋接裝置120接獲設備搜尋命令後,橋接裝置120會返回對應的識別資 訊。識別資訊記錄橋接裝置120的串口種類、串口數量、第二周邊裝置140的種類或者是橋接裝置120的型號。After the virtual machine 300 is booted, the virtual machine 300 loads the virtual operating system 310. The virtual operating system 310 will run the intermediaries 152 in conjunction. The mediation program 152 can be a standalone application or can be built into the virtual operating system 310. The mediator 152 is used by the virtual network interface 320 and the first network interface 114 to detect the presence of the bridge device 120. After the bridge device 120 receives the device search command, the bridge device 120 returns the corresponding identification resource. News. The serial port type of the information recording bridge device 120, the number of serial ports, the type of the second peripheral device 140, or the model number of the bridge device 120 are identified.

中介程序152根據識別資訊生成虛擬控制介面330,而虛擬控制介面330係對應橋接裝置120的異質介面接口123。同時,中介程序152根據識別資訊,用於建立位址空間(address space)與多個連線通道(channel)。位址空間的大小是根據第二周邊裝置140的種類所決定。而連線通道的數量可根據第二周邊裝置140所決定,或者預設成固定數量。位址空間用於模擬第二周邊裝置140在連接虛擬機器300時的記憶體空間。中介程序152透過位址空間與多個連線通道用以模擬第二周邊裝置140與主控電腦110間的匯流排的傳輸方式。The mediator 152 generates a virtual control interface 330 based on the identification information, and the virtual control interface 330 corresponds to the hetero interface interface 123 of the bridge device 120. At the same time, the intermediation program 152 is used to establish an address space and a plurality of connection channels according to the identification information. The size of the address space is determined according to the type of the second peripheral device 140. The number of connection channels may be determined according to the second peripheral device 140, or may be preset to a fixed number. The address space is used to simulate the memory space of the second peripheral device 140 when the virtual machine 300 is connected. The intermediation program 152 is used to simulate the transmission mode of the bus bar between the second peripheral device 140 and the host computer 110 through the address space and the plurality of connection channels.

使用者B可以透過所述的終端設備160登入至虛擬機器300中,並操作虛擬作業系統310的相關硬體。使用者B可以從虛擬作業系統310中看到第二周邊裝置140的存在,請參考第4A圖所示。在第4A圖中實線所代表的是實體線路的連接,而虛線代表的是虛擬線路的連接。當使用者B透過虛擬機器300向第二周邊裝置140發出第二操作命令(或操作資料)時,中介程序152會對操作命令進行分段的處理,請配合第4B圖所示,其係為本新型的第二操作命令的傳輸流程示意圖。The user B can log in to the virtual machine 300 through the terminal device 160 and operate the related hardware of the virtual operating system 310. User B can see the presence of the second peripheral device 140 from the virtual operating system 310, as shown in FIG. 4A. In Fig. 4A, the solid line represents the connection of the physical line, and the dotted line represents the connection of the virtual line. When the user B issues a second operation command (or operation data) to the second peripheral device 140 through the virtual machine 300, the mediation program 152 performs segmentation processing on the operation command, as shown in FIG. 4B, which is Schematic diagram of the transmission process of the second operation command of the present invention.

在本新型中中介程序152會根據連線通道的數量對操作命令進行網路封包的分段處理。因此中介程序152會輸出與連線通道相同數量的分段結果。中介程序152根據切分後的操作命令進而取得對應的每一個資料偏移量(offset)。由於每一個資料偏移量所傳輸的順序受到控制,因此可以確保收發的兩方(虛擬機器300與第二周邊裝置140)都可以確認接收的順序。而此一方式可以透過硬體方式所實現,且硬體處理的速度相較於軟體層解析的速度更加來的有效率。In the present invention, the mediation program 152 performs segmentation processing of the network packet on the operation command according to the number of connection channels. The mediator 152 therefore outputs the same number of segmentation results as the wire channel. The mediator 152 further obtains each corresponding data offset (offset) based on the segmented operation command. Since the order in which each data offset is transmitted is controlled, it can be ensured that both the transmitting and receiving parties (virtual machine 300 and second peripheral device 140) can confirm the order of reception. This method can be implemented in a hardware manner, and the speed of hardware processing is more efficient than the speed of software layer analysis.

為能方便說明經過切分後的操作命令(或操控資料),將每一切分的部分定義為已切分區塊。中介程序152將已切分區塊與對應的資料偏移量透過連線通道依序的進行轉換為第一網路封包,並將第一網路封包發送給橋接裝置120。In order to facilitate the description of the segmented operation command (or manipulation data), each part of the division is defined as a sliced partition block. The mediator 152 converts the sliced partition block and the corresponding data offset into the first network packet sequentially through the connection channel, and sends the first network packet to the bridge device 120.

橋接裝置120將第一網路封包進行重組,並得到相應的第二 操作命令。橋接裝置120將第二操作命令發送至第二周邊裝置140。第二周邊裝置140執行第二操作命令後,第二周邊裝置140返回相應的回應訊息給橋接裝置120。橋接裝置120根據前述的切分處理將回應訊息轉換為多個第二網路封包。橋接裝置120將第二網路封包發送至對應的虛擬機器300。The bridging device 120 reassembles the first network packet and obtains a corresponding second Operational commands. The bridge device 120 transmits a second operational command to the second peripheral device 140. After the second peripheral device 140 executes the second operation command, the second peripheral device 140 returns a corresponding response message to the bridge device 120. The bridging device 120 converts the response message into a plurality of second network packets according to the aforementioned segmentation process. The bridging device 120 transmits the second network packet to the corresponding virtual machine 300.

本新型所提供的在單機中實現多人操作的控制系統可以降低計算機的設置成本與維護成本,並且在同一計算機上可以提供多位使用者進行各自的周邊裝置的操作。不同的使用者可以操作所屬的虛擬作業系統310,也可以控制各自虛擬作業系統310所屬的第二周邊裝置140。The control system provided by the present invention for realizing multi-person operation in a single machine can reduce the installation cost and maintenance cost of the computer, and can provide multiple users to operate the respective peripheral devices on the same computer. Different users can operate the associated virtual operating system 310 or control the second peripheral device 140 to which the respective virtual operating system 310 belongs.

雖然本新型以前述之較佳實施例揭露如上,然其並非用以限定本新型,任何熟習相像技藝者,在不脫離本新型之精神和範圍內,當可作些許之更動與潤飾,因此本新型之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。Although the present invention has been described above in terms of the preferred embodiments thereof, it is not intended to limit the present invention, and it is intended that those skilled in the art can make some modifications and refinements without departing from the spirit and scope of the present invention. The scope of the new patent protection shall be subject to the definition of the scope of the patent application attached to this specification.

100‧‧‧控制系統100‧‧‧Control system

110‧‧‧主控電腦110‧‧‧Master computer

111‧‧‧第一處理單元111‧‧‧First Processing Unit

112‧‧‧儲存單元112‧‧‧storage unit

113‧‧‧實體控制介面113‧‧‧ entity control interface

114‧‧‧第一網路接口114‧‧‧First network interface

120‧‧‧橋接裝置120‧‧‧Bridge device

121‧‧‧第二處理單元121‧‧‧Second processing unit

122‧‧‧第二網路接口122‧‧‧Second network interface

123‧‧‧異質介面接口123‧‧‧Heterogeneous interface

130‧‧‧第一周邊裝置130‧‧‧First peripheral device

140‧‧‧第二周邊裝置140‧‧‧Second peripheral device

151‧‧‧主作業系統151‧‧‧Main operating system

152‧‧‧中介程序152‧‧‧Intermediary procedures

153‧‧‧虛擬機程序153‧‧‧ virtual machine program

160‧‧‧終端設備160‧‧‧ Terminal equipment

Claims (6)

一種在單機中實現多人操作的控制系統,可同時提供多組的輸入/輸出周邊裝置進行操作,該控制系統包括:一橋接裝置,具有一第二網路接口與一異質介面接口,該異質介面接口連接一第二周邊裝置;以及一主控電腦,其係包括一儲存單元、一實體控制介面、一第一網路接口與一第一處理單元,該第一處理單元電性連接於該儲存單元、該實體控制介面與該第一網路接口,該儲存單元存儲一主作業系統與一虛擬機程序,該實體控制介面電性連接於一第一周邊裝置,該第一網路接口連接該橋接裝置的該第二網路接口,該第一處理單元運行該主作業系統,該主作業系統接收一第一操作命令,由該主作業系統透過該實體控制介面驅動該第一周邊裝置;其中,該第一處理單元運行該虛擬機程序並產生一虛擬機器,在該虛擬機器中運行一虛擬作業系統,該虛擬機程序將該虛擬機器的一虛擬網路接口映射至該第一網路接口,該虛擬作業系統中運行一中介程序,該中介程序用於偵測該橋接裝置,並根據該橋接裝置的種類對該虛擬作業系統生成對應該異質介面接口的一虛擬控制介面,該中介程序對所接收的一第二操作命令轉換為網路封包,該中介程序並透過該第一網路接口驅動該第二周邊裝置。 A control system for implementing multi-person operation in a single machine, which can simultaneously provide multiple sets of input/output peripheral devices for operation. The control system includes: a bridge device having a second network interface and a heterogeneous interface interface, the heterogeneity The interface interface is connected to a second peripheral device; and a main control computer includes a storage unit, a physical control interface, a first network interface and a first processing unit, wherein the first processing unit is electrically connected to the a storage unit, the physical control interface and the first network interface, the storage unit stores a main operating system and a virtual machine program, the physical control interface is electrically connected to a first peripheral device, and the first network interface is connected The second network interface of the bridge device, the first processing unit runs the main operating system, the main operating system receives a first operation command, and the main operating system drives the first peripheral device through the physical control interface; Wherein the first processing unit runs the virtual machine program and generates a virtual machine in which a virtual operating system is run, the virtual The machine program maps a virtual network interface of the virtual machine to the first network interface, and the virtual operating system runs a mediation program, the mediation program is configured to detect the bridge device, and according to the type of the bridge device The virtual operating system generates a virtual control interface corresponding to the hetero interface interface, and the mediator converts the received second operation command into a network packet, and the mediation program drives the second perimeter through the first network interface Device. 如請求項1所述之在單機中實現多人操作的控制系統,其中更包括一終端設備,該終端設備網路連接於該虛擬機器與該虛擬作業系統,該終端設備透過該虛擬作業系統向該第二周邊裝置發出該第二操作命令。 A control system for implementing multi-person operation in a single machine as described in claim 1, further comprising a terminal device, the terminal device being network-connected to the virtual machine and the virtual operating system, the terminal device transmitting to the virtual operating system The second peripheral device issues the second operational command. 如請求項1所述之在單機中實現多人操作的控制系統,其中該中介程序透過該第一網路接口發出一設備搜尋命令,該設備搜尋命令用於搜尋網路中的該橋接裝置,該橋接裝置接收該設備搜尋命令後,該橋接裝置向該虛擬機器發出一識別資訊。 The control system of claim 1, wherein the intermediary program sends a device search command through the first network interface, and the device search command is used to search for the bridge device in the network. After the bridging device receives the device search command, the bridging device sends an identification information to the virtual machine. 如請求項3所述之在單機中實現多人操作的控制系統,其中該中介程序根據所接收的該識別資訊建立一位址空間與多個連線通道,該連線通道用於傳輸一操作指令的一資料偏移量。 The control system for implementing multi-person operation in a single machine as described in claim 3, wherein the intermediation program establishes an address space and a plurality of connection channels according to the received identification information, and the connection channel is used for transmitting an operation. A data offset of the instruction. 如請求項4所述之在單機中實現多人操作的控制系統,其中該中介程序 根據該些連線通道對該第一操作命令分段並將每一分段封裝為一第一網路封包,該主控電腦透過該第一網路接口向該橋接裝置發送該些第一網路封包。 a control system for implementing multi-person operation in a single machine as described in claim 4, wherein the intermediary program And segmenting the first operation command according to the connection channels and packaging each segment into a first network packet, and the master computer sends the first network to the bridge device by using the first network interface Road packet. 如請求項4所述之在單機中實現多人操作的控制系統,該橋接裝置接獲該第二周邊裝置所返回的一回應訊息,該橋接裝置根據該些連線通道對該回應訊息分段並將分段結果輸出為多個第二網路封包,該橋接裝置將該些第二網路封包傳送至該主控電腦。 The control system for implementing multi-person operation in a single machine as described in claim 4, the bridge device receives a response message returned by the second peripheral device, and the bridge device segments the response message according to the connection channels. And outputting the segmentation result into a plurality of second network packets, and the bridging device transmits the second network packets to the main control computer.
TW103209368U 2014-05-27 2014-05-27 Multi-person operation control system implemented in single machine TWM492465U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103209368U TWM492465U (en) 2014-05-27 2014-05-27 Multi-person operation control system implemented in single machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103209368U TWM492465U (en) 2014-05-27 2014-05-27 Multi-person operation control system implemented in single machine

Publications (1)

Publication Number Publication Date
TWM492465U true TWM492465U (en) 2014-12-21

Family

ID=52577426

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103209368U TWM492465U (en) 2014-05-27 2014-05-27 Multi-person operation control system implemented in single machine

Country Status (1)

Country Link
TW (1) TWM492465U (en)

Similar Documents

Publication Publication Date Title
US10540312B2 (en) Scalable pooled NVMe storage box that comprises a PCIe switch further connected to one or more switches and switch ports
US10698717B2 (en) Accelerator virtualization method and apparatus, and centralized resource manager
JP6571161B2 (en) Method, apparatus, and system for exploring application topology relationships
EP3242217B1 (en) Systems and methods for flexible hdd/ssd storage support
CN1906573B (en) System and method for supporting multiple users
CN103250395B (en) Asynchronous virtual machine clone method and device
US20210216488A1 (en) Data transmission method and apparatus used in virtual switch technology
US9400671B2 (en) Computer host with a baseboard management controller to manage virtual machines
EP3255553B1 (en) Transmission control method and device for direct memory access
US7970852B2 (en) Method for moving operating systems between computer electronic complexes without loss of service
WO2017041398A1 (en) Data transmission method and device
US20120167081A1 (en) Application Service Performance in Cloud Computing
US11201836B2 (en) Method and device for managing stateful application on server
US8856385B1 (en) Image display method and apparatus
US9654421B2 (en) Providing real-time interrupts over ethernet
US11237881B2 (en) Message connector as a service to migrate streaming applications into cloud nativity
CN103092676A (en) Analog input output method, device and system of virtual machine cluster
WO2014179637A1 (en) End-to-end classification of storage traffic streams
US10700978B2 (en) Offloading at a virtual switch in a load-balanced group
TWI592874B (en) Network server system
TWI534623B (en) A control system and the method for multiple users uses respective the input device on the same computer therefore
CN109656467B (en) Data transmission system of cloud network, data interaction method and device and electronic equipment
CN104090650A (en) Control system for multi-user operation in single computer, and control method for multi-user operation in single computer
TWM492465U (en) Multi-person operation control system implemented in single machine
KR101659580B1 (en) Apparatus and Method for Providing Virtual Desktop Infratructure

Legal Events

Date Code Title Description
MM4K Annulment or lapse of a utility model due to non-payment of fees