CN107491304A - A kind of method that SIU driving functions are realized based on IPSM and IO control panels - Google Patents

A kind of method that SIU driving functions are realized based on IPSM and IO control panels Download PDF

Info

Publication number
CN107491304A
CN107491304A CN201710665847.5A CN201710665847A CN107491304A CN 107491304 A CN107491304 A CN 107491304A CN 201710665847 A CN201710665847 A CN 201710665847A CN 107491304 A CN107491304 A CN 107491304A
Authority
CN
China
Prior art keywords
siu
ipsm
driving
configuration
electronic equipment
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
CN201710665847.5A
Other languages
Chinese (zh)
Other versions
CN107491304B (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.)
Inspur Financial Information Technology Co Ltd
Original Assignee
Inspur Financial Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Financial Information Technology Co Ltd filed Critical Inspur Financial Information Technology Co Ltd
Priority to CN201710665847.5A priority Critical patent/CN107491304B/en
Publication of CN107491304A publication Critical patent/CN107491304A/en
Application granted granted Critical
Publication of CN107491304B publication Critical patent/CN107491304B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The present invention is a kind of method that SIU driving functions are realized based on IPSM and IO control panels, and this method comprises the following steps:Establish configuration file in SIU driving layers, configuration file include all electronic equipments that SIU drivings layer SP define and with the one-to-one configuration item information of the electronic equipment;The Configuration Values of the electronic equipment defined in configuration file and its configuration item;The digital signature of electronic equipment is obtained, and digital signature is sent to SIU to the digital content provider SP for driving layer, digital signature includes electronic device identification number and sequence number;All electronic equipments that SIU driving layers define in configuration file to SP configure, and establish and contact with bottom hardware input and output, realize the function setting of electronic equipment.It is an advantage of the invention that ingenious in design, reasonable idea, disclosure satisfy that and call different hardware configurations using identical driving, and then realize the versatility of IPSM and IO control panel drivers.

Description

A kind of method that SIU driving functions are realized based on IPSM and IO control panels
Technical field
The present invention relates to a kind of method that SIU driving functions are realized based on IPSM and IO control panels, belongs to finance self-help end Hold technical field.
Background technology
With the development of science and technology opening and the keen competition environment of the self-service business of financial industry so that self-service device obtains To being widely applied, can be provided for client it is more effective, more easily service.At present, due to the control module of shortage specification Standard, substantial amounts of money and time are wasted on the integration of machinery equipment, Installation And Test.
According to the applicant understood, the configuration to indicator lamp and sensor in the market is increasingly intended to use IPSM (IPSM, full name Smart Power Module) and IO control panels (IO, full name input and output), IPSM mainly uses mould in current project Indicator lamp, sensor, extension the IO input/output functions and the power supply of equipment complete machine power supply, UPS, temperature detection and alarm etc. of block Function, IO control panels are mainly using input/output functions such as the indicator lamp of module and sensors.To other by mainboard or other Mode realizes that the function of input and output is fewer and fewer, and substantially without using SIU interfaces (SIU, the Signaling of standard Interface Unit, are sensors based on XFS interface specifications and pointer device class standard interface, XFS are financial service Extension) call, cause the existing inadequate specification of finance self-help terminal interface.Therefore, under the present circumstances, there is an urgent need to a kind of high Performance standard interface is realized and IPSM and IO control panels is uniformly controlled.
In addition, though the SIU driving layer standard interface definition indicator lamps and sensor of fixed qty, but actually on The specifically used number of layer application system or position are unfixed, and each equipment is specifically to be controlled using IPSM or IO Plate, or it is also unfixed that two control panels, which use,.Meanwhile control of the SIU driving layers to indicator lamp and sensor can only Single bottom module is individually controlled, SIU drivers can not be general in some projects.
The content of the invention
It is an object of the invention to:For above-mentioned the shortcomings of the prior art, and the usage trend based on bottom hardware And advantage is ground certainly, a kind of method that SIU driving functions are realized based on IPSM and IO control panels is proposed, this method configures by setting File, for different bottom hardwares, realize the versatility of SIU drivers under various circumstances.
In order to reach object above, technical scheme is as follows:It is a kind of to realize that SIU drives based on IPSM and IO control panels The method of dynamic function, comprises the following steps:
The first step, in SIU driving layers establish configuration file, the configuration file include SIU drivings layer SP define it is all Electronic equipment and with the one-to-one configuration item information of the electronic equipment;
The Configuration Values of second step, the electronic equipment defined in configuration file and its configuration item, the configuration item include IPSM, IPSM extends IO and IO control panels;
3rd step, the digital signature for obtaining electronic equipment, and digital signature is sent to SIU and drives the digital content of layer to carry Supplier SP, the digital signature include electronic device identification number and sequence number;
All electronic equipments that 4th step, SIU driving layers define in configuration file to SP configure, with bottom hardware Contact is established in input and output, realizes the function setting of electronic equipment.
The SP (Service Provider, digital content provider) of SIU drivings layer of the present invention defines the electricity of fixed qty After sub- equipment, by configurable mode, all SP electronic equipments defined are configured in configuration file, to determine bottom Using module (such as IPSM, IPSM extension IO, IO control panel) type and position, the number of specifically used electronic equipment, and then Realize that bottom IPSM and IO control panel complete the input/output function of bottom hardware together alone or synergistically.
The technical scheme that the present invention further refines is as follows:
Preferably, in second step, IPSM Configuration Values are set as M, IPSM extension IO Configuration Values are N, IO control panel Configuration Values For K, the Configuration Values of electronic equipment item are J.It is further preferred that when configuration item is IPSM, electronic equipment item Configuration Values J spans are 0~12;When configuration item is that IPSM extends IO, the Configuration Values J spans of electronic equipment item For EX0~EX3;When configuration item is IO control panels, the Configuration Values J spans of electronic equipment item are IO1~IO8.
Preferably, in the 4th step, all electronic equipments for being defined in configuration file to SP of SIU driving layers are configured Specific method is as follows:
(1) serial number i, the i value for pre-defining electronic equipment are 0,1,2 ..., and m (m is positive integer), SIU drive layer to read Configuration file is taken to obtain the sequence number of electronic equipment, and whether the electronic equipment sequence number for judging to read according to (1) formula is pre-defined Span in,
0≤i < m+1 (1)
If 0≤i < m+1, i values are in pre-defined span, into step (2), otherwise end operation;
(2) SIU drives layer to read configuration file and obtains the Configuration Values J of electronic equipment item, and judges J according to (2) formula It is worth whether in pre-defined span,
IO1≤J≤IO8 or 0≤J < 13 or EX0≤J≤EX3 (2)
If IO1≤J≤IO8, using IO control panel Configuration Values, into step (3), if 0≤J < 13, are configured using IPSM Value, into step (4), if EX0≤J≤EX3, IO Configuration Values are extended using IPSM, into step (5);
(3) it is 1 to preset using the output state that controls during IO control panel Configuration Values, and control input state is 0, SIU Drive layer to read configuration file and obtain IO control panel Configuration Values K, and judge whether SIU driving layers perform IO controls according to (3) formula Plate controls,
K=1 or K=0 (3)
If K=1, SIU driving layer perform IO control panel output controls, if K=0, SIU driving layer perform IO control panels Input control;
(4) it is 1 to preset using the output state that controls during IPSM Configuration Values, and control input state drives for 0, SIU Layer reads configuration file and obtains IPSM Configuration Values M, and judges whether SIU driving layers perform IPSM controls according to (4) formula,
M=1 or M=0 (4)
If M=1, SIU driving layer perform IPSM output controls, if M=0, SIU driving layer perform IPSM input controls System;
(5) output state that controls preset when extending IO Configuration Values using IPSM is 1, and control input state is 0, SIU driving layers read configuration file and obtain IPSM extension IO Configuration Values N, and judge whether SIU driving layers perform according to (5) formula IPSM extension IO controls,
Or
If M=1 and N=1, SIU driving layer execution IPSM extension IO output controls, if M=0 and N=0, SIU driving Layer performs IPSM extension IO input controls.
The above method can realize the calling to each hardware module by configuration file.
It is further preferred that in the step (1), SIU driving layers read configuration file to obtain the mark of electronic equipment Number, and verify whether electronic device identification number exceeds the identification number range of definition, if without departing from the identification number range of definition, SIU drivings Layer continues to read the sequence number that configuration file obtains electronic equipment, if exceeding the identification number range of definition, operation terminates.
Still further preferably, the electronic equipment is sensor and indicator class of electronic devices, including indicator lamp and biography Sensor.
Still more preferably, when electronic equipment is indicator lamp, SIU driving layers set the specific method of LED status It is as follows:
1. serial number i, the i value of pre-defined indicator lamp are 0,1,2 ..., and 15, SIU driving layers read configuration file acquisition The sequence number of indicator lamp, and whether the indicator lamp sequence number for judging to read according to (6) formula in pre-defined span,
0≤i < 16 (6)
If 0≤i < 16, the indicator lamp sequence number read into step 2., is otherwise tied in pre-defined span Beam operates;
Whether 2. SIU driving layers read configuration file and obtain indicator lamp Configuration Values J, and judge J values advance according to (2) formula In the span of definition,
IO1≤J≤IO8 or 0≤J < 13 or EX0≤J≤EX3 (2)
If IO1≤J≤IO8, using IO control panel Configuration Values, into step 3., if 0≤J < 13, are configured using IPSM Value, into step 4., if EX0≤J≤EX3, IO Configuration Values are extended using IPSM, into step 5., otherwise operation terminates;
3. it is that 1, SIU drives layer to read configuration file acquisition to preset using output state during IO control panel Configuration Values IO control panel Configuration Values K, and judge whether SIU driving layers perform IO control panel output controls according to (7) formula,
K=1 (7)
If K=1, SIU driving layer perform the setting of IO control panel output states, otherwise operation terminates;
4. it is that 1, SIU drives layer to read configuration file acquisition IPSM to preset using output state during IPSM Configuration Values Configuration Values M, and judge whether SIU driving layers perform IPSM output controls according to (8) formula,
M=1 (8)
If M=1, the setting of IPSM output states is performed, otherwise operation terminates;
Obtained 5. presetting output state when extending IO Configuration Values using IPSM and driving layer to read configuration file for 1, SIU Take IPSM to extend IO Configuration Values N, and judge whether SIU driving layers perform IPSM extension IO output controls according to (9) formula,
M=1 and N=1 (9)
If M=1 and N=1, SIU driving layer perform the setting of IPSM extension IO output states, otherwise operation terminates.
Because the SP of the SIU driving layers indicator lamp quantities defined are fixed, but bottom uses module and specific instruction The position of lamp, number are unfixed, it is necessary to all indicator lamps using the above method in configuration file by being defined to SP (sensor) is configured, and incidence relation, realization pair are established with this and each module of bottom and each hardware input and output pin of bottom The setting of functions of indicator light.
Preferably, there is step a before step is 1.:
A, the identification number for presetting indicator lamp is LIGHTNO (i), and SIU driving layers read configuration file to obtain instruction The identification number of lamp, and verify whether indicator lamp identification number exceeds preset range, if without departing from preset range, SIU driving layers continue The sequence number that configuration file obtains indicator lamp is read, if exceeding preset range, operation terminates.
Preferably, in the first step, it is empty that the SIU drivings layer opens up independent common storage in upper system internal memory Between, the input/output state of IPSM, IPSM extension IO, IO control panel and each electronic equipment are corresponded in public memory space Equipment state is assigned with separate storage region, is easy to IPSM and IO control panels to access and update the data.
So, by the configuration of configuration file, it is easy to upper system to obtain the instant of each module to corresponding storage region The immediate status of input/output state and each equipment.
It is an advantage of the invention that ingenious in design, reasonable idea, disclosure satisfy that and call different hardware using identical driving Configuration, and then realize the versatility of IPSM and IO control panel drivers.
Brief description of the drawings
The invention will be further described below in conjunction with the accompanying drawings.
Fig. 1 is the workflow diagram of the present invention.
Fig. 2 is the flow chart that SIU driving layers to electronic equipment configure operation in the present invention.
Fig. 3 is that the SIU based on IPSM and IO control panels drives layer and bottom hardware associated diagram in embodiment one.
Fig. 4 is the flow chart that SIU drivings layer realizes bottom hardware module output control by configuring in embodiment one.
Embodiment
The invention provides a kind of method that SIU driving functions are realized based on IPSM and IO control panels, this method is related to two Individual hardware cell:IPSM and IO control panels, wherein IPSM in kind are virtually two SFU software functional units-IPSM input and output work( Can be with IPSM extension IO input/output functions;IO control panels virtual SFU software functional unit in kind is the input and output of O control panels Function.This method is as shown in figure 1, this method comprises the following steps:
The first step, in SIU driving layers establish configuration file, configuration file includes all electronic equipments that driving layer SP is defined And with the one-to-one configuration item information of electronic equipment.
The Configuration Values of second step, the electronic equipment defined in configuration file and its configuration item, configuration item include IPSM, IPSM Extend IO and IO control panels.Wherein, IPSM Configuration Values are set as M, IPSM extension IO Configuration Values are N, and IO control panel Configuration Values are K, the Configuration Values of electronic equipment item are J.When configuration item is IPSM, electronic equipment corresponds to IPSM Configuration Values J value models Enclose for 0~12;When configuration item is that IPSM extends IO, the Configuration Values J spans that electronic equipment corresponds to IPSM extensions IO are EX0 ~EX3;When configuration item is IO control panels, the Configuration Values J spans that electronic equipment corresponds to IO control panels are IO1~IO8.
3rd step, the digital signature for obtaining electronic equipment, and digital signature is sent to SIU and drives the digital content of layer to carry Supplier SP, digital signature include electronic device identification number and sequence number.
4th step, the actual connection according to electronic equipment, SIU driving layers define all in configuration file to SP Electronic equipment is configured, and is established and is contacted with bottom hardware input and output, realizes the function setting of electronic equipment.As shown in Fig. 2 The specific method that all electronic equipments that SIU driving layers define in configuration file to SP are configured is as follows:
SIU driving layers read configuration file to obtain the identification number of electronic equipment, and whether verify electronic device identification number Beyond the identification number range of definition, if without departing from the identification number range of definition, SIU driving layers continue reading configuration file acquisition electronics and set Standby sequence number, into step (1), if exceeding the identification number range of definition, operation terminates.
(1) serial number i, the i value for pre-defining electronic equipment are 0,1,2 ..., and m (m is positive integer), SIU drive layer to read Configuration file is taken to obtain the sequence number of electronic equipment, and whether the electronic equipment sequence number for judging to read according to (1) formula is pre-defined Span in,
0≤i < m+1 (1)
If 0≤i < m+1, i values are in pre-defined span, into step (2), otherwise end operation;
(2) SIU drives layer to read configuration file and obtains the Configuration Values J of electronic equipment item, and judges J according to (2) formula It is worth whether in pre-defined span,
IO1≤J≤IO8 or 0≤J < 13 or EX0≤J≤EX3 (2)
If IO1≤J≤IO8, using IO control panel Configuration Values, into step (3), if 0≤J < 13, are configured using IPSM Value, into step (4), if EX0≤J≤EX3, IO Configuration Values are extended using IPSM, into step (5), when J values are not above-mentioned In the range of when operation terminate;
(3) it is 1 to preset using the output state that controls during IO control panel Configuration Values, and control input state is 0, SIU Drive layer to read configuration file and obtain IO control panel Configuration Values K, and judge whether SIU driving layers perform IO controls according to (3) formula Plate controls,
K=1 or K=0 (3)
If K=1, SIU driving layer perform IO control panel output controls, if K=0, SIU driving layer perform IO control panels Input control, if K ≠ 1 and K ≠ 0, operation terminates;
(4) it is 1 to preset using the output state that controls during IPSM Configuration Values, and control input state drives for 0, SIU Layer reads configuration file and obtains IPSM Configuration Values M, and judges whether SIU driving layers perform IPSM controls according to (4) formula,
M=1 or M=0 (4)
If M=1, SIU driving layer perform IPSM output controls, if M=0, SIU driving layer perform IPSM input controls System, if M ≠ 1 and M ≠ 0, operation terminates;
(5) output state that controls preset when extending IO Configuration Values using IPSM is 1, and control input state is 0, SIU driving layers read configuration file and obtain IPSM extension IO Configuration Values N, and judge whether SIU driving layers perform according to (5) formula IPSM extension IO controls,
Or
If M=1 and N=1, SIU driving layer execution IPSM extension IO output controls, if M=0 and N=0, SIU driving Layer perform IPSM extension IO input control, if M ≠ 1, M ≠ 0, N ≠ 1, N ≠ 0, then operation terminate.
Wherein, electronic equipment is sensor and indicator class of electronic devices, including indicator lamp and sensor.In addition, SIU drives Dynamic layer opens up public memory space independent, for storing immediate status in upper system internal memory, empty in common storage Between the input/output state of middle corresponding IPSM, IPSM extension IO, IO control panel and the equipment state of each electronic equipment be assigned with Separate storage region, it is easy to IPSM and IO control panels to correspond to SFU software functional unit free access and update the data.
Embodiment one
The present embodiment establishes configuration file, configuration file bag so that the output signal of indicator lamp is set as an example, in SIU driving layers Include all indicator lamps for defining of driving layer SP and with the one-to-one configuration item information of indicator lamp.SIU drives the SP layer lamps of layer Association implementation between number being exported bottom hardware is as shown in figure 3, the indicator lamp defined in configuration file and its corresponding match somebody with somebody The Configuration Values of item are put, configuration item includes IPSM, IPSM extension IO and IO control panels, and when configuration item is IPSM, indicator lamp is corresponding The span of IPSM output Configuration Values is 0~12;When configuration item is that IPSM extends IO, it is defeated that indicator lamp corresponds to IPSM extensions IO The span for going out Configuration Values is EX0~EX3;When configuration item is IO control panels, indicator lamp corresponds to the output configuration of IO control panels The span of value is IO1~IO8.So, layer is driven when setting LED status, according to the actual connection of hardware indicator lamp Situation, good value is configured in configuration file, without considering the type using bottom module.
As shown in figure 4, the present embodiment sets the specific method of indicator lamp output state as follows using SIU driving layers:1. obtain The digital signature of indicator lamp is taken, and digital signature is sent to SIU and drives layer SP, wherein digital signature includes electronic device identification Number and sequence number, set the identification number of indicator lamp as LIGHTNO (i), then use SIU driving layer read configuration file referred to obtaining Show the identification number of lamp, and verify whether indicator lamp identification number exceeds preset range, if exceeding preset range, operation terminates, if Without departing from preset range, SIU driving layers continue to read the sequence number that configuration file obtains indicator lamp.The sequence number of pre-defined indicator lamp For i, i values are 0,1,2 ..., and 15, SIU driving layers read the sequence number that configuration file obtains indicator lamp, and according to (6) formula (i.e. 0≤i < 16) whether the indicator lamp sequence number that judges to read is in pre-defined span, if 0≤i < 16, the indicator lamp read Sequence number is in pre-defined span, into step 2., otherwise end operation.
2. SIU driving layers read configuration file and obtain indicator lamp Configuration Values J, and according to (2) formula (i.e. IO1≤J≤IO8 or 0 ≤ J < 13 or EX0≤J≤EX3) J values are judged whether in pre-defined span, if IO1≤J≤IO8, is controlled using IO Making sheet Configuration Values, into step 3., if 0≤J < 13, using IPSM Configuration Values, into step 4., if EX0≤J≤EX3, use IPSM extends IO Configuration Values, into step 5., operates and terminates when J values are not in above-mentioned span.
3. it is that 1, SIU drives layer to read configuration file acquisition to preset using output state during IO control panel Configuration Values IO control panel Configuration Values K, and judge whether SIU driving layers perform IO control panel output controls according to (7) formula (i.e. K=1), if K =1, then the setting of SIU drivings layer execution IO control panel output states, otherwise operation terminates.
4. it is that 1, SIU drives layer to read configuration file acquisition IPSM to preset using output state during IPSM Configuration Values Configuration Values M, and judge whether SIU driving layers perform IPSM output controls according to (8) formula (i.e. M=1), if M=1, perform The setting of IPSM output states, otherwise operation terminate.
Obtained 5. presetting output state when extending IO Configuration Values using IPSM and driving layer to read configuration file for 1, SIU Take IPSM to extend IO Configuration Values N, and judge whether SIU driving layers perform IPSM extensions IO according to (9) formula (i.e. M=1 and N=1) Output control, if the setting of M=1 and N=1, SIU driving layer execution IPSM extension IO output states, otherwise operation terminate.
So according to demand, the control to indicator lamp output function can be just completed by the above method.In addition, driving layer is right The implementation method that indicator lamp input, sensor input/output state obtain and the setting implementation class to indicator lamp output state Seemingly, and by configuration file directly it is associated with bottom hardware (indicator lamp, sensor) input and output value.
In addition to the implementation, the present invention can also have other embodiment.It is all to use equivalent substitution or equivalent transformation shape Into technical scheme, all fall within the protection domains of application claims.

Claims (9)

  1. A kind of 1. method that SIU driving functions are realized based on IPSM and IO control panels, it is characterised in that comprise the following steps:
    The first step, in SIU driving layers establish configuration file, the configuration file include electronic equipment and with the electronic equipment One-to-one configuration item information;
    The Configuration Values of second step, the electronic equipment defined in configuration file and its configuration item, the configuration item include IPSM, IPSM Extend IO and IO control panels;
    3rd step, the digital signature for obtaining electronic equipment, and digital signature is sent to SIU to the digital content provider for driving layer SP, the digital signature include electronic device identification number and sequence number;
    All electronic equipments that 4th step, SIU driving layers define in configuration file to SP configure, and are inputted with bottom hardware Contact is established in output, realizes the function setting of electronic equipment.
  2. 2. a kind of method that SIU driving functions are realized based on IPSM and IO control panels, its feature are existed according to claim 1 In:In second step, IPSM Configuration Values are set as M, and IPSM extension IO Configuration Values are N, and IO control panels Configuration Values are K, electronic equipment The Configuration Values of configuration item are J.
  3. 3. a kind of method that SIU driving functions are realized based on IPSM and IO control panels, its feature are existed according to claim 2 In:When configuration item is IPSM, the Configuration Values J spans of electronic equipment item are 0~12;When configuration item extends for IPSM During IO, the Configuration Values J spans of electronic equipment item are EX0~EX3;When configuration item is IO control panels, electronic equipment The Configuration Values J spans of configuration item are IO1~IO8.
  4. 4. a kind of method that SIU driving functions are realized based on IPSM and IO control panels, its feature are existed according to claim 3 In in the 4th step, the specific method that all electronic equipments for being defined in configuration file to SP of SIU driving layers are configured is such as Under:
    (1) serial number i, the i value for pre-defining electronic equipment are 0,1,2 ..., and m, SIU drive layer to read configuration file acquisition electricity The sequence number of sub- equipment, and whether the electronic equipment sequence number for judging to read according to (1) formula in pre-defined span,
    0≤i < m+1 (1)
    If 0≤i < m+1, i values are in pre-defined span, into step (2), otherwise end operation;
    (2) SIU drives layer to read configuration file and obtains the Configuration Values J of electronic equipment item, and judges that J values are according to (2) formula It is no in pre-defined span,
    IO1≤J≤IO8 or 0≤J < 13 or EX0≤J≤EX3 (2)
    If IO1≤J≤IO8, using IO control panel Configuration Values, into step (3), if 0≤J < 13, using IPSM Configuration Values, Into step (4), if EX0≤J≤EX3, IO Configuration Values are extended using IPSM, into step (5);
    (3) it is 1 to preset using the output state that controls during IO control panel Configuration Values, and control input state drives for 0, SIU Layer reads configuration file and obtains IO control panel Configuration Values K, and judges whether SIU driving layers perform IO control panel controls according to (3) formula System,
    K=1 or K=0 (3)
    If K=1, SIU driving layer perform IO control panel output controls, if K=0, SIU driving layer perform the input of IO control panels Control;
    (4) it is 1 to preset using the output state that controls during IPSM Configuration Values, and control input state is that 0, SIU drives layer to read Take configuration file to obtain IPSM Configuration Values M, and judge whether SIU driving layers perform IPSM controls according to (4) formula,
    M=1 or M=0 (4)
    If M=1, SIU driving layer perform IPSM output controls, if M=0, SIU driving layer perform IPSM input controls;
    (5) output state that controls preset when extending IO Configuration Values using IPSM is 1, and control input state is driven for 0, SIU Dynamic layer reads configuration file and obtains IPSM extension IO Configuration Values N, and judges whether SIU driving layers perform IPSM and expand according to (5) formula IO controls are opened up,
    <mfenced open = "{" close = ""> <mtable> <mtr> <mtd> <mi>M</mi> <mo>=</mo> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mi>N</mi> <mo>=</mo> <mn>1</mn> </mtd> </mtr> </mtable> </mfenced>
    Or
    <mrow> <mfenced open = "{" close = ""> <mtable> <mtr> <mtd> <mrow> <mi>M</mi> <mo>=</mo> <mn>0</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mi>N</mi> <mo>=</mo> <mn>0</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>-</mo> <mo>-</mo> <mo>-</mo> <mrow> <mo>(</mo> <mn>5</mn> <mo>)</mo> </mrow> </mrow>
    If M=1 and N=1, SIU driving layer perform IPSM extension IO output controls, if M=0 and N=0, SIU driving layer hold Row IPSM extension IO input controls.
  5. 5. a kind of method that SIU driving functions are realized based on IPSM and IO control panels, its feature are existed according to claim 4 In:In the step (1), SIU driving layers read configuration file to obtain the identification number of electronic equipment, and verify electronic equipment Whether identification number exceeds the identification number range of definition, if without departing from the identification number range of definition, SIU driving layers continue to read configuration file The sequence number of electronic equipment is obtained, if exceeding the identification number range of definition, operation terminates.
  6. 6. a kind of method that SIU driving functions are realized based on IPSM and IO control panels, its feature are existed according to claim 4 In:The electronic equipment is sensor and indicator class of electronic devices, including indicator lamp and sensor.
  7. 7. a kind of method that SIU driving functions are realized based on IPSM and IO control panels, its feature are existed according to claim 6 In when electronic equipment is indicator lamp, SIU driving layers set the specific method of LED status as follows:
    1. serial number i, the i value of pre-defined indicator lamp are 0,1,2 ..., and 15, SIU driving layers read configuration file acquisition instruction The sequence number of lamp, and whether the indicator lamp sequence number for judging to read according to (6) formula in pre-defined span,
    0≤i < 16 (6)
    If 0≤i < 16, the indicator lamp sequence number read into step 2., otherwise terminates to grasp in pre-defined span Make;
    Whether 2. SIU driving layers read configuration file and obtain indicator lamp Configuration Values J, and judge J values pre-defined according to (2) formula Span in,
    IO1≤J≤IO8 or 0≤J < 13 or EX0≤J≤EX3 (2)
    If IO1≤J≤IO8, using IO control panel Configuration Values, into step 3., if 0≤J < 13, using IPSM Configuration Values, enter Enter step 4., if EX0≤J≤EX3, extend IO Configuration Values using IPSM, into step 5., otherwise operation terminates;
    3. it is that 1, SIU drives layer to read configuration file acquisition IO controls to preset using output state during IO control panel Configuration Values Making sheet Configuration Values K, and judge whether SIU driving layers perform IO control panel output controls according to (7) formula,
    K=1 (7)
    If K=1, SIU driving layer perform the setting of IO control panel output states, otherwise operation terminates;
    4. it is that 1, SIU drives layer to read configuration file acquisition IPSM configurations to preset using output state during IPSM Configuration Values Value M, and judge whether SIU driving layers perform IPSM output controls according to (8) formula,
    M=1 (8)
    If M=1, the setting of IPSM output states is performed, otherwise operation terminates;
    Obtained 5. presetting output state when IO Configuration Values are extended using IPSM and driving layer to read configuration file for 1, SIU IPSM extends IO Configuration Values N, and judges whether SIU driving layers perform IPSM extension IO output controls according to (9) formula,
    M=1 and N=1 (9)
    If M=1 and N=1, SIU driving layer perform the setting of IPSM extension IO output states, otherwise operation terminates.
  8. 8. a kind of method that SIU driving functions are realized based on IPSM and IO control panels, its feature are existed according to claim 7 In the also step a before step is 1.:
    A, the identification number for presetting indicator lamp is LIGHTNO (i), and SIU driving layers read configuration file to obtain indicator lamp Identification number, and verify whether indicator lamp identification number exceeds preset range, if without departing from preset range, SIU driving layers continue to read Configuration file obtains the sequence number of indicator lamp, if exceeding preset range, operation terminates.
  9. 9. a kind of method that SIU driving functions are realized based on IPSM and IO control panels, its feature are existed according to claim 7 In:In the first step, the SIU drivings layer opens up independent public memory space in upper system internal memory, in common storage The equipment state distribution of the input/output state and each electronic equipment of IPSM, IPSM extension IO, IO control panel is corresponded in space Separate storage region, it is easy to IPSM and IO control panels to access and update the data.
CN201710665847.5A 2017-08-07 2017-08-07 Method for realizing SIU driving function based on IPSM and IO control board Active CN107491304B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710665847.5A CN107491304B (en) 2017-08-07 2017-08-07 Method for realizing SIU driving function based on IPSM and IO control board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710665847.5A CN107491304B (en) 2017-08-07 2017-08-07 Method for realizing SIU driving function based on IPSM and IO control board

Publications (2)

Publication Number Publication Date
CN107491304A true CN107491304A (en) 2017-12-19
CN107491304B CN107491304B (en) 2021-04-09

Family

ID=60645121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710665847.5A Active CN107491304B (en) 2017-08-07 2017-08-07 Method for realizing SIU driving function based on IPSM and IO control board

Country Status (1)

Country Link
CN (1) CN107491304B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254713A (en) * 2018-09-30 2019-01-22 苏州浪潮智能软件有限公司 A kind of method of rapid configuration equipment indicating lamp
CN111935248A (en) * 2020-07-22 2020-11-13 浪潮金融信息技术有限公司 SP remote file transmission method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1469588A (en) * 2002-07-17 2004-01-21 清华同方股份有限公司 Equipment driving device for household control network
CN1737779A (en) * 2005-09-08 2006-02-22 中国工商银行 Method and system for expanding peripherals
US20070055793A1 (en) * 2005-08-03 2007-03-08 Wellsyn Technology, Inc. System of managing peripheral interfaces in IPMI architecture and method thereof
CN101008907A (en) * 2007-01-26 2007-08-01 清华大学 Load-aware IO performance optimization methods based on Bayesian decision
CN102147726A (en) * 2011-04-01 2011-08-10 烽火通信科技股份有限公司 Script-based method for implementing service configuration
CN105988862A (en) * 2015-02-04 2016-10-05 阿里巴巴集团控股有限公司 Distributed transaction processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1469588A (en) * 2002-07-17 2004-01-21 清华同方股份有限公司 Equipment driving device for household control network
US20070055793A1 (en) * 2005-08-03 2007-03-08 Wellsyn Technology, Inc. System of managing peripheral interfaces in IPMI architecture and method thereof
CN1737779A (en) * 2005-09-08 2006-02-22 中国工商银行 Method and system for expanding peripherals
CN101008907A (en) * 2007-01-26 2007-08-01 清华大学 Load-aware IO performance optimization methods based on Bayesian decision
CN102147726A (en) * 2011-04-01 2011-08-10 烽火通信科技股份有限公司 Script-based method for implementing service configuration
CN105988862A (en) * 2015-02-04 2016-10-05 阿里巴巴集团控股有限公司 Distributed transaction processing method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254713A (en) * 2018-09-30 2019-01-22 苏州浪潮智能软件有限公司 A kind of method of rapid configuration equipment indicating lamp
CN109254713B (en) * 2018-09-30 2021-08-31 浪潮金融信息技术有限公司 Method for rapidly configuring equipment indicator lamp
CN111935248A (en) * 2020-07-22 2020-11-13 浪潮金融信息技术有限公司 SP remote file transmission method
CN111935248B (en) * 2020-07-22 2023-12-29 浪潮金融信息技术有限公司 SP remote file transfer method

Also Published As

Publication number Publication date
CN107491304B (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN107003363B (en) Functional verification system for secondary cell managing device
CN103852633B (en) Demand response judging device and demand response judging method thereof
CN105677420A (en) Method and device for interface pin configuration
CN103997079A (en) Electric automobile AC charging pile and application method thereof
CN103870222A (en) Display output control method and electronic device
CN107491304A (en) A kind of method that SIU driving functions are realized based on IPSM and IO control panels
CN105487456B (en) A kind of clutch solenoid valve control circuit and method
CN106842651A (en) The method of testing of display device and display panel
CN103809051B (en) The detection method of switch matrix, Auto-Test System and switch matrix therein
CN103384464A (en) Water-cooling radiating system and radiating method thereof
CN110096291A (en) Power management chip upgrades circuit, method and the network equipment
CN102121977A (en) Method and device for detecting IC (Integrate Circuit) card electric energy meter
CN113094256B (en) BMS software testing method and electronic equipment
CN103675541A (en) Auxiliary device for RFID reader-writer aging tests
CN104900187A (en) LED display board control method, LED display board control device, and LED control card
CN107462800A (en) Bypass diode detection method and system in photovoltaic module
CN207180987U (en) Engine bench test system for head-up display
CN108597475A (en) A kind of system and display of modification display default setting
CN101604278B (en) Method for testing power supply of USB connection port
CN215374021U (en) Multifunctional chip suitable for intelligent instrument and intelligent instrument
CN100399668C (en) Intelligent battery simulating device
CN103019171A (en) Centralized control method of environmental simulation test device
CN207232759U (en) A kind of automatization test system
CN105978128A (en) Power supply module, power supply system and power supply method
CN103324526A (en) Method for calling sensor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant