Summary of the invention
The embodiment of the invention provides a kind of interface card loading method and system, interface card and control panel; Complicated to solve the pin that is connected with interface card in the prior art, it is dumb to upgrade, the problem of extendability difference; When realizing that interface card loads; Extensibility is strong, and versatility is good, the technique effect that the complexity of interface card pin design reduces.
The embodiment of the invention provides a kind of interface card loading method, comprising:
Receive the general configuration information that control panel sends;
General utility functions attribute according to said general configuration information docking port card carries out loading processing;
According to the type information that obtains said interface card through the general utility functions attribute of loading processing, and said type information sent to control panel, make control panel download specific configuration information according to said type information;
Receive the specific configuration information that control panel sends, carry out loading processing according to said specific configuration information.
The embodiment of the invention provides another kind of interface card loading method, comprising:
According to the loading processing request that interface card sends, send general configuration information to interface card, make interface card carry out loading processing to the general utility functions attribute according to general configuration information;
Receive the type information of the said interface card that the general utility functions attribute according to through loading processing that said interface card sends obtains;
Download specific configuration information according to said type information;
Said specific configuration information is sent to said interface card, make said interface card carry out loading processing according to said specific configuration information.
The embodiment of the invention provides a kind of interface card, comprising:
First receiver module is used to receive the general configuration information that control panel sends;
First load-on module is used for carrying out loading processing according to the general utility functions attribute of general configuration information docking port card;
The information acquisition module is used for according to the type information that obtains said interface card through the general utility functions attribute of loading processing, and said type information is sent to control panel, makes control panel download specific configuration information according to said type information;
Second receiver module is used to receive the specific configuration information that control panel sends;
Second load-on module is used for carrying out loading processing according to said specific configuration information.
The embodiment of the invention also provides a kind of control panel, comprising:
First sending module is used for the loading processing request according to the interface card transmission, sends general configuration information to interface card, makes interface card carry out loading processing according to general configuration information to the general utility functions attribute:
The 3rd receiver module is used to receive the type information of the said interface card that the general utility functions attribute according to through loading processing that said interface card sends obtains;
Information downloading module is used for downloading specific configuration information according to said type information;
Second sending module is used for said specific configuration information is sent to said interface card, makes said interface card carry out loading processing according to said specific configuration information.
The embodiment of the invention also provides a kind of interface card loading system, comprising:
Said interface card is used to receive the general configuration information that control panel sends; General utility functions attribute according to said general configuration information docking port card carries out loading processing; According to the type information that obtains said interface card through the general utility functions attribute of loading processing, and said type information sent to control panel, make control panel download specific configuration information according to said type information; Receive the specific configuration information that control panel sends, carry out loading processing according to said specific configuration information;
Said control panel is used for the loading processing request according to the interface card transmission, sends general configuration information to interface card, makes interface card carry out loading processing according to general configuration information to the general utility functions attribute; Receive the type information of the said interface card that the general utility functions attribute according to through loading processing that said interface card sends obtains; Download specific configuration information according to said type information; Said specific configuration information is sent to said interface card, make said interface card carry out loading processing according to said specific configuration information.
The process that the embodiment of the invention loads interface card is decomposed into and loads general configuration information earlier, after obtaining the type information of interface card through the general configuration information of loading processing, obtains specific configuration information and loading according to the type information again.Because when loading general configuration information; Control panel need not to consider and interface card between protocol attribute, can general configuration information be sent to interface card, thereby make interface card obtain the general utility functions attribute; Therefore; The embodiment of the invention can be applicable to the various interface card, and extensibility is strong, and versatility is good; Because the logical device of this interface card brings into operation through loading general configuration information; Therefore this interface card can directly read the type information of this interface card from this logical device; Thereby obtain and the type information corresponding special configuration information; Thereby the peculiar logic of docking port card is carried out loading processing, and need not on interface card, to dispose E
2The electronic tag that PROM stores this interface card is a type information, and therefore, this loading procedure can reduce E
2The connection cabling of PROM, thus the connection pin on the interface card practiced thrift, reduced the quantity of back panel connector signal pin, reduced the complexity of interface card pin design.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Fig. 1 is the process flow diagram of an embodiment of interface card loading method of the present invention, and as shown in Figure 1, the method for present embodiment comprises:
The general configuration information that step 101, reception control panel send;
For instance, interface card can receive the general configuration information that control panel sends.This general configuration information is to obtain through the general utility functions that extracts the various interface card.This general configuration information satisfies the monitoring of interface card power supply state of temperature, functions such as the integrated circuit board type collection of hot plug, interface card.Therefore, this general configuration information goes for all interface cards.
Step 102, carry out loading processing according to the general utility functions attribute of said general configuration information docking port card;
Interface card is after receiving this general configuration information; Can carry out loading processing according to the general utility functions attribute of this general configuration information docking port card; As to input and output (Input and Output; Hereinafter to be referred as: IO) interface, the basic register manipulation and the basic operation attribute of the logical device on the interface card carry out loading processing.This logical device can for CPLD (ComplexProgrammable Logic Device, hereinafter to be referred as: CPLD).Store in this logical device and be used to accomplish the logical program that control interface sticks into the line correlation operation.
Step 103, according to the type information that obtains said interface card through the general utility functions attribute of loading processing, and said type information sent to control panel, make control panel download specific configuration information according to said type information;
After the basic loading processing in completing steps 102, this interface card can move and realize basic operating function, and these basic operational functions are the general-purpose attribute function of various interface card.At this moment, interface card can obtain the type information of this interface card and the type information is sent to control panel from this logical device such as CPLD, prepares thereby send with the type information corresponding special configuration information to interface card for control panel is follow-up.
Need to prove that in the step 103 of present embodiment, the type information of interface card is after interface card obtains from logical devices such as CPLD, report control panel again.This process can also adopt control panel from the logical devices such as CPLD of interface card, to read the type information voluntarily; The effect of its realization is identical with the effect that the step 103 of present embodiment realizes; Promptly all can be so that control panel obtain the type information of this interface card, and according to the corresponding specific configuration information of the type download of information.
The specific configuration information that step 104, reception control panel send carries out loading processing according to said specific configuration information.
Control panel can be downloaded and the type information corresponding special configuration information, thereby sends this specific configuration information to interface card.For the distinct interface card, this specific configuration information is different.Specific configuration information is the loading processing that is used for the needed peculiar logic of distinct interface card.
Interface card can carry out loading processing according to this specific configuration information after receiving this specific configuration information, this loading processing process can be for carrying out loading processing according to this specific configuration information to the peculiar logic under this interface card.After accomplishing the loading processing of this peculiar logic, this interface card can be realized its complete function, thereby accomplishes the whole loading processing procedure.
Further; In the foregoing description; General utility functions attribute according to said general configuration information docking port card carries out loading processing, can comprise: according to general configuration information the operational attribute of IO interface, register and the logical device of said interface card is carried out loading processing.Obtain the type information of said interface card according to said general utility functions attribute through loading processing, comprising: the type information that from the logical device of said interface card, reads said interface card.Similarly, the type information also can read from the logical device of interface card through control panel.The type information gets final product unique type that indicates this interface card, thereby can make control panel according to the corresponding specific configuration information of the type download of information.
The interface card loading method of present embodiment is decomposed into interface card carries out the general utility functions attribute earlier according to the general configuration information of control panel transmission loading processing with the process that docking port sticks into capable loading processing; After interface card obtains the type information of interface card and reports control panel through this general utility functions attribute; After control panel can be downloaded the type information corresponding special configuration information with this interface card; The specific configuration information that interface card sends according to control panel again carries out the loading processing of particular attribute, thereby accomplishes the whole loading processing procedure.Because control panel is when interface card sends general configuration information, control panel need not to consider and interface card between protocol attribute, can will make interface card send to interface card according to this general configuration information; Thereby make interface card obtain the general utility functions attribute; Realize general utility functions, therefore, this interface card loading method can be applicable to the various interface card; Extensibility is strong, and versatility is good; Because the logical device of this interface card can bring into operation after having loaded general configuration information; Therefore; This interface card can be directly from the logical device of this interface card the type information of fetch interface card; Thereby make control panel can make things convenient for download and the type information corresponding special configuration information, thereby make the loading processing of the peculiar logic that interface card carries out according to this specific configuration information, and need not on interface card, to dispose E
2The electronic tag that PROM stores this interface card is a type information, and therefore, this loading processing process can reduce E
2PROM is last to be used to read the required connection cabling of this electronic tag, thereby has practiced thrift the connection pin on the interface card, has reduced the quantity of back panel connector signal pin, has reduced the complexity of interface card pin design.
Fig. 2 is the process flow diagram of another embodiment of interface card loading method of the present invention, and as shown in Figure 2, the method for present embodiment comprises:
Step 201, according to the loading processing request that interface card sends, send general configuration information to interface card, make interface card carry out loading processing to the general utility functions attribute according to general configuration information;
For instance, when interface card need carry out loading processing, can send the loading processing request to control panel.Then, control panel can send general configuration information to interface card according to this loading processing request.This general configuration information satisfies the monitoring of interface card power supply state of temperature, functions such as the integrated circuit board type collection of hot plug, interface card.Therefore, this general configuration information goes for all interface cards.
The type information of the said interface card that the general utility functions attribute according to through loading processing that step 202, the said interface card of reception send obtains.
At this moment, interface card can obtain the type information of this interface card and the type information is sent to control panel from logical device such as CPLD, thereby prepares with the type information corresponding special configuration information to the interface card transmission for control panel is follow-up.
Need to prove that in the step 202 of present embodiment, the type information of interface card is after interface card obtains from logical devices such as CPLD, report control panel again.This process can also adopt control panel from the logical devices such as CPLD of interface card, to read the type information voluntarily; The effect of its realization is identical with the effect that the step 202 of present embodiment realizes; Promptly all can be so that control panel obtains the type information of this interface card, so that download corresponding specific configuration information.
Step 203, download specific configuration information according to said type information.
Step 204, said specific configuration information is sent to said interface card, make said interface card carry out loading processing according to said specific configuration information.
Control panel can be downloaded and the type information corresponding special configuration information, thereby sends this specific configuration information to interface card.For the distinct interface card, this specific configuration information is different.Specific configuration information is the loading processing that is used for the needed peculiar logic of distinct interface card.
Interface card can carry out loading processing according to this specific configuration information after receiving this specific configuration information, this loading processing process can be for carrying out loading processing according to this specific configuration information to the peculiar logic under this interface card.After accomplishing the loading processing of this peculiar logic, this interface card can be realized its complete function, thereby accomplishes the whole loading processing procedure.
The interface card loading method of present embodiment is decomposed into interface card carries out the general utility functions attribute earlier according to the general configuration information of control panel transmission loading processing with the process that docking port sticks into capable loading processing; After interface card obtains the type information of interface card and reports control panel through this general utility functions attribute; Control panel can be downloaded the type information corresponding special configuration information with this interface card; The specific configuration information that interface card sends according to control panel again carries out the loading processing of particular attribute, thereby accomplishes the whole loading processing procedure.Because control panel is when interface card sends general configuration information, control panel need not to consider and interface card between protocol attribute, can this general configuration information be sent to interface card; Thereby make interface card obtain the general utility functions attribute; Realize general utility functions, therefore, this interface card loading method can be applicable to the various interface card; Extensibility is strong, and versatility is good; Owing to can bring into operation after the logical device of this interface card has loaded general configuration information; Therefore; This interface card can be directly from this logical device the type information of fetch interface card; Thereby make control panel can download easily and the type information corresponding special configuration information, thereby make the loading processing of the peculiar logic that interface card carries out according to this specific configuration information, and need not on interface card, to dispose E
2The electronic tag that PROM stores this interface card is a type information, and therefore, this loading processing process can reduce E
2PROM is last to be used to read the required connection cabling of this electronic tag, thereby has practiced thrift the connection pin on the interface card, has reduced the quantity of back panel connector signal pin, has reduced the complexity of interface card pin design.
Fig. 3 is the structural representation of an embodiment of interface card of the present invention; As shown in Figure 3; The interface card of present embodiment comprises: first receiver module 11, first load-on module 12, information acquisition module 13, second receiver module 14 and second load-on module, 15, the first receiver modules 11 are used to receive the general configuration information that control panel sends; First load-on module 12 is used for carrying out loading processing according to the general utility functions attribute of general configuration information docking port card; Information acquisition module 13 is used for obtaining according to the general utility functions attribute through loading processing the type information of said interface card, and said type information is sent to control panel, makes control panel download specific configuration information according to said type information; Second receiver module 14 is used to receive the specific configuration information that control panel sends; Second load-on module 15 is used for carrying out loading processing according to said specific configuration information.The interface card of present embodiment is identical with the realization principle of interface card loading method embodiment shown in Figure 1, repeats no more.
In another embodiment of interface card, first load-on module 12 is used for according to general configuration information the operational attribute of IO interface, register and the logical device of said interface card being carried out loading processing.Information acquisition module 13 also is used for reading from the logical device of said interface card the type information of said interface card.
The process that the interface card of present embodiment sticks into capable loading processing with docking port is decomposed into the loading processing that general configuration information that first load-on module 12 of interface card sends according to control panel are earlier carried out the general utility functions attribute; After information acquisition module 13 obtains the type information of interface card and reports control panel through this general utility functions attribute; Control panel can be downloaded the type information corresponding special configuration information with this interface card; The specific configuration information that second load-on module 15 sends according to control panel again carries out the loading processing of particular attribute, thereby accomplishes the whole loading processing procedure.Because control panel is when interface card sends general configuration information; Control panel need not to consider and interface card between protocol attribute, can this general configuration information be sent to interface card, thereby make interface card obtain the general utility functions attribute; Realize general utility functions; Therefore, the extensibility of this interface card is strong, and versatility is good; Because the logical device of this interface card can bring into operation after having loaded general configuration information; Therefore; This interface card can be directly from the logical device of this interface card the type information of fetch interface card; Thereby make control panel can make things convenient for download and the type information corresponding special configuration information, thereby make the loading processing of the peculiar logic that interface card carries out according to this specific configuration information, and need not on interface card, to dispose E
2The electronic tag that PROM stores this interface card is a type information, and therefore, the interface card of present embodiment can reduce E
2PROM is last to be used to read the required connection cabling of this electronic tag, thereby has practiced thrift the connection pin on the interface card, has reduced the quantity of back panel connector signal pin, has reduced the complexity of interface card pin design.
Fig. 4 is the structural representation of an embodiment of control panel of the present invention; As shown in Figure 4; The control panel of present embodiment comprises: first sending module 21, the 3rd receiver module 22, information downloading module 23 and second sending module 24; First sending module 21 is used for the loading processing request according to the interface card transmission, sends general configuration information to interface card, makes interface card carry out loading processing according to general configuration information to the general utility functions attribute; The 3rd receiver module 22 is used to receive the type information of the said interface card that the general utility functions attribute according to through loading processing that said interface card sends obtains; Information downloading module 23 is used for downloading specific configuration information according to said type information; Second sending module 24 is used for said specific configuration information is sent to said interface card, makes said interface card carry out loading processing according to said specific configuration information.
The control panel of present embodiment need not to consider and interface card between protocol attribute, can general configuration information be sent to interface card through first sending module 21, thereby make interface card realize general utility functions; Therefore; This control panel can be applicable to the various interface card, and extensibility is strong, and versatility is good; Because the logical device of this interface card brings into operation under the loading processing of general configuration information; Thereby can be directly from this logical device the type information of fetch interface card; Thereby make information downloading module 23 according to the corresponding specific configuration information of the type download of information; And this specific configuration information is sent to interface card by second sending module 24, thus make interface card be configured to its peculiar logic, and need not on interface card, to dispose E
2PROM stores the electronic tag of this interface card, and therefore, this control panel can be simplified E on the interface card
2The connection cabling of PROM, thus the connection pin on the interface card practiced thrift, reduced the quantity of back panel connector signal pin, reduced the design complexities of interface card.
Fig. 5 is the structural representation of an embodiment of interface card loading system of the present invention, and as shown in Figure 5, the system of present embodiment comprises: interface card 1 and control panel 2, interface card 1 are used to receive the general configuration information that control panel 2 sends; General utility functions attribute according to said general configuration information docking port card 1 carries out loading processing; According to the type information that obtains said interface card 1 through the general utility functions attribute of loading processing, and said type information sent to control panel 2, make control panel 2 download specific configuration information according to said type information; Receive the specific configuration information that control panel 2 sends, carry out loading processing according to said specific configuration information; Control panel 2 is used for the loading processing request according to interface card 1 transmission, sends general configuration information to interface card 1, makes interface card 1 carry out loading processing according to general configuration information to the general utility functions attribute; Receive the type information of the said interface card 1 that the general utility functions attribute according to through loading processing that said interface card 1 sends obtains; Download specific configuration information according to said type information; Said specific configuration information is sent to said interface card 1, make said interface card 1 carry out loading processing according to said specific configuration information.
In the system of present embodiment, interface card and control panel all can adopt the foregoing description to realize, repeat no more.The system of present embodiment can be applicable to the various interface card, and extensibility is strong, and versatility is good; Need not on interface card, to dispose the electronic tag that E2PROM stores this interface card; Therefore, can simplify the connection cabling of E2PROM on the interface card, thereby practice thrift the connection pin on the interface card; Reduce the quantity of back panel connector signal pin, reduced the design complexities of interface card.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to accomplish through program; This program can be stored in the computer-readable recording medium; Storage medium can comprise: ROM (read-only memory) (ROM; Read OnlyMemory), RAS (RAM, Random Access Memory), disk or CD etc.
What should explain at last is: above embodiment is only in order to technical scheme of the present invention to be described but not limit it; Although the present invention has been carried out detailed explanation with reference to preferred embodiment; Those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement technical scheme of the present invention, also can not make amended technical scheme break away from the spirit and the scope of technical scheme of the present invention and these are revised or be equal to replacement.