CN1321385C - Remote computer display data redirection method and computer system thereof - Google Patents
Remote computer display data redirection method and computer system thereof Download PDFInfo
- Publication number
- CN1321385C CN1321385C CNB031487793A CN03148779A CN1321385C CN 1321385 C CN1321385 C CN 1321385C CN B031487793 A CNB031487793 A CN B031487793A CN 03148779 A CN03148779 A CN 03148779A CN 1321385 C CN1321385 C CN 1321385C
- Authority
- CN
- China
- Prior art keywords
- processor
- display
- display data
- mode
- interrupt signal
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000004590 computer program Methods 0.000 claims description 12
- 230000000737 periodic effect Effects 0.000 claims description 4
- 230000001960 triggered effect Effects 0.000 claims description 4
- 238000007726 management method Methods 0.000 description 24
- 230000006870 function Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 239000000523 sample Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Computer And Data Communications (AREA)
- Digital Computer Display Output (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种远程计算机管理方法及其计算机系统,特别是涉及一种利用处理器在独立操作模式下,将远程计算机的显示数据重新导向(redirect)至一主机上的方法及其计算机系统。The invention relates to a remote computer management method and its computer system, in particular to a method and its computer system for redirecting display data of a remote computer to a host computer by using a processor in an independent operation mode.
背景技术Background technique
对于计算机系统管理者而言,必需时时掌握中心主机的工作状态,特别是在分布式计算机系统架构中,往往是先建置许多部服务器,再利用每一服务器来提供许多客户端所需要的服务。然而,一个普遍存在的问题是:服务器所建置的地方往往与系统管理者所在处相距甚远,故当远程的服务器发生问题时,系统管理者必需亲自至伺服所在处,才能够解决问题,造成时间与成本上的浪费。For computer system administrators, it is necessary to keep abreast of the working status of the central host, especially in the distributed computer system architecture, it is often to build many servers first, and then use each server to provide the services required by many clients . However, a common problem is that the place where the server is built is often far away from the place where the system administrator is located. Therefore, when a problem occurs on the remote server, the system administrator must personally go to the location of the server to solve the problem. Cause time and cost waste.
有鉴于此,产生了许多具备有远程管理能力的辅助工具或方法,使得管理者能够利用一主机通过网络来与服务器相连接,并能藉由主机来直接来对服务器进行远程监控。其中一种方法是利用所谓的总线控制(bus-mastering),也就是先在远程的服务器中装设有一总线控制卡,并利用此控制卡来撷取此服务器中显示芯片(VGA chip)中的显示数据,再将显示数据重新导向至主机上,故能使主机显示服务器的工作状态,然其缺点在于仅兼容于特定型号的显示芯片,故其兼容性不高。In view of this, many auxiliary tools or methods with remote management capabilities have been produced, so that the administrator can use a host to connect to the server through the network, and can directly monitor the server remotely through the host. One of the methods is to use the so-called bus-mastering, that is, a bus-mastering card is installed in the remote server first, and the control card is used to capture the VGA chip in the server. Display data, and then redirect the display data to the host, so that the host can display the working status of the server, but its disadvantage is that it is only compatible with specific types of display chips, so its compatibility is not high.
另一种较佳的方法是如美国专利6,170,021「重新导向工具」所示,以下将其全文重点加以摘录,同时并入本案作为参考数据。如图1所示,其架构主要包含了一主机500与一服务器600,且主机500与服务器600的连接与数据传送是藉由调制解调器61来实现。服务器600中具有一处理器62、一与处理器62相连接的微控制器63、一显示缓冲器64、一显示缓存器65,以及一串行装置控制器66。Another better method is as shown in US Patent No. 6,170,021 "Redirection Tool". The full text of it will be excerpted below and incorporated into this case as reference data. As shown in FIG. 1 , its architecture mainly includes a
其方法主要是当系统管理者利用主机500的键盘501键入数据后,会藉由调制解调器61传送至微控制器63,并藉由微控制器63中的中断讯号产生器631产生的系统管理中断讯号(system manamgent interrupt,SMI),迫使处理器62进入系统管理模式(system management mode,SMM),而进入系统管理模式后的处理器62会读入特定的SMM计算机程序码(SMM handler routines)621,以便由显示缓冲器64、显示缓存器65中撷取显示数据,并经由最佳化处理器632将其最佳化后,再传送至主机500的显示器502上,以供系统管理者通过主机500来监看服务器600运作的情况。The method is mainly that after the system administrator uses the
上述方法利用了处理器62的系统管理模式,因此在传送显示数据的过程中并不会影响到服务器600中的操作系统或应用程序的运作。换言之,由于处理器62进入系统管理模式后,暂停了操作系统与应用程序的运作,待其自系统管理模式再恢复成正常模式后,又能接续之前操作系统或应用程序的处理操作,因此没有兼容性不足的困扰。The above method utilizes the system management mode of the
然而,由于此法需内建有特定功能的微控制器63,以进行显示数据的最佳化、产生中断讯号等功能,因此其建置成本较高。其次,由于是采被动方式等待读取要求,需待系统管理者通过键盘501发出指令后,才会触发处理器62送出显示数据,故其时效性较差。However, since this method requires a built-in
发明内容Contents of the invention
有鉴于以往的显示数据重新导向方法未臻完善,故本发明的目的即在于提供一种能够使远程计算机主动将其显示数据重新导向至一主机上的远程计算机显示数据重新导向方法及使用该方法的计算机系统。In view of the fact that the previous display data redirection method is not perfect, the object of the present invention is to provide a remote computer display data redirection method that can make the remote computer actively redirect its display data to a host computer and use the method computer system.
在一较佳实施例中,本发明的计算机系统能将其显示数据传送至一远程主机上,该计算机系统包含有一处理器、一显示处理单元、一固件(firm ware)、一触发单元以及一定时器。In a preferred embodiment, the computer system of the present invention can transmit its display data to a remote host, and the computer system includes a processor, a display processing unit, a firmware (firmware), a trigger unit and a timer.
该处理器能接受一中断讯号的触发而进入一独立操作模式,该显示处理单元是与该处理器相连接并能产生显示在该显示器上的该显示数据,该固件中储存有多个供该处理器进入该独立操作模式时所执行的计算机程序码,该触发单元能够周期地发送该中断讯号至该处理器,使该处理器周期地进入该独立操作模式并执行该等计算机程序码,以使该处理器周期地捕获该显示处理单元的该显示数据并将该显示数据传送至该远程主机上,和一与该触发单元相连接的定时器,该定时器能提供周期性的一脉波讯号至该触发单元,使该触发单元依据该脉波信号周期地产生该中断讯号。The processor can be triggered by an interrupt signal to enter an independent operation mode. The display processing unit is connected to the processor and can generate the display data displayed on the display. The firmware stores a plurality of data for the display. The computer program code executed when the processor enters the independent operation mode, the trigger unit can periodically send the interrupt signal to the processor, so that the processor periodically enters the independent operation mode and executes the computer program code, so as to Make the processor periodically capture the display data of the display processing unit and transmit the display data to the remote host, and a timer connected to the trigger unit, the timer can provide a periodic pulse wave The signal is sent to the trigger unit, so that the trigger unit periodically generates the interrupt signal according to the pulse signal.
因此,此计算机系统能够主动地将其显示数据重新导向至该远程主机上,使得系统管理人员藉由该远程主机的一显示器就能够得知该计算机系统的画面。Therefore, the computer system can actively redirect its display data to the remote host, so that the system manager can know the picture of the computer system through a display of the remote host.
附图说明Description of drawings
图1是一示意图,说明美国6,170,021专利所述的重新导向工具;Figure 1 is a schematic diagram illustrating the redirection tool described in US 6,170,021 patent;
图2是一示意图,说明本发明的一较佳实施例应用在分布式网络架构中;Fig. 2 is a schematic diagram illustrating that a preferred embodiment of the present invention is applied in a distributed network architecture;
图3是一示意图,说明该较佳实施例的一服务器;Fig. 3 is a schematic diagram illustrating a server of the preferred embodiment;
图4是一示意图,说明该较佳实施例在进行显示数据的重新导向时,处理器在一正常模式与一独立操作模式间切换;以及FIG. 4 is a schematic diagram illustrating the processor switching between a normal mode and a stand-alone mode of operation while performing redirection of display data in accordance with the preferred embodiment; and
图5是一流程图,说明该较佳实施例进行显示数据的重新导向时所进行的步骤。FIG. 5 is a flowchart illustrating the steps performed by the preferred embodiment to perform redirection of display data.
附图标号说明Explanation of reference numbers
100 服务器100 servers
101 显示器101 display
200 主机200 hosts
201 显示器201 display
202 输入装置202 input device
1 处理器1 processor
2 网络适配卡2 network adapter card
3 显示处理单元3 display processing unit
4 固件4 firmware
5 触发单元5 trigger unit
6 定时器6 timers
31 显示控制器31 display controller
32 显示基本输入输出系统32 display basic input output system
33 帧缓冲器33 frame buffer
10 主存储器10 main memory
51~55 步骤51~55 steps
具体实施方式Detailed ways
有关本发明的前述及其它技术内容、特点与功效,在以下结合附图对一较佳实施例的详细说明中将更加清楚。The foregoing and other technical content, features and effects of the present invention will be more clearly described in the following detailed description of a preferred embodiment in conjunction with the accompanying drawings.
参阅图2,图2示出了运用本发明的分布式网络架构,在此架构下,一部服务器100能供多个客户端来使用,且服务器100连接有一远程主机200。图2中所示是为了简化说明起见,实际上,可以有一台以上的服务器100来供许多客户端使用,而远程主机200的数目也不局限于一台。Referring to FIG. 2 , FIG. 2 shows a distributed network architecture using the present invention. Under this architecture, a
系统管理者可以通过远程主机200来对服务器100进行监控。每一主机200具有一显示器201以及一输入装置202,此显示器201为阴极射线管式的显示屏(CRT),或是液晶显示屏(LCD)等相类似的平面显示器等等;输入装置202则是例如键盘、鼠标、轨迹球(track ball)、轨迹杆(track point),以及触控面板(touch panel)、手写板等等。换言之,系统管理者能够通过远程主机200的显示器201来观看服务器100目前运作的情形,亦能通过输入装置202的输入来控制服务器100,达到远程监控的目的,这将在下文中详细说明。The system administrator can monitor the
参阅图3,服务器100具有一处理器1、一网络适配卡2、一显示处理单元3、一固件4、一触发单元5,以及一定时器6(timer)。Referring to FIG. 3 , the
处理器1,在本实施例中,指的是Inter 80386以后型号的处理器,例如IntelPentium I、Pentium II…等等,或是AMD公司所生产的K5、K6等处理器,能够在一独立操作模式下工作。所谓的独立操作模式,是指处理器1的运作能够不受任何应用程序或操作系统的影响,并能在主存储器10中的一独立的寻址空间来执行相对应的SMM计算机程序码(SMM subroutines)。
除了已有技术所述的系统管理模式(SMM)以外,尚有在线模拟(in circuitsimulator,ICE)模式【或称侦错模式(debugging mode)、探测模式(probe mode)等】,在线仿真模式是为了便于进行程序的侦错所设定的一处理器模式,在此模式下,处理器1亦能与系统管理模式下相同,具备有支持网络驱动程序、系统外围驱动程序、数据安全监控等能力。不同的是,触发处理器1进入在线仿真模式的中断信号为R/S#信号(以Intel Pentium处理器为例)。In addition to the system management mode (SMM) described in the prior art, there is also an online simulation (in circuits simulator, ICE) mode (or called a debugging mode (debugging mode), a detection mode (probe mode), etc.], and the online simulation mode is In order to facilitate program debugging, a processor mode is set. In this mode,
当然,在服务器100中,除了应具备有上述供处理器1使用的主存储器10以外,还需具备有用来储存基本输入输出系统(BIOS)的只读存储器(ROM)(图未示)等构件,由于这与一般计算机系统的架构相同,故并不再另行说明。Of course, in the
网络适配卡2与处理器1相连接,而通过网络适配卡2,即能使得远程主机200能与服务器100通过局域网络、或是因特网相连接。The
显示处理单元3通过系统总线与处理器1相连接,例如PCI总线、AGP总线等等,显示处理单元3具有一显示控制器31(VGA controller)、一显示基本输入输出系统(VGA BIOS)32,以及一帧缓冲器33(frame buffer)。显示控制器31是指一般的图形处理芯片,帧缓冲器33是用来储存欲显示在服务器100的显示器上的数据,通常此帧缓冲器33具有多个缓冲单元,例如其中一个缓冲单元是用来储存目前显示在服务器100的显示器101上的画面,另一个则是用来储存显示控制器31正在绘制的画面等等。
显示基本输入输出系统(以下简称VGA BIOS)32,本实施例中,特别是指符合于VESA BIOS Extension(以下简称VBE)2.0版或以上标准的VGA BIOS。换言之,藉由特定的函数呼叫(VBE Function 4F0Ah:Return VBE Protected Mode Interface,传回VBE在保护模式下的函数进入点),可以在处理器1的保护模式(适合多任务操作系统的操作模式,即指一般的正常模式)下,由此VGA BIOS 32中通过VBE函数呼叫包括(但不限于):Function 4F00h-Return VBE Controller Information,传回显示卡信息;Function 4F01h-Return VBE Mode Information,传回特定显示模式(如:1024×768 True Color)的信息;Function 4F03h-Return Current VBE Mode,传回当前的显示模式;以及Function 4F04h-Get/Restore State,传回/回存当前的显示卡设定状态等,得知帧缓冲器33中,目前画面的起始地址,实际的宽度、长度,以及色盘(color palette)等等。而对于未具备保护模式进入点的VGA BIOS32而言,亦可利用「Triple Fault」或「LOADALL」指令,令CPU暂时离开保护模式进入真实模式(Real Mode),即可使用上述各种VBE函数呼叫,得知帧缓冲器33中相关的信息。Display basic input and output system (hereinafter referred to as VGA BIOS) 32, in this embodiment, especially refers to the VGA BIOS conforming to VESA BIOS Extension (hereinafter referred to as VBE) version 2.0 or above. In other words, by calling a specific function (VBE Function 4F0Ah: Return VBE Protected Mode Interface, returning the function entry point of VBE in protected mode), it is possible to operate in the protected mode of processor 1 (the operating mode suitable for multitasking operating systems, Refers to the general normal mode), so the VBE function calls in
固件4用来储存上述的SMM计算机程序码,本实施例中,固件4实体上是指一储存有计算机程序码的非易失性存储器,例如只读存储器或是闪速存储器(flash),这些SMM计算机程序码用来供计算机系统开机后加载至主存储器10中,待处理器1进入系统管理模式中再由主存储器10中捕获、执行,或者是当处理器1进入系统管理模式中之后,再直接由固件4中捕获、执行,本实施例中,SMM计算机程序码能够使得处理器1捕获显示处理单元3中的显示数据,关于这部分的详细内容,将在下文中进一步说明。The firmware 4 is used to store the above-mentioned SMM computer program codes. In this embodiment, the firmware 4 refers to a non-volatile memory that stores the computer program codes, such as read-only memory or flash memory (flash), these The SMM computer program code is used to be loaded into the
值得一提的是,在SMM程序代码中,可以加入一「RSM」指令,并当处理器1执行此指令时,即会跳离系统管理模式而回到原先的正常模式之下,使得操作系统能再对处理器1进行控制。同理,若是在线仿真模式,则可以在程序代码中加入「end probe mode」指令,即能使得处理器1回复到正常模式。It is worth mentioning that in the SMM program code, an "RSM" instruction can be added, and when the
触发单元5与处理器1相连接,触发单元5由简单的逻辑电路所组成,其目的仅在周期地发送系统管理中断(SMI)至处理器1,使得处理器1能够重复地被触发进入系统管理模式中。The
定时器6是指一周期性的脉波产生器,能产生一定周期的脉波,使得触发单元5能够依据此脉波,以此周期反复地产生系统管理中断讯号。特别要说明的是,在一般的计算机系统中,定时器6无需另行装设,例如可以利用主机板(图未示)上的键盘控制器(keyboard controller)中的时钟(clock)、或是RTC芯片来提供时脉信号给触发单元5,均能达到上述相同目的。The
请依序参阅图4的路径①~④,并结合图5。依据上述架构,如步骤51,本发明首先是利用触发单元5来发送系统管理中断信号至处理器1上,使得处理器1能进入前述的独立操作模式,如步骤52所示。接着,如步骤53,当处理器1进入独立操作模式后,读取SMM计算机程序码,并呼叫VGA BIOS 32,并自VGA BIOS32中读取帧缓冲器33中关于起始地址、长度、实际的宽度、长度等画面信息,并自帧缓冲器33中读取目前储存在帧缓冲器33中的画面数据。Please refer to the
接着,如步骤54,处理器1将显示信息传送至远程主机200的显示器201上,使得系统管理者能藉由远程主机200来监看到目前服务器100上的画面,最后,当处理器1已将显示数据传送至远程主机200后,即自动跳脱系统管理模式而回复至正常模式,继续处理先前已暂停执行的计算机程序码,如步骤55。由于触发单元5是周期地发送系统管理中断信号,因此会由步骤55回到步骤51,如此反复进行,远程主机200的显示器201即会不停地显示出服务器100的显示数据。Then, as in step 54, the
因此,触发单元5发送系统中断信号的频率,决定了远程主机200上画面的显示频率,例如一般画面上重新更新(refresh)频率为30~75Hz,因此可以利用定时器6来提供此一频率范围内的时脉信号,使得触发单元5依此时脉信号发送系统管理中断信号,因此就能够决定显示在远程主机200上的画面更新频率。Therefore, the frequency at which the
特别要说明的是,系统管理者也可以利用输入装置202,来对服务器100进行控制,也就是系统管理者通过输入装置202(例如键盘)所输入的信号,在处理器1进入系统管理模式时,亦会将此输入信号重新导向至服务器100上的相对应控制器中(例如键盘控制器,图未示),待处理器1回复至正常模式后,即读入此输入信号,使得系统管理者犹如位于服务器100前而能直接对服务器100进行输入,由于此部分大致上与已有技术相同,因此不再赘述。It should be noted that the system administrator can also use the
由以上的说明可知,虽然本实施例中是以服务器100为例,事实上,只要是一般的计算机系统,均可以利用本发明来进行远程的监控,并不仅局限于服务器100As can be seen from the above description, although the
综上所述,本发明利用触发单元5周期性地发送系统管理中断信号,使得处理器1能够周期地进入系统管理模式,主动地将服务器100上的显示数据传送至远程主机200上,即以广播的概念,使得系统管理者能够不断地接收到服务器100的画面,方便系统管理者进行监控,确实达到本发明的目的。In summary, the present invention uses the
以上所述仅为本发明的较佳实施例而已,而不能以此限定本发明实施的范围,凡依据本发明权利要求范围及说明书内容所作的简单等效变化与修饰,均应仍属本发明专利涵盖的范围内。The above descriptions are only preferred embodiments of the present invention, and cannot limit the scope of the present invention with this. All simple equivalent changes and modifications made according to the scope of the claims of the present invention and the content of the description should still belong to the present invention. covered by the patent.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB031487793A CN1321385C (en) | 2003-06-26 | 2003-06-26 | Remote computer display data redirection method and computer system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB031487793A CN1321385C (en) | 2003-06-26 | 2003-06-26 | Remote computer display data redirection method and computer system thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1567285A CN1567285A (en) | 2005-01-19 |
CN1321385C true CN1321385C (en) | 2007-06-13 |
Family
ID=34472371
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB031487793A Expired - Fee Related CN1321385C (en) | 2003-06-26 | 2003-06-26 | Remote computer display data redirection method and computer system thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1321385C (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1105795A2 (en) * | 1998-08-13 | 2001-06-13 | Symantec Corporation | Methods and apparatuses for tracking the active window of a host computer in a remote computer display window |
CN1354847A (en) * | 1999-04-09 | 2002-06-19 | 亨利·B·史蒂恩三世 | Remote data access and system control |
US20020178211A1 (en) * | 2001-05-03 | 2002-11-28 | Reefedge, Inc. A Delaware Corporation | Technique for enabling remote data access and manipulation from a pervasive device |
-
2003
- 2003-06-26 CN CNB031487793A patent/CN1321385C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1105795A2 (en) * | 1998-08-13 | 2001-06-13 | Symantec Corporation | Methods and apparatuses for tracking the active window of a host computer in a remote computer display window |
CN1354847A (en) * | 1999-04-09 | 2002-06-19 | 亨利·B·史蒂恩三世 | Remote data access and system control |
US20020178211A1 (en) * | 2001-05-03 | 2002-11-28 | Reefedge, Inc. A Delaware Corporation | Technique for enabling remote data access and manipulation from a pervasive device |
Also Published As
Publication number | Publication date |
---|---|
CN1567285A (en) | 2005-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3641354B2 (en) | Distributed computer system | |
JPH10105486A (en) | Distributed computer system | |
JPH10116254A (en) | Decentralized computer system | |
US9024878B2 (en) | Hardware cursor snooping | |
CN109861990B (en) | Data interaction method and device among different systems and computer storage medium | |
CN113608812B (en) | Remote control method, device, system and storage medium | |
CN117806857B (en) | Fault location information generation method and device, electronic equipment and storage medium | |
CN117806721A (en) | Fault diagnosis drive loading method and device, electronic equipment and storage medium | |
EP0430708B1 (en) | Architecture for server extension | |
JPH06214762A (en) | Hot-plug support for computer input device | |
CN1321385C (en) | Remote computer display data redirection method and computer system thereof | |
JP2005234808A (en) | Information processor, system, remote operation method, program and recording medium | |
US7356683B2 (en) | System and method for monitoring BIOS messages of remote computers by a local server | |
US20040221151A1 (en) | Information processing system including communication-enabled information processing device equipped with no user interface and a method of control thereof | |
JPH096655A (en) | System management device | |
US20030065864A1 (en) | System and method supporting remote data processing system management | |
JP2002251373A (en) | Network system and network terminal | |
US20050235049A1 (en) | System and method for monitoring startup processes of remote computers by a local server | |
CN110008071B (en) | Remote debugging device and method | |
TWI224277B (en) | Method displaying redirected data on remote computer and computer system using the method | |
CN100397385C (en) | Method and system for remotely controlling computer | |
US20070168765A1 (en) | Method for detecting and transmitting error messages | |
JP3196724B2 (en) | Console switching apparatus and method | |
JPH1115690A (en) | Image processor and method for establishing communication between image processor and computer | |
TWI405080B (en) | Method foe remapping memory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070613 Termination date: 20150626 |
|
EXPY | Termination of patent right or utility model |