CN101770434A - Method and system for switching different function units in PCI device - Google Patents

Method and system for switching different function units in PCI device Download PDF

Info

Publication number
CN101770434A
CN101770434A CN200910076493A CN200910076493A CN101770434A CN 101770434 A CN101770434 A CN 101770434A CN 200910076493 A CN200910076493 A CN 200910076493A CN 200910076493 A CN200910076493 A CN 200910076493A CN 101770434 A CN101770434 A CN 101770434A
Authority
CN
China
Prior art keywords
equipment
pci
configuration information
function
gate array
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.)
Granted
Application number
CN200910076493A
Other languages
Chinese (zh)
Other versions
CN101770434B (en
Inventor
温天元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN200910076493A priority Critical patent/CN101770434B/en
Publication of CN101770434A publication Critical patent/CN101770434A/en
Application granted granted Critical
Publication of CN101770434B publication Critical patent/CN101770434B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method for switching different function units in a PCI device. The PCI device at least comprises a first function unit and a second function unit, wherein the first function unit corresponds to a first device, the second function unit corresponds to a second device, and the PCI device is being used as the first device. The method for switching the different function units in the PCI device is characterized by comprising the following steps: receiving a switching command for using the PCI device as the second device; acquiring corresponding bit stream information and configuration information of the second device according to the switching command; and switching the PCI device to the second device according to the bit stream information and configuration information. The invention provides a method and a system for switching the different function units in the PCI device used to realize automatic switch of the function styles of the PCI device according to the need.

Description

The method and system that different function units switches in a kind of PCI equipment
Technical field
The present invention relates to PCI (Peripheral Component Interface, peripheral component interconnect) equipment, refer to the method and system that different function units switches in a kind of PCI equipment especially.
Background technology
Existing PCI equipment is widely used, and can be used as sound card, network interface card, and video card, storage card or the like equipment uses, and is used to realize function corresponding.Such as, when PCI equipment was applied to sound card, in use, PCI equipment just used as the function of sound card always so.
The inventor finds that there are the following problems at least in the prior art in realizing process of the present invention:
Can not have difference in functionality on the existing PCI equipment uses.Such as, certain PCI equipment can be used as the network interface card function and uses, and can be used as sound card equipment when using when the user needs this PCI equipment, and existing P CI equipment can't satisfy this function.
Therefore, how providing the method and system that different function units switches in a kind of PCI equipment, can realize the switching of PCI functions of the equipments type according to user's needs, is those skilled in the art's technical issues that need to address.
Summary of the invention
The purpose of this invention is to provide the method that different function units switches in a kind of PCI equipment, be used for realizing as required the automatic switchover of PCI functions of the equipments type.
The invention provides different function units changing method in a kind of PCI equipment, described PCI equipment comprises first functional unit and second functional unit at least, wherein, described first functional unit is corresponding to first equipment, described second functional unit is corresponding to second equipment, and described PCI equipment uses as described first equipment.Described method comprises:
Reception is used described PCI equipment as described second equipment switching command;
Obtain described second equipment corresponding bit-stream information and the configuration information according to described switching command;
According to described bitstream information and configuration information described PCI equipment is switched to described second equipment.
Preferably, described configuration information is specially:
The field programmable gate array configuration information.
Preferably, when described PCI switches to described second equipment, whether the logical and first hardware capability interface of judging described second equipment mates, when the logical and first hardware capability interface of described second equipment does not match, the described first hardware capability interface is switched, switch to the hardware capability interface that is complementary with described second apparatus logic.
Preferably, when the logical and first hardware capability Interface Matching of described second equipment, restart the back or reload after the driving by ACPI advanced configuration and power management, described PCI equipment uses as described second equipment.
Preferably, described first equipment and described second equipment are specially: sound card or network interface card or video card or storage card or video frequency collection card, wherein, described first equipment and described second equipment are the equipment that belongs to dissimilar.
Preferably, also comprise after the described step of obtaining the bitstream information of the described second equipment correspondence and field programmable gate array configuration information according to described switching command:
According to described field programmable gate array configuration information, determine the required frequency of field programmable gate array.
The present invention also provides different function units switched system in a kind of PCI equipment, and described system comprises:
Data storage cell comprises first functional unit and second functional unit at least, and wherein, described first functional unit is used to store the bitstream information and the configuration information of the first equipment correspondence corresponding to first equipment; Second functional unit is used to store the bitstream information and the configuration information of the second equipment correspondence corresponding to second equipment;
The peripheral hardware expansion bus links to each other with described data storage cell, is used to transmit the bitstream information and the configuration information of described first equipment and described second equipment;
Program storage unit (PSU) is used to preserve to the trigger condition of described first equipment and the trigger condition of described second equipment;
System control unit, link to each other with described peripheral hardware expansion bus, when being used to receive the trigger condition of described first equipment, trigger condition according to described first equipment is switched described first equipment, or when being used to receive trigger condition to described second equipment, described second equipment is switched according to the trigger condition of described second equipment.
Preferably, described system also comprises:
Field programmable gate array is used under the control of described system control unit, realizes that described PCI switches to second equipment.
Preferably, described system also comprises:
Interface is selected control module, links to each other with described peripheral hardware expansion bus, is used for when described PCI does not match as the logical and hardware capability interface of described second equipment, the interface that the logic that to switch current hardware capability interface be described second equipment is complementary.
Preferably, described system also comprises the serial peripheral interface that links to each other with described field programmable gate array, is used to realize the programming to described field programmable gate array;
Described field programmable gate array obtains the bit stream data information of described second equipment, the field programmable gate array configuration information of described second equipment by described serial peripheral interface.
Preferably, system control unit obtains bit stream data information and the field programmable gate array configuration information of PCI as second equipment by the peripheral hardware expansion bus from data storage cell.
The method that different function units switches in a kind of PCI equipment of the embodiment of the invention can trigger the switching that PCI equipment is realized function according to application requirements.By obtaining the bit stream data information of PCI, and obtain the configuration information of PCI, after described configuration information programming, PCI equipment is switched to second equipment use as second equipment as second equipment.
PCI equipment can be realized being transformed into another function device from a kind of function device, realizes the function of another equipment, can support sound card, network interface card, video card, the mutual conversion between storage card or the like type PCI function device.PCI equipment does not need to plug PCI equipment from a kind of functions of the equipments switch to the whole process of another kind of equipment, do not need conversion PCI slot yet, changes hardware, is user-friendly to.
The changes of function method of the described peripheral component interconnect equipment of the embodiment of the invention can solve a PCI equipment can play the part of different PCI device role in specific life cycle, thereby utilizes the difference in functionality of PCI equipment fully.For may using a plurality of PCI functions of the equipments, or when on a PCI equipment, realizing the logic of a plurality of functions, just do not need to install a plurality of PCI equipment, can use a PCI equipment to finish, save hardware resource at different times.
Description of drawings
Fig. 1 is the different function units changing method first embodiment process flow diagram in the PCI equipment of the present invention;
Fig. 2 is the changes of function method second embodiment process flow diagram of peripheral component interconnect equipment of the present invention;
Fig. 3 is changes of function method the 3rd embodiment process flow diagram of peripheral component interconnect equipment of the present invention;
Fig. 4 is the first example structure figure of changes of function system of peripheral component interconnect equipment of the present invention;
Fig. 5 is the second example structure figure of changes of function system of peripheral component interconnect equipment of the present invention.
Embodiment
The invention provides different function units changing method in a kind of PCI equipment, be used for realizing switching automatically of PCI device type according to application need.
Referring to Fig. 1, this figure is the different function units changing method first embodiment process flow diagram in the PCI equipment of the present invention.
The method that different function units switches in the described PCI equipment of first embodiment of the invention, described PCI equipment comprises two different function units at least---first functional unit and second functional unit.
Wherein, described first functional unit is corresponding to first equipment, and described second functional unit is corresponding to second equipment.
Said method comprising the steps of:
Reception is used described PCI equipment as described second equipment switching command;
Obtain described second equipment corresponding bit-stream information and the configuration information according to described switching command;
According to described bitstream information and configuration information described PCI equipment is switched to described second equipment.
S100, current PC I equipment use as first equipment.
S200, reception are used current PC I equipment as second equipment switching command.
S300, obtain the bitstream information and the configuration information of the second equipment correspondence according to described switching command.
S400, PCI equipment is switched to second equipment according to described bitstream information and configuration information.
The method that different function units switches in a kind of PCI equipment of the embodiment of the invention can trigger the switching that PCI equipment is realized function according to application requirements.By obtaining the bit stream data information of PCI, and obtain the configuration information of PCI, after described configuration information programming, PCI equipment is switched to second equipment use as second equipment as second equipment.
PCI equipment can be realized being transformed into another function device from a kind of function device, realizes the function of another equipment, can support sound card, network interface card, video card, the mutual conversion between storage card or the like type PCI function device.PCI equipment does not need to plug PCI equipment from a kind of functions of the equipments switch to the whole process of another kind of equipment, do not need conversion PCI slot yet, changes hardware, is user-friendly to.
The changes of function method of described herein peripheral component interconnect equipment is the method that different function units switches in the PCI equipment.
PCI equipment is the function device of PCI equipment as the first functional unit correspondence as first kind of equipment.
Equipment is PCI equipment among first embodiment as the function device of the second functional unit correspondence after the PCI changes of function.
Referring to Fig. 2, this figure is the changes of function method second embodiment process flow diagram of peripheral component interconnect equipment of the present invention.
The changes of function method of the described peripheral component interconnect equipment of second embodiment of the invention may further comprise the steps:
S110, PCI equipment use as first kind of functions of the equipments.
At first PCI equipment can be used as first kind of functions of the equipments.First kind of functions of the equipments specifically can be a kind of in the PCI functions of the equipments such as video card, sound card, network interface card, storage card or video frequency collection card.
S120, according to application requirements, trigger PCI equipment and carry out changes of function.
The user can preestablish the condition that first kind of functions of the equipments finishes use, and when described condition satisfied, system control unit just can be controlled triggering PCI equipment and carry out changes of function.
When PCI equipment normally uses as first kind of functions of the equipments,, when satisfying application requirements, trigger PCI functions of the equipments change events according to the requirement of using.
S130, obtain the bit stream data information of equipment after the PCI changes of function.
Equipment after the variation and first kind of functions of the equipments are inequality, can be a kind of in the PCI functions of the equipments such as video card, sound card, network interface card, storage card or video frequency collection card.
According to state status, the system control unit of PCI equipment (specifically can be PowerPC405) is carried out start-up routine, initialization PCI equipment and PCI equipment variations program.
S140, obtain FPGA (field programmable gate array) configuration information of equipment after the PCI changes of function.
FPGA (field programmable gate array) can follow according to different configuration modes, adopts different programming modes.When powering up, fpga chip reads in data among the EPROM among the RAM that programmes in the sheet, and after configuration was finished, FPGA entered duty.After the power down, FPGA reverts to white, and the internal logic relation disappears.Therefore, FPGA can use repeatedly.
The programming of FPGA need not be special-purpose the FPGA programmable device, need only get final product with general EPROM, PROM programmable device.When needs are revised the FPGA function, only need change a slice EPROM and get final product.Like this, with a slice FPGA, different programming datas can produce different circuit functions.Here we provide the raw data that load source by processor.
FPGA has the various configurations pattern:
Parallel holotype: the mode that adds a slice EPROM for a slice FPGA.
Master slave mode: can support a slice PROM programming multiple FPGA.
Serial mode: can adopt serial PROM programming FPGA.
Peripheral hardware pattern: the peripheral hardware of FPGA as microprocessor can be programmed to it by microprocessor.
FPGA can for example under the control of PowerPC405, download the FPGA bitstream information by SPI (SerialPeripheral Interface, serial peripheral interface) at system control unit.
Because the frequency requirement difference of different FPGA devices all can have concrete frequency requirement on the databook of every kind of FPGA device.
According to the FPGA configuration information, determine the required frequency of field programmable gate array.Specifically can determine frequency by the peripheral hardware expansion bus of operation SPI interface, programming FPGA.
The PCI functions of the equipments change the program first step, from determining that the position (defines during according to product development, can be with Flash that the peripheral hardware expansion bus links to each other in certain specific address,) obtain (by reading that specific address on the Flash control module) conversion after PCI core bit stream data information (the FPGA bitstream information of PCI core), other logical message combinations (except PCI core, may also have the hardware logic of the variation of some product needed with FPGA.)
The PCI functions of the equipments change second step of program, from determining that the position (defines during according to product development, can be with Flash that the peripheral hardware expansion bus links to each other in certain specific address, this particular location is different from the address of the PCI core bit stream data information after the storage change) obtain (can read flashFPGA) configuration information by the firmware firmware.
S150, according to the programming of described field programmable gate array configuration information.
To after the FPGA programming, FPGA has just had the hardware capability of conversion back PCI core and interpolation according to described field programmable gate array configuration information.
Do you S160, judge that apparatus logic and hardware capability interface mate after the PCI changes of function? if coupling execution in step S180, otherwise execution in step S170.
S170, switch current hardware capability interface for the PCI changes of function after the hardware capability interface that is complementary of apparatus logic, execution in step S180.
When apparatus logic after the PCI changes of function and hardware capability interface do not match, switch current hardware capability interface for the PCI changes of function after the hardware capability interface that is complementary of apparatus logic, execution in step S180.
S180, restart after, PCI equipment as the PCI changes of function after equipment use.
When apparatus logic after the PCI changes of function and hardware capability Interface Matching, after restarting, PCI equipment as the PCI changes of function after equipment use.
When apparatus logic after the PCI changes of function and hardware capability Interface Matching, can also by ACPI advanced configuration and power management reload drive after, PCI equipment as the PCI changes of function after equipment use.
Because the safety in order to guarantee to change, the step S180 among first embodiment is specifically as follows step S181.
S181, when apparatus logic after the PCI changes of function and hardware capability Interface Matching, can by ACPI advanced configuration and power management reload drive after, PCI equipment as the PCI changes of function after equipment use.
The changes of function method of the described peripheral component interconnect equipment of the embodiment of the invention, can be according to application requirements, trigger the PCI functions of the equipments and change, by obtaining the bit stream data information of equipment after the PCI changes of function, and the field programmable gate array configuration information that obtains equipment after the PCI changes of function.After described field programmable gate array configuration information programming, when apparatus logic after the PCI changes of function and hardware capability Interface Matching, after restarting, just can realize the changes of function of PCI equipment.
PCI equipment can be realized being transformed into another functions of the equipments from a kind of functions of the equipments, realizes the function of another equipment, can support sound card, network interface card, video card, the mutual variation between storage card or the like type PCI equipment.PCI equipment does not need to plug PCI equipment from the whole process that a kind of functions of the equipments are changed to another kind of functions of the equipments, does not need conversion PCI slot yet, does not need to change hardware, and operation is very easy.
The changes of function method of the described peripheral component interconnect equipment of the embodiment of the invention can solve a PCI equipment and can play the part of different PCI device role in specific life cycle, thereby utilizes the difference in functionality of PCI equipment fully.
For may need to use a plurality of PCI functions of the equipments at different times, or when on a PCI equipment, realizing the logic of a plurality of functions, the changes of function method of the described peripheral component interconnect equipment of the embodiment of the invention, just do not need to install a plurality of PCI equipment, can use a PCI equipment to finish, save hardware resource.
Below in conjunction with the changes of function process of concrete PCI description of equipment peripheral component interconnect equipment of the present invention, setting first kind of functions of the equipments is storage card, and equipment is video card after the changes of function.
Referring to Fig. 3, this figure is changes of function method the 3rd embodiment process flow diagram of peripheral component interconnect equipment of the present invention.
When S210, computer booting, PCI equipment uses as storage card.
During computer booting, PCI equipment can be used as storage card and uses, and the data in the storage card can be by the transmitted in both directions of pci bus interface realization with computing machine.
S220, after data transmission finishes in the described storage card, trigger PCI equipment and carry out changes of function.
Trigger the condition that the PCI functions of the equipments are changed, can be set at the moment that data transmission finishes in the described storage card.
After data transmission finishes in the described storage card, can trigger PCI equipment and carry out changes of function.
S230, obtain the bit stream data information of the video card after the PCI changes of function.
S240, obtain the field programmable gate array configuration information of the video card after the PCI changes of function.
System control unit can obtain data storage cell for example the bit stream data information and the FPGA configuration information of the middle video card of Flash (program storage) by the peripheral hardware expansion bus.
Because the FPGA that the SPI interface connects is a low-speed device, directly be not connected on usually on the CPU main bus, connect by inserting the transition of peripheral hardware expansion bus.
S250, according to the programming of described field programmable gate array configuration information.
Field programmable gate array configuration information according to the video card after the PCI changes of function is programmed.
Do you S260, judge that the video card logical and hardware capability interface after the PCI changes of function mates? if coupling execution in step S280, otherwise execution in step S270.
S270, switch current hardware capability interface for the PCI changes of function after the hardware capability interface that is complementary of video card logic, execution in step S280.
S280, restart after, the video card of PCI equipment after as the PCI changes of function uses.
Computing machine is realized Presentation Function by the video card after the PCI changes of function.
In order to guarantee the safety of PCI changes of function, when the video card logical and hardware capability Interface Matching behind the video card of PCI, can by ACPI advanced configuration and power management reload drive after, again the video card of PCI equipment after as the video card of PCI used.
The video card method of peripheral component interconnect equipment of the present invention, can realize PCI equipment the beginning one period as a kind of function device type, another section uses as another kind of function device type period.When pilot process need change, also can become another function device from same PCI equipment variations, for other application, also may be changed to other function devices once more.
The present invention also provides a kind of changes of function system of peripheral component interconnect equipment, is used for realizing according to application need the automatic variation of PCI device type.
Referring to Fig. 4, this figure is the first example structure figure of changes of function system of peripheral component interconnect equipment of the present invention.
The changes of function system of peripheral component interconnect equipment of the present invention is different function units switched system in the PCI equipment.
PCI equipment is the function device of PCI equipment as the first functional unit correspondence as first kind of equipment.
Equipment is PCI equipment among first embodiment as the function device of the second functional unit correspondence after the PCI changes of function.The changes of function system of the described peripheral component interconnect equipment of first embodiment of the invention comprises program storage unit (PSU) 12, system control unit 11, field programmable gate array 14, data storage cell 13 and peripheral hardware expansion bus 17.
Program storage unit (PSU) 12 is used to preserve the trigger condition of described first equipment and the trigger condition of described second equipment.
Program storage unit (PSU) 12 specifically can be stored the relation between application requirements and the variation of triggering PCI functions of the equipments, and the functions of the equipments of the start-up code of PCI equipment and PCI equipment change code.
Specifically can also preserve start-up code and PCI functions of the equipments in the program storage unit (PSU) 12 and change code.
Start-up code for example from power on state begin, need to carry out this part.Start-up code can comprise running programs such as configuration-system control module, memory, loading vga bios and decompress(ion) Linux.
The PCI functions of the equipments change PCI core bit stream data information and other logical message combinations of FPGA and the operation spi bus after code mainly obtains changes of function, thereby determine frequency program FPGA.
Program in the program storage unit (PSU) 12 can also have the beginning changes of function incident that response comes automatic network or hardware mode to trigger.
Peripheral hardware expansion bus 17 links to each other with described data storage cell 12 with system control unit 11, for system control unit 11 provides the communication bridge.
System control unit 11 links to each other with peripheral hardware expansion bus 17, according to the trigger condition of second equipment, triggers PCI equipment and switches to second equipment from first equipment.
Obtain the start-up code of PCI equipment and the functions of the equipments variation code of PCI equipment by described peripheral hardware expansion bus 17 from described program storage unit (PSU) 12.System control unit 11 specifically can adopt PowerPC405.
Field programmable gate array 14 with peripheral hardware expansion bus 17, is used under the control of system control unit 11 PCI equipment being switched to second equipment.
FPGA uses main hardware logic, can use lattice ecp2 series, and lattice ecp2 series has 12k Logic element (logical block).
Data storage cell 13 links to each other with peripheral hardware expansion bus 11.
Data storage cell 13 comprises first functional unit and second functional unit at least, and wherein, described first functional unit is used to store the bitstream information and the configuration information of the first equipment correspondence; Second functional unit is used to store the bitstream information and the configuration information of the second equipment correspondence.
Data storage cell 13 specifically comprises data storage control module and data storage area, and data storage cell 13 specifically can adopt Flash to realize.The data storage area can comprise first functional unit and second functional unit.Wherein, described first functional unit is used to store the bitstream information and the configuration information of the first equipment correspondence; Second functional unit is used to store the bitstream information and the configuration information of the second equipment correspondence.
PCI core bit stream data information, FPGA configuration information have mainly been stored among the Flash.
System of the present invention can also comprise interface selection control module 15, link to each other with peripheral hardware expansion bus 17, be used for when PCI changes back equipment promptly second apparatus logic does not match with the hardware capability interface, switching current hardware capability interface is the interface function interface that second apparatus logic is complementary for changing back equipment with PCI.
When the hardware interface type of equipment after the PCI changes of function with the hardware interface before changing when inconsistent, need interface to select control module 15 controls to switch.
Described PCI device bus 2 specifically can link to each other with computer motherboard.
Equipment is at least a PCI functions of the equipments type after the described changes of function, specifically can be set at a plurality of PCI function device types as required.
The changes of function system of the described peripheral component interconnect equipment of the embodiment of the invention can also have the interface of other hardware capability, with the demand that guarantees that expansion is used.
The changes of function system of the described peripheral component interconnect equipment of the embodiment of the invention, system control unit 11 can be according to application requirements, triggering the PCI functions of the equipments changes, by obtaining the bit stream data information that PCI changes back equipment, and the field programmable gate array configuration information that obtains equipment after the PCI changes of function, when apparatus logic after the PCI changes of function and hardware capability Interface Matching, after restarting, just can realize the changes of function of PCI equipment.
The changes of function system of the described peripheral component interconnect equipment of the embodiment of the invention can realize that PCI equipment is transformed into another functions of the equipments from a kind of functions of the equipments, realizes the function of another equipment.The changes of function system of the described peripheral component interconnect equipment of the embodiment of the invention can support sound card, network interface card, video card, the mutual variation between storage card or the like type PCI functions of the equipments.The changes of function system of the described peripheral component interconnect equipment of the embodiment of the invention, can be implemented in PCI equipment and be converted to the whole process of another kind of functions of the equipments, do not need to plug PCI equipment, also do not need conversion PCI slot from a kind of functions of the equipments, do not need to change hardware, user-friendly.
The changes of function system of the described peripheral component interconnect equipment of the embodiment of the invention can solve a PCI equipment and can play the part of different PCI functions of the equipments roles in specific life cycle, thereby utilizes the difference in functionality of PCI equipment fully.For using a plurality of PCI functions of the equipments at different times, or when on a PCI equipment, realizing the logic of a plurality of functions, the changes of function system of the described peripheral component interconnect equipment of the embodiment of the invention, do not need to install a plurality of PCI equipment, can use a PCI equipment to finish, save hardware resource.
Referring to Fig. 5, this figure is the second example structure figure of changes of function system of peripheral component interconnect equipment of the present invention.
Relative first embodiment of second embodiment of changes of function system of peripheral component interconnect equipment of the present invention has increased serial peripheral interface 16.
Serial peripheral interface 16 is used to download the FPGA bitstream information, realizes the programming of field programmable gate array 14.
Described field programmable gate array 14 can obtain i.e. i.e. field programmable gate array 14 configuration informations of second equipment of equipment after the bit stream data information, PCI changes of function of second equipment of equipment after the PCI changes of function by described serial peripheral interface 16.
Since the FPGA (field programmable gate array) the 14th that SPI interface 16 connects, low-speed device, usually directly be not connected on the CPU main bus, in order to guarantee the good transmission of data between SPI interface 16 and the system control unit 11, between described system control unit 11 and serial peripheral interface 16, be provided with peripheral hardware expansion bus 17.
System control unit 11 obtains described PCI as the function device in second functional unit from data storage cell 13, i.e. the bit stream data information of second equipment and field programmable gate array configuration information.
System control unit 11 obtains PCI as the function device in second functional unit by peripheral hardware expansion bus 17 from data storage cell 13, i.e. the bit stream data information of second equipment and field programmable gate array configuration information.
The above only is a preferred implementation of the present invention, does not constitute the qualification to protection domain of the present invention.Any any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection domain of the present invention.

Claims (11)

1. different function units changing method in the PCI equipment, described PCI equipment comprises first functional unit and second functional unit at least, wherein, described first functional unit is corresponding to first equipment, described second functional unit is corresponding to second equipment, described PCI equipment uses as described first equipment, it is characterized in that, described method comprises:
Reception is used described PCI equipment as described second equipment switching command;
Obtain described second equipment corresponding bit-stream information and the configuration information according to described switching command;
According to described bitstream information and configuration information described PCI equipment is switched to described second equipment.
2. method according to claim 1 is characterized in that, described configuration information is specially:
The field programmable gate array configuration information.
3. changing method according to claim 1 is characterized in that,
When described PCI switches to described second equipment, whether the logical and first hardware capability interface of judging described second equipment mates, when the logical and first hardware capability interface of described second equipment does not match, the described first hardware capability interface is switched, switch to the hardware capability interface that is complementary with described second apparatus logic.
4. changing method according to claim 3 is characterized in that,
When the logical and first hardware capability Interface Matching of described second equipment, to restart the back or reload after the driving by ACPI advanced configuration and power management, described PCI equipment uses as described second equipment.
5. changing method according to claim 1, it is characterized in that, described first equipment and described second equipment are specially: sound card or network interface card or video card or storage card or video frequency collection card, wherein, described first equipment and described second equipment are the equipment that belongs to dissimilar.
6. changing method according to claim 2 is characterized in that, also comprises after the described step of obtaining the bitstream information of the described second equipment correspondence and field programmable gate array configuration information according to described switching command:
According to described field programmable gate array configuration information, determine the required frequency of field programmable gate array.
7. different function units switched system in the PCI equipment is characterized in that described system comprises:
Data storage cell comprises first functional unit and second functional unit at least, and wherein, described first functional unit is used to store the bitstream information and the configuration information of the first equipment correspondence corresponding to first equipment; Second functional unit is used to store the bitstream information and the configuration information of the second equipment correspondence corresponding to second equipment;
The peripheral hardware expansion bus links to each other with described data storage cell, is used to transmit the bitstream information of described first equipment and the bitstream information and the configuration information of configuration information and described second equipment;
Program storage unit (PSU) is used to preserve to the trigger condition of described first equipment and the trigger condition of described second equipment;
System control unit, one end links to each other with described program storage unit (PSU), one end links to each other with described peripheral hardware expansion bus, when being used to receive the trigger condition of described first equipment, trigger condition according to described first equipment is switched described first equipment, or when being used to receive trigger condition to described second equipment, described second equipment is switched according to the trigger condition of described second equipment.
8. switched system according to claim 7 is characterized in that, described system also comprises:
Field programmable gate array is used under the control of described system control unit, realizes that described PCI equipment switches to second equipment.
9. switched system according to claim 8 is characterized in that, described system also comprises:
Interface is selected control module, links to each other with described peripheral hardware expansion bus, is used for when described PCI does not match as the logical and hardware capability interface of described second equipment, the interface that the logic that to switch current hardware capability interface be described second equipment is complementary.
10. switched system according to claim 9 is characterized in that described system also comprises the serial peripheral interface that links to each other with described field programmable gate array, is used to realize the programming to described field programmable gate array;
Described field programmable gate array obtains the bit stream data information of described second equipment, the field programmable gate array configuration information of described second equipment by described serial peripheral interface.
11. switched system according to claim 8 is characterized in that, system control unit obtains bit stream data information and the field programmable gate array configuration information of described PCI equipment as second equipment by the peripheral hardware expansion bus from data storage cell.
CN200910076493A 2009-01-05 2009-01-05 Method and system for switching different function units in PCI device Active CN101770434B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910076493A CN101770434B (en) 2009-01-05 2009-01-05 Method and system for switching different function units in PCI device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910076493A CN101770434B (en) 2009-01-05 2009-01-05 Method and system for switching different function units in PCI device

Publications (2)

Publication Number Publication Date
CN101770434A true CN101770434A (en) 2010-07-07
CN101770434B CN101770434B (en) 2012-09-05

Family

ID=42503303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910076493A Active CN101770434B (en) 2009-01-05 2009-01-05 Method and system for switching different function units in PCI device

Country Status (1)

Country Link
CN (1) CN101770434B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662617A (en) * 2012-03-29 2012-09-12 山东超越数控电子有限公司 Implementing method for VGA (video graphics array) signal switching in KVM (kernel-based virtual machine)
CN103648001A (en) * 2013-11-29 2014-03-19 乐视致新电子科技(天津)有限公司 Switching method and apparatus
CN104866439A (en) * 2014-02-24 2015-08-26 联想(北京)有限公司 Device distributor, device distribution method, device distribution and switching methods and computation equipment
CN105959158A (en) * 2016-06-30 2016-09-21 联想(北京)有限公司 Switching method, switching device, first terminal device and server
CN106959932A (en) * 2017-04-14 2017-07-18 广东浪潮大数据研究有限公司 A kind of Riser card methods for designing of automatic switchover PCIe signals
CN113204384A (en) * 2021-05-14 2021-08-03 山东英信计算机技术有限公司 Equipment starting method and device and computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100336045C (en) * 2004-11-19 2007-09-05 威盛电子股份有限公司 Multifunction chip set and relative method
CN101068140B (en) * 2007-06-27 2010-06-16 中兴通讯股份有限公司 Apparatus and method for realizing primary/standby PCI equipment switchover

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662617A (en) * 2012-03-29 2012-09-12 山东超越数控电子有限公司 Implementing method for VGA (video graphics array) signal switching in KVM (kernel-based virtual machine)
CN103648001A (en) * 2013-11-29 2014-03-19 乐视致新电子科技(天津)有限公司 Switching method and apparatus
CN104866439A (en) * 2014-02-24 2015-08-26 联想(北京)有限公司 Device distributor, device distribution method, device distribution and switching methods and computation equipment
CN104866439B (en) * 2014-02-24 2018-03-27 联想(北京)有限公司 Equipment distributor, device allocation method, equipment distribution switching method and computing device
CN105959158A (en) * 2016-06-30 2016-09-21 联想(北京)有限公司 Switching method, switching device, first terminal device and server
CN106959932A (en) * 2017-04-14 2017-07-18 广东浪潮大数据研究有限公司 A kind of Riser card methods for designing of automatic switchover PCIe signals
CN113204384A (en) * 2021-05-14 2021-08-03 山东英信计算机技术有限公司 Equipment starting method and device and computer readable storage medium
CN113204384B (en) * 2021-05-14 2023-05-16 山东英信计算机技术有限公司 Device starting method, device and computer readable storage medium

Also Published As

Publication number Publication date
CN101770434B (en) 2012-09-05

Similar Documents

Publication Publication Date Title
CN101770434B (en) Method and system for switching different function units in PCI device
US7149837B2 (en) Method of operating combination personal data assistant and personal computing device
KR101832953B1 (en) Remote wakeup of application processor of mobile device
CN102749985B (en) Method and device for dynamically adjusting bus clock
CN108737869B (en) Smart television starting processing method based on human body induction and smart television system
EP2079003A1 (en) Computer system and power-saving method thereof
CN103761088A (en) Multiple operation system switching method applicable to ARM (advanced risc machine) framework mobile equipment
CN104750510A (en) Chip start method and multi-core processor chip
WO2021136200A1 (en) Bootloader loading method, storage medium, and embedded terminal
CN103176582A (en) Power supply sequential control device and adjusting method for power supply time sequence delay time
US20090276613A1 (en) Method of sharing basic input output system, and blade server and computer using the same
CN101799778A (en) Automatic resetting computer device and automatic resetting method
CN102445981B (en) Data transmission system and data transmission method
CN101639780A (en) Shared system and method thereof for basic input-output system of high density server
CN108108314B (en) Exchanger system
CN116302141B (en) Serial port switching method, chip and serial port switching system
WO2021155551A1 (en) Firmware download method for chip, and chip
CN110568946B (en) Port control method, device and medium
CN101944072A (en) Method and equipment for configuring starting mode of terminal equipment
JP2016042283A (en) Information processing device, power control method of information processing device, and program
CN112306937A (en) Setting selection circuit, method, apparatus and medium for mainboard device in server
CN105183514A (en) Flash mode selection method and electronic apparatus
CN101515240A (en) Digital signal processor loading method, electronic device and electronic system
CN209029000U (en) Engineering machinery display screen, engineering machinery and project monitor and control system
CN103186223A (en) Computer device and detection method for external daughterboard

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