CN100440181C - Computer peripheral equipment on-line processing method and system - Google Patents
Computer peripheral equipment on-line processing method and system Download PDFInfo
- Publication number
- CN100440181C CN100440181C CNB2006100011798A CN200610001179A CN100440181C CN 100440181 C CN100440181 C CN 100440181C CN B2006100011798 A CNB2006100011798 A CN B2006100011798A CN 200610001179 A CN200610001179 A CN 200610001179A CN 100440181 C CN100440181 C CN 100440181C
- Authority
- CN
- China
- Prior art keywords
- configuration data
- computer
- peripheral
- peripheral device
- processing
- 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
- 230000002093 peripheral effect Effects 0.000 title claims abstract description 187
- 238000003672 processing method Methods 0.000 title claims abstract description 13
- 238000000034 method Methods 0.000 claims abstract description 31
- 230000006870 function Effects 0.000 claims abstract description 14
- 238000013500 data storage Methods 0.000 claims description 12
- 238000004891 communication Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
技术领域 technical field
本发明是关于一种计算机信息技术,特别是关于一种计算机外围设备联机处理方法及系统,应用在一计算机平台,且该计算机平台配置有一外围设备连接接口连接到多个外围设备,例如PCI(PeripheralComponent Interconnect)式的外围连接接口,对该计算机平台提供一人为操控的外围设备联机处理功能,使用者可以人为操控方式为这些外围设备设定一个处理顺序和一个配置数据来源,该计算机平台据此处理这些外围设备的连线作业。The present invention relates to a kind of computer information technology, especially relates to a kind of computer peripheral equipment on-line processing method and system, applied to a computer platform, and this computer platform is equipped with a peripheral equipment connection interface connected to a plurality of peripheral equipment, such as PCI ( Peripheral Component Interconnect)-type peripheral connection interface provides a human-controlled peripheral device online processing function for the computer platform. Users can manually set a processing sequence and a configuration data source for these peripheral devices. The computer platform is based on this Handles the wiring of these peripherals.
背景技术 Background technique
PCI(Peripheral Component Interconnect)为计算机平台上常采用的一种外围设备连接接口,可将计算机平台的中央处理单元与各式外围设备连接,例如包括屏幕显示器、硬盘装置、光驱、网络切换器等等,中央处理单元可与这些外围设备进行数据交流。PCI (Peripheral Component Interconnect) is a peripheral device connection interface often used on computer platforms, which can connect the central processing unit of the computer platform with various peripheral devices, such as screen monitors, hard disk devices, optical drives, network switches, etc. , the central processing unit can exchange data with these peripheral devices.
PCI外围设备中通常内建有一配置只读存储器(Option ROM,其中ROM=Read-Only Memory),储放所属的PCI外围设备在搭接至计算机平台时所需的配置数据;也就是PCI外围设备搭接的计算机平台可直接从该配置只读存储器(OPROM)中读取其中储放的配置数据,即可直接对PCI外围设备进行初始化,使计算机平台与PCI外围设备进行数据交流。基本上,由于随机存取内存(Random-Access Memory,RAM)的存取速度大于只读存储器(Read-Only Memory,ROM);因此在具体实施上,为了增加配置数据的存取速度,计算机平台中的随机存取内存中通常规划有一特定的储存空间,一般称为影子内存(Shadow RAM),借以用来以映射方式(即复制方式)转存PCI外围设备中的配置只读存储器中所储放的配置数据,以此增进外围设备整体的处理效能。A PCI peripheral device usually has a built-in configuration read-only memory (Option ROM, where ROM=Read-Only Memory), which stores the configuration data required by the PCI peripheral device when it is connected to the computer platform; that is, the PCI peripheral device The overlapping computer platform can directly read the configuration data stored therein from the configuration read-only memory (OPROM), and can directly initialize the PCI peripheral equipment, so that the computer platform can exchange data with the PCI peripheral equipment. Basically, since the access speed of Random-Access Memory (RAM) is greater than that of Read-Only Memory (ROM); therefore, in specific implementation, in order to increase the access speed of configuration data, the computer platform A specific storage space is usually planned in the random access memory in the computer, which is generally called shadow RAM (Shadow RAM), which is used to dump the data stored in the configuration read-only memory of the PCI peripheral device in a mapping manner (that is, in a copying manner). The stored configuration data is used to improve the overall processing performance of peripheral devices.
在实际操作时,目前计算机平台会依据一固定的处理顺序处理各个外围设备OPROM中配置数据。举例来说,主板(On Board)上SATA式的外围设备通常为第一优先处理、接着为主板(On Board)上SCSI式的外围设备、接着为主板(On Board)上NIC的外围设备、再接着为PCIX插槽(Slot)式的外围设备、最后为PCIE插槽(Slot)式的外围设备。然而这种固定的OPROM配置数据处理顺序在实际应用时有下述二个缺点。In actual operation, the current computer platform processes the configuration data in the OPROM of each peripheral device according to a fixed processing sequence. For example, SATA-style peripherals on the motherboard (On Board) are usually prioritized first, followed by SCSI-style peripherals on the motherboard (On Board), followed by NIC peripherals on the motherboard (On Board), and then Then there are PCIX slot (Slot) type peripheral devices, and finally PCIE slot (Slot) type peripheral devices. However, this fixed OPROM configuration data processing sequence has the following two disadvantages in practical application.
第一可能会降低计算机平台外围设备整体的处理效能。在实际应用上,一般计算机平台中的影子内存的容量大都仅有128KB(C0000h-DFFFFh),因此仅能有限地支持一定数目的外围设备。举例来说,若有一必要且最优先的PCI外围设备(例如VGA视频控制卡)的OPROM配置数据代码量为32KB,则实际执行时将占用影子内存中的32KB的储存空间,使得32KB影子内存的可用储存空间仅剩下128-32=96KB。在此情况下,其它PCI外围设备的处理顺序将影响到计算机平台外围设备整体的处理效能。举例来说,假设有4个PCI外围设备PCI(1)、PCI(2)、PCI(3)、PCI(4)的OPROM原始配置数据的代码量分别为64KB、64KB、32KB和24KB,其实际执行后的代码量仅分别为6KB、32KB、32KB和16KB;则如下表所示,在影子内存仅剩96KB的情况下,若此4个PCI外围设备按PCI(1)→PCI(2)→PCI(3)→PCI(4)的处理顺序,则此4个PCI外围设备均可被处理到。First, it may reduce the overall processing performance of peripheral devices of the computer platform. In practical application, the capacity of the shadow memory in the general computer platform is mostly only 128KB (C0000h-DFFFFh), so it can only support a limited number of peripheral devices. For example, if the OPROM configuration data code size of a necessary and top-priority PCI peripheral device (such as a VGA video control card) is 32KB, it will occupy 32KB of storage space in the shadow memory during actual execution, making the 32KB shadow memory The available storage space is only 128-32=96KB. In this case, the processing sequence of other PCI peripheral devices will affect the overall processing performance of the computer platform peripheral devices. For example, assuming that there are 4 PCI peripheral devices PCI(1), PCI(2), PCI(3), PCI(4), the code sizes of the OPROM original configuration data are 64KB, 64KB, 32KB and 24KB respectively, the actual The amount of code after execution is only 6KB, 32KB, 32KB, and 16KB respectively; as shown in the table below, when the shadow memory is only 96KB, if the four PCI peripherals are PCI(1)→PCI(2)→ The processing sequence of PCI(3)→PCI(4), then the four PCI peripheral devices can all be processed.
反之,如下表所示,若上述4个PCI外围设备的处理顺序改为PCI(2)→PCI(3)→PCI(4)→PCI(1),则仅能处理到前面3个PCI外围设备。Conversely, as shown in the table below, if the processing sequence of the above four PCI peripherals is changed to PCI(2)→PCI(3)→PCI(4)→PCI(1), only the first three PCI peripherals can be processed. .
如上表所示,当顺序3的PCI(4)被处理时,影子内存的可用储存空间仅剩下16KB,因此没有足够的空间用来加载顺序4的PCI(1)64KB的原始配置数据。As shown in the above table, when PCI(4) of
第二是可能会使计算机平台产生异常的操作状态或系统停摆现象,例如在执行BIOS POST时发生系统停摆现象、加载操作系统时发生系统停摆现象、某些开机用装置(例如CD-ROM)产生失能状况等等。这是由于OPROM配置数据的处理过程中可能发生下列状况:需要串接(Hook)Int 13h(即用以存取硬盘装置的中断服务程序)、需要串接(Hook)Int 19h(即用以加载操作系统的中断服务程序)、需要使用EBDA做为执行时(Run Time)的内存区域、需要支持BBS(BIOS BootSpecification)的一些功能以及PCI式的外围设备需要使用硬件的PCI中断信号去启动执行其中断服务程序(Interrupt Service Routine);这些状况会在某些处理顺序下令系统产生冲突状况导致系统停摆现象。因此只要能改变外围设备的处理顺序才能解决这些问题。The second is that it may cause abnormal operating status or system shutdown of the computer platform, such as system shutdown when executing BIOS POST, system shutdown when loading the operating system, and some boot devices (such as CD-ROM) Disabling conditions, etc. This is because the following conditions may occur during the processing of OPROM configuration data: Need to connect (Hook) Int 13h (that is, interrupt service routine for accessing the hard disk device), need to connect (Hook) Int 19h (that is, to load Interrupt service program of the operating system), need to use EBDA as the memory area of the execution (Run Time), need to support some functions of the BBS (BIOS Boot Specification), and PCI-style peripherals need to use the PCI interrupt signal of the hardware to start and execute them Interrupt Service Routine; these conditions will order the system to generate conflicts in certain processing sequences and cause the system to shut down. Therefore, these problems can only be solved by changing the processing order of peripheral devices.
此外,某些PCX/PCIE规格的外围设备的OPROM配置数据在执行时会去寻找目前所有存在于计算机平台系统上相同的装置控制器(device controller)来执行初始化程序。举例来说,LSI 1020a SCSI控制器与LSI 1030 SCSI控制器便具有相同的DID/VID(Device ID,VendorID);因此若主板(On Board)的外围设备上有LSI 1030 SCSI控制器,则BIOS必然也储放有其OPROM配置数据。当计算机平台插入LSI1020A控制器的电路卡后(其上也配置有OPROM),则在执行BIOSPOST时,若使用BIOS上的LSI 1030控制器的OPROM配置数据执行初始化程序,则计算机平台的系统将对主板上的LSI 1030控制器及电路卡上的LSI 1020A控制器同时执行初始化程序。此时能使LSI1030及1020A控制器正常工作(也就是可联机至LSI 1030及1020A控制器上搭接的所有硬盘装置)。但在执行BIOS POST时,若使用电路卡LSI1020A上的OPROM进行初始化程序,则将对主板上的LSI 1030控制器及电路卡上的LSI 1020A控制器进行初始化程序,使得LSI1030无法正常工作,也就是LSI 1030控制器的初始化失败且无法联机至其上搭接的所有硬盘装置。这是由于电路卡上的OPROM配置数据的版本可能比较旧,因此无法被用来成功地完成初始化程序;但主板上的OPROM配置数据因版本较新而可被利用成功地完成初始化程序。此外,目前计算机平台大都无法让外围设备选用主板上的BIOS中所储放的OPROM配置数据进行初始化程序。此情况对于某些未配备有OPROM的PCIX/PCIE外围设备,便无法借由BIOS内的同DID/VID的OPROM配置数据进行初始化程序。In addition, when the OPROM configuration data of some PCX/PCIE peripheral devices is executed, it will search for all the same device controllers (device controllers) existing on the computer platform system to execute the initialization program. For example, the LSI 1020a SCSI controller and the LSI 1030 SCSI controller have the same DID/VID (Device ID, VendorID); therefore, if there is an LSI 1030 SCSI controller on the peripheral device of the motherboard (On Board), the BIOS must It also stores its OPROM configuration data. When the computer platform is inserted into the circuit card of the LSI1020A controller (it is also equipped with OPROM), then when executing BIOSPOST, if the OPROM configuration data of the LSI 1030 controller on the BIOS is used to execute the initialization program, the system of the computer platform will perform the initialization program. The LSI 1030 controller on the motherboard and the LSI 1020A controller on the circuit card execute the initialization program simultaneously. At this time, the LSI1030 and 1020A controllers can work normally (that is, all hard disk devices that can be connected to the LSI 1030 and 1020A controllers). However, when executing the BIOS POST, if the OPROM on the circuit card LSI1020A is used to initialize the program, the LSI 1030 controller on the motherboard and the LSI 1020A controller on the circuit card will be initialized, making the LSI1030 unable to work normally, that is The initialization of the LSI 1030 controller failed and failed to connect to all hard drives attached to it. This is because the version of the OPROM configuration data on the circuit card may be relatively old, so it cannot be used to successfully complete the initialization procedure; but the OPROM configuration data on the motherboard can be used to successfully complete the initialization procedure due to its newer version. In addition, most of the current computer platforms cannot allow the peripheral devices to use the OPROM configuration data stored in the BIOS on the motherboard to perform initialization procedures. In this case, for some PCIX/PCIE peripheral devices that are not equipped with OPROM, the initialization process cannot be performed by using the OPROM configuration data with the same DID/VID in the BIOS.
发明内容 Contents of the invention
为克服上述现有技术的缺点,本发明的主要目的在于提供一种计算机外围设备联机处理方法及系统,使用者可以人为操控方式为所有外围设备设定一处理顺序,计算机平台按此处理顺序依序处理这些外围设备的配置数据。In order to overcome the shortcomings of the above-mentioned prior art, the main purpose of the present invention is to provide a method and system for on-line processing of computer peripheral equipment. The user can manually set a processing order for all peripheral equipment, and the computer platform follows this processing order. program to process configuration data for these peripherals.
本发明的再一目的为提供一种计算机外围设备联机处理方法及系统,使用者可以人为操控方式来为各个外围设备设定一个配置数据来源(即主板上的BIOS或电路卡上的OPROM),该计算机平台从使用者指定的配置数据来源读取各个外围设备所属的配置数据。Yet another object of the present invention is to provide a method and system for on-line processing of computer peripherals. The user can manually set a configuration data source (i.e. BIOS on the motherboard or OPROM on the circuit card) for each peripheral. The computer platform reads the configuration data belonging to each peripheral device from the configuration data source specified by the user.
本发明的计算机外围设备联机处理方法及系统是应用在一计算机平台,例如桌上型个人计算机、笔记本型计算机或网络服务器,且该计算机平台配置有一外围设备连接接口与多个外围设备连接,例如PCI式的外围设备连接接口,对该计算机平台提供一人为操控的外围设备联机处理功能,使用者可以人为操控方式为这些外围设备设定一个处理顺序和一个配置数据来源,该计算机平台据此处理这些外围设备的初始化程序。The computer peripheral device online processing method and system of the present invention are applied to a computer platform, such as a desktop personal computer, a notebook computer or a network server, and the computer platform is configured with a peripheral device connection interface to connect with multiple peripheral devices, such as The PCI-style peripheral device connection interface provides a human-controlled peripheral device online processing function for the computer platform. The user can manually set a processing sequence and a configuration data source for these peripheral devices, and the computer platform processes accordingly. Initialization routines for these peripherals.
本发明的计算机外围设备联机处理方法至少包括:该人为操控的计算机外围设备联机处理方法至少包括:以人为方式为这些外围设备指定一处理顺序;以人为方式为各个外围设备指定一个配置数据来源;其中该配置数据来源的选项包括各个外围设备内建的配置只读存储器和该开机主控单元中的配置数据储存区;以及依据该人为指定的处理顺序,依序处理这些外围设备的初始化程序;并在各个外围设备的初始化程序中,从该人为指定的配置数据来源中读取所需的配置数据,该中央处理单元可联机至这些外围设备进行数据交流。The computer peripheral device online processing method of the present invention at least includes: the artificially controlled computer peripheral device online processing method at least includes: artificially designate a processing sequence for these peripheral devices; artificially designate a configuration data source for each peripheral device; Wherein the option of the configuration data source includes the built-in configuration read-only memory of each peripheral device and the configuration data storage area in the power-on main control unit; and according to the artificially designated processing sequence, sequentially process the initialization programs of these peripheral devices; And in the initialization program of each peripheral device, the required configuration data is read from the artificially designated configuration data source, and the central processing unit can be connected to these peripheral devices for data exchange.
在实体架构上,本发明的计算机外围设备联机处理系统至少包括:一处理顺序指定模块,提供一使用者操控的处理顺序指定功能,为这些外围设备以人为方式指定一处理顺序;一配置数据来源指定模块,提供一使用者操控的配置数据来源指定功能,对各个外围设备以人为方式指定出一个配置数据来源;其中该配置数据来源的选项包括各个外围设备内建的配置只读存储器和该开机主控单元中的配置数据储存区;以及一配置数据处理模块,依据该处理顺序设定模块指定的处理顺序,依序处理这些外围设备的初始化程序;并在各个外围设备的初始化程序中,从该配置数据来源设定模块指定的配置数据来源中读取所需的配置数据,该中央处理单元可联机至这些外围设备进行数据交流。In terms of physical structure, the on-line processing system for computer peripheral equipment of the present invention at least includes: a processing sequence designation module, which provides a processing sequence designation function manipulated by the user, and specifies a processing sequence for these peripheral devices artificially; a configuration data source The specifying module provides a user-controlled configuration data source specifying function, and artificially specifies a configuration data source for each peripheral device; wherein the options for the configuration data source include the built-in configuration read-only memory of each peripheral device and the boot a configuration data storage area in the main control unit; and a configuration data processing module, according to the processing sequence specified by the processing sequence setting module, the initialization procedures of these peripheral devices are sequentially processed; and in the initialization procedures of each peripheral device, from The configuration data source setting module reads the required configuration data from the configuration data source specified by the configuration data source, and the central processing unit can be connected to these peripheral devices for data exchange.
本发明的计算机外围设备联机处理方法及系统可让使用者以人为操控方式为计算机平台当前搭接的所有外围设备设定一个处理顺序和一个配置数据来源,该计算机平台可据此通过一容量有限的影子内存依序处理这些外围设备的配置数据,使该计算机平台可成功联机至这些外围设备来进行数据交流。本发明可让计算机平台同时支持数目更多的外围设备,并让其配置数据的处理过程具有更高的效能,避免发生冲突状况而导致系统停摆现象。The on-line processing method and system for computer peripheral equipment of the present invention allow users to set a processing order and a configuration data source for all peripheral equipment currently connected to the computer platform in an artificially controlled manner, and the computer platform can use a limited-capacity device accordingly. The shadow memory of the computer sequentially processes the configuration data of these peripheral devices, so that the computer platform can successfully connect to these peripheral devices for data communication. The invention enables the computer platform to support more peripheral devices at the same time, and enables the processing process of configuration data to have higher efficiency, so as to avoid system shutdown caused by conflicts.
附图说明 Description of drawings
图1为本发明的计算机外围设备联机处理系统搭载至一计算机平台的应用方式示意图;Fig. 1 is a schematic diagram of the application of the computer peripheral equipment on-line processing system of the present invention mounted on a computer platform;
图2为本发明的计算机外围设备联机处理系统的对象导向组件模型的基本架构示意图;Fig. 2 is the schematic diagram of the basic architecture of the object-oriented component model of the computer peripheral equipment on-line processing system of the present invention;
图3A是屏幕显示示意图,显示本发明的计算机外围设备联机处理系统中的处理顺序指定模块在计算机屏幕上显示的使用者操控接口的一个实例;FIG. 3A is a schematic diagram of a screen display, showing an example of a user manipulation interface displayed on a computer screen by the processing order specifying module in the computer peripheral equipment on-line processing system of the present invention;
图3B是屏幕显示示意图,显示本发明的计算机外围设备联机处理系统中的配置数据来源指定模块在计算机屏幕上显示的使用者操控接口的一个实例。3B is a schematic diagram of a screen display, showing an example of a user control interface displayed on a computer screen by the configuration data source specifying module in the computer peripheral equipment online processing system of the present invention.
具体实施方式 Detailed ways
实施例Example
图1显示本发明的计算机外围设备联机处理系统(如标号100所指的方块)的应用方式。如图所示,本发明的计算机外围设备联机处理系统100在实际应用上是搭载至一计算机平台10,例如桌上型个人计算机、笔记本型计算机或网络服务器,且该计算机平台10须至少配置有一中央处理单元(Central Processing Unit,CPU)20、一开机主控单元30、一影子内存(Shadow RAM,其中RAM=Random-Access Memory)40、一特定形式的外围设备连接接口50;其中该开机主控单元30例如是一BIOS (Basic Input/Output System)芯片模块,该外围设备连接接口50例如是一PCI(Peripheral Component Interconnect)式的外围设备连接接口,可外接一个或多个外围设备(图1所示的实施例中,例如搭接4个外围设备51、52、53、54;且其中每一个搭接上的外围设备51、52、53、54均分别内建有一配置只读存储器(Option ROM,或简化为OPROM,其中ROM=Read-Only Memory)61、62、63、64,分别预先储放其所属的外围设备51、52、53、54的一组与初始化有关的配置数据(以下称为″原始配置数据″)。此外,BIOS开机主控单元30的储存空间中也预先规划有多个配置数据储存区31、32、33、34,预先由厂商以写入方式分别储放一群组的OPROM配置数据,也就是某些常会用到或主板(On Board)上外围设备的配置数据。图1所示的实施例中,例如包括4个配置数据储存区31、32、33、34,其中分别储放这些外围设备51、52、53、54在初始化时所需的配置数据(也就是其代码完全兼容于这些外围设备51、52、53、54中的OPROM配置只读存储器61、62、63、64中储放的原始配置数据。在进行初始化程序时,各个外围设备51、52、53、54的原始配置数据可从2个来源(以下称为″配置数据来源″)来读取到,也就是(1)各个外围设备51、52、53、54的OPROM配置只读存储器61、62、63、64;以及(2)BIOS开机主控单元40中的配置数据储存区31、32、33、34。FIG. 1 shows the application mode of the computer peripheral device online processing system (such as the block indicated by reference numeral 100 ) of the present invention. As shown in the figure, the computer peripheral device
在实际操作时,本发明的计算机外围设备联机处理系统100可对使用者提供一人为操控的外围设备联机处理功能,使用者可以在这些外围设备51、52、53、54中指定一处理顺序和所需的原始配置数据的来源,该计算机平台10用来据此处理这些外围设备51、52、53、54与中央处理单元20之间的连线作业。In actual operation, the computer peripheral equipment on-
如图2所示,本发明的计算机外围设备联机处理系统100的实体架构的对象导向组件模型(object-oriented component model)至少包括:(A)一处理顺序指定模块110;(B)一配置数据来源指定模块120;以及(C)一配置数据处理模块130。在具体实施上,本发明的计算机外围设备联机处理系统100可完全以计算机程序实现,并将此计算机程序例如以一附加模块(add-on module)方式整合至该计算机平台10中的BIOS(Basic Input/Output System)基本输出入系统,并借由该中央处理单元20执行、提供所需的外围设备联机处理功能。As shown in Figure 2, the object-oriented component model (object-oriented component model) of the physical structure of the computer peripheral equipment on-
以下分别说明本发明的计算机外围设备联机处理系统100中的各个构成模块的个别属性及功能。The individual attributes and functions of each constituent module in the computer peripheral equipment in-
处理顺序指定模块110提供一使用者操控的处理顺序指定功能,也就是可响应一使用者操控的处理顺序指定事件201,为这些外围设备51、52、53、54设定一处理顺序。在具体实施上,此处理顺序指定模块110可例如在计算机平台10的屏幕11显示一如图3A所示的使用者操控接口111,使用者可通过此使用者操控接口111为这些外围设备51、52、53、54指定一处理顺序,其方式例如是点选某个外围设备的代号,再利用[上移]键112或[下移]键113改变选中外围设备的排序(注:图3A所示的使用者操控接口111仅为一种示范性的实例;在具体实施上可包括许多其它不同的显示及操控方式)。The processing
配置数据来源指定模块120提供一使用者操控的配置数据来源指定功能,也就是可响应一使用者操控的配置数据来源指定事件202,为各个外围设备51、52、53、54设定其所需的配置数据来源是″电路卡OPROM″或″主板BIOS OPROM″)。在具体实施上,此配置数据来源指定模块120可例如在计算机平台10的屏幕11显示一如图3B所示的使用者操控接口121,使用者可通过此使用者操控接口121为各个外围设备51、52、53、54指定一个配置数据来源。若使用者点选″电路卡OPROM″,则其所指定的配置数据来源即是外围设备51、52、53、54上的OPROM中配置只读存储器61、62、63、64;反之,若使用者点选″主板BIOS OPROM″,则其指定的配置数据来源即是BIOS开机主控单元30中的配置数据储存区31、32、33、34(注:图3B所示的使用者操控接口121仅为一种示范性的实例;其在具体实施上可包括许多其它不同的显示及操控方式)。The configuration data
配置数据处理模块130即可依据上述处理顺序设定模块110指定的处理顺序,依序处理这些外围设备51、52、53、54的初始化程序;并在各个外围设备51、52、53、54的初始化程序中,从该配置数据来源设定模块120指定的配置数据来源中读取配置数据,令该中央处理单元20可联机至这些外围设备51、52、53、54进行数据交流。举例来说,在图3B所示的实施例中,若使用者选择外围设备51,即PCI(1),的配置数据来源为″电路卡OPROM″,则配置数据处理模块130即会从外围设备51上的OPROM配置只读存储器61读取所需的配置数据;若使用者选择外围设备52,即PCI(2),的配置数据来源为″主板BIOSOPROM″,则配置数据处理模块130即会从BIOS开机主控单元30中的配置数据储存区32读取所需的配置数据。Configure the
本发明也提供一种计算机外围设备联机处理方法,该方法至少包括:首先,以人为方式为这些外围设备指定一处理顺序;随后,以人为方式为各个外围设备指定一个配置数据来源;其中该配置数据来源的选项包括各个外围设备内建的配置只读存储器和该开机主控单元中的配置数据储存区;以及最后,依据该人为指定的处理顺序,依序处理这些外围设备的初始化程序;并在各个外围设备的初始化程序中,从该人为指定的配置数据来源中读取所需的配置数据,该中央处理单元可联机至这些外围设备进行数据交流。The present invention also provides a method for on-line processing of computer peripheral devices, which at least includes: first, artificially specifying a processing sequence for these peripheral devices; and then, artificially specifying a configuration data source for each peripheral device; wherein the configuration The options of data sources include the built-in configuration read-only memory of each peripheral device and the configuration data storage area in the boot master control unit; and finally, according to the artificially designated processing sequence, sequentially process the initialization programs of these peripheral devices; and In the initialization program of each peripheral device, the required configuration data is read from the artificially designated configuration data source, and the central processing unit can be connected to these peripheral devices for data exchange.
以下利用一应用实例说明本发明的计算机外围设备联机处理系统100在实际应用时的操作方式。Hereinafter, an application example is used to illustrate the operation mode of the
在此应用实例中,假设外围设备51、52、53、54的OPROM原始配置数据的代码量分别为64KB、64KB、32KB和24KB,在实际执行后的代码量仅分别需要6KB、32KB、32KB和16KB;则如上所述,若此4个PCI外围设备的处理顺序为PCI(1)→PCI(2)→PCI(3)→PCI(4),则此4个PCI外围设备均可被处理到;但若为PCI(2)→PCI(3)→PCI(4)→PCI(1),则仅能处理到前面3个PCI外围设备。In this application example, assuming that the code sizes of the original OPROM configuration data of
请同时参阅图1和图2,在实际应用时,当使用者将外围设备51、52、53、54插置到计算机平台10后,即可在该计算机平台10实际执行BIOS开机程序之前,启用本发明的计算机外围设备联机处理系统100中的处理顺序指定模块110,在屏幕11上显示一使用者操控接口111,使用者可通过此使用者操控接口111发出一使用者操控的处理顺序指定事件201,为这些外围设备51、52、53、54指定一处理顺序。如上所述,PCI(1)→PCI(2)→PCI(3)→PCI(4)的处理顺序可让4个PCI外围设备均可被处理到,但若是PCI(2)→PCI(3)→PCI(4)→PCI(1)的处理顺序,则仅能处理到前面3个PCI外围设备;因此若有需要做调整,使用者即可通过此使用者操控接口111改变处理顺序。完成处理顺序的指定工作之后,使用者可再接着启用配置数据来源指定模块120,在屏幕11显示一如图3B所示的使用者操控接口121,使用者可通过此使用者操控接口121发出一使用者操控的配置数据来源指定事件202,为各个外围设备51、52、53、54的处理程序指定一个配置数据来源,其中该配置数据来源的选项例如包括″电路卡OPROM″和″主板BIOS OPROM″;其中″电路卡OPROM″选项即代表外围设备51、52、53、54上的OPROM中配置只读存储器61、62、63、64;而″主板BIOS OPROM″选项则代表BIOS开机主控单元30中的配置数据储存区31、32、33、34。此后,每当该计算机平台10实际执行BIOS开机程序时,即会启动配置数据处理模块130依据上述处理顺序设定模块110指定的处理顺序,依序处理这些外围设备51、52、53、54的初始化程序;并在各个外围设备51、52、53、54的初始化程序中,从该配置数据来源设定模块120指定的配置数据来源中读取配置数据,令该中央处理单元20可联机至这些外围设备51、52、53、54进行数据交流。Please refer to FIG. 1 and FIG. 2 at the same time. In actual application, after the user inserts the
总而言之,本发明提供了一种计算机平台计算机外围设备联机处理方法及系统,可搭载至一计算机平台,对该计算机平台提供一人为操控的外围设备联机处理功能;本发明让使用者以人为操控方式为计算机平台当前搭接的所有外围设备设定一个处理顺序和一个配置数据来源,该计算机平台可据此通过一容量有限的影子内存依序处理这些外围设备的配置数据,该计算机平台可成功联机至这些外围设备来进行数据交流。本发明可让计算机平台同时支持数目更多的外围设备,并可让其配置数据的处理过程具有更高的效能,避免发生冲突状况而导致系统停摆现象。In a word, the present invention provides a method and system for on-line processing of computer peripheral equipment on a computer platform, which can be mounted on a computer platform and provide a human-controlled peripheral equipment on-line processing function for the computer platform; the present invention allows users to manually control Set a processing sequence and a configuration data source for all peripheral devices currently connected to the computer platform, and the computer platform can process the configuration data of these peripheral devices sequentially through a shadow memory with a limited capacity, and the computer platform can be successfully connected To these peripheral devices for data exchange. The invention enables the computer platform to support more peripheral devices at the same time, and enables the processing process of its configuration data to have higher efficiency, and avoids system shutdown caused by conflicts.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100011798A CN100440181C (en) | 2006-01-13 | 2006-01-13 | Computer peripheral equipment on-line processing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100011798A CN100440181C (en) | 2006-01-13 | 2006-01-13 | Computer peripheral equipment on-line processing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101000586A CN101000586A (en) | 2007-07-18 |
CN100440181C true CN100440181C (en) | 2008-12-03 |
Family
ID=38692565
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100011798A Expired - Fee Related CN100440181C (en) | 2006-01-13 | 2006-01-13 | Computer peripheral equipment on-line processing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100440181C (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106909848A (en) * | 2015-12-22 | 2017-06-30 | 中电科技(北京)有限公司 | A kind of computer security strengthening system and its method based on BIOS extensions |
CN105955822A (en) * | 2016-04-22 | 2016-09-21 | 浪潮电子信息产业股份有限公司 | Method for improving space utilization rate of BIOS Legacy Option ROM |
CN107885684A (en) * | 2017-11-24 | 2018-04-06 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN109949516A (en) * | 2019-03-26 | 2019-06-28 | 浪潮金融信息技术有限公司 | A kind of primary assay of the silver doctor sub- equipment end slogan of equipment automatic identification |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1307699A (en) * | 1998-05-29 | 2001-08-08 | 摩托罗拉公司 | System, device, and method for communicating with and initializing a computer peripheral |
US20030074491A1 (en) * | 2001-10-17 | 2003-04-17 | Cepulis Darren J. | Method for expansion and integration of option ROM support utilities for run-time/boot-time usage |
TW546586B (en) * | 2001-11-14 | 2003-08-11 | Via Tech Inc | Personal computer peripheral device and initialization method thereof |
US6665745B1 (en) * | 2000-08-04 | 2003-12-16 | Lsi Logic Corporation | Method and system for peripheral ordering |
-
2006
- 2006-01-13 CN CNB2006100011798A patent/CN100440181C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1307699A (en) * | 1998-05-29 | 2001-08-08 | 摩托罗拉公司 | System, device, and method for communicating with and initializing a computer peripheral |
US6665745B1 (en) * | 2000-08-04 | 2003-12-16 | Lsi Logic Corporation | Method and system for peripheral ordering |
US20030074491A1 (en) * | 2001-10-17 | 2003-04-17 | Cepulis Darren J. | Method for expansion and integration of option ROM support utilities for run-time/boot-time usage |
TW546586B (en) * | 2001-11-14 | 2003-08-11 | Via Tech Inc | Personal computer peripheral device and initialization method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN101000586A (en) | 2007-07-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7222339B2 (en) | Method for distributed update of firmware across a clustered platform infrastructure | |
US8843733B2 (en) | Switching between multiple operating systems (OSes) using sleep state management and sequestered re-baseable memory | |
US7412544B2 (en) | Reconfigurable USB I/O device persona | |
US6505263B1 (en) | Bus controller operating code in system memory | |
US8037210B2 (en) | Computer and method for directly accessing computer hardware by virtual system | |
CN102749985B (en) | Method and device for dynamically adjusting bus clock | |
US6611912B1 (en) | Method and apparatus having a system BIOS write configuration data of a riser card to a controller configuration space when connecting the riser card to a motherboard | |
JPH0775014B2 (en) | Device and method for loading BIOS on computer | |
CN101083070A (en) | Dynamic multiple display configuration | |
EP2951705A1 (en) | Assigning processors to memory mapped configuration | |
US10656676B2 (en) | Docking device, electrical device, and MAC address cloning method | |
CN104572061A (en) | UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Loongson server | |
CN104572161A (en) | UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Loongson portable computer | |
CN103842980B (en) | Mthods, systems and devices for protocol-neutral fabric | |
CN100440181C (en) | Computer peripheral equipment on-line processing method and system | |
CN116107945A (en) | Device, method, system, equipment and medium for configuring bandwidth | |
CN117130569A (en) | Information display method, device, equipment and storage medium | |
US20050144613A1 (en) | Update firmware method and apparatus | |
CN102736908B (en) | System, the device and method of remotely located CMOS parameters | |
CN101582036A (en) | Servo device and method for shared basic input and output system | |
US7096294B2 (en) | Method and computer program product for graphically providing interrupt request (IRQ) routing information | |
CN100476729C (en) | Method and system for optimizing sequence processing of configuration data of computer peripheral equipment | |
US20070245038A1 (en) | System and method for user-controlled connection of computer peripheral devices | |
CN115686889A (en) | Method for using Ivshmem by Jailhouse based on ACPI | |
US20050273525A1 (en) | Dynamic I/O disabling systems and methods |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20081203 Termination date: 20120113 |