CN107491304B - Method for realizing SIU driving function based on IPSM and IO control board - Google Patents

Method for realizing SIU driving function based on IPSM and IO control board Download PDF

Info

Publication number
CN107491304B
CN107491304B CN201710665847.5A CN201710665847A CN107491304B CN 107491304 B CN107491304 B CN 107491304B CN 201710665847 A CN201710665847 A CN 201710665847A CN 107491304 B CN107491304 B CN 107491304B
Authority
CN
China
Prior art keywords
siu
ipsm
configuration
value
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.)
Active
Application number
CN201710665847.5A
Other languages
Chinese (zh)
Other versions
CN107491304A (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention relates to a method for realizing an SIU driving function based on an IPSM and an IO control board, which comprises the following steps: establishing a configuration file on an SIU driver layer, wherein the configuration file comprises all electronic equipment defined by an SIU driver layer SP and configuration item information corresponding to the electronic equipment one to one; defining configuration values of the electronic equipment and configuration items thereof in a configuration file; acquiring a digital signature of the electronic equipment, and sending the digital signature to a digital content provider (SP) of an SIU (service side Unit) driving layer, wherein the digital signature comprises an identification number and a serial number of the electronic equipment; and the SIU driving layer configures all electronic equipment defined by the SP in a configuration file, establishes a connection with the input and output of bottom hardware and realizes the function setting of the electronic equipment. The invention has the advantages of ingenious design and reasonable design, can meet the requirement of calling different hardware configurations by adopting the same drive, and further realizes the universality of IPSM and IO control panel drive programs.

Description

Method for realizing SIU driving function based on IPSM and IO control board
Technical Field
The invention relates to a method for realizing an SIU driving function based on an IPSM and an IO control board, and belongs to the technical field of financial self-service terminals.
Background
With the progress of science and technology, the open and fierce competitive environment of self-service business in the financial industry enables self-service equipment to be widely applied, and more effective and more convenient service can be provided for customers. Currently, a significant amount of money and time is wasted on the integration, installation and testing of machine equipment due to the lack of a standardized control module standard.
According to the knowledge of the applicant, the current market trend of configuring the indicator lamps and the sensors is to use the IPSM (IPSM, which is called an intelligent power module) and the IO control board (IO, which is called an input/output), in the current project, the IPSM mainly uses the indicator lamps and the sensors of the modules, the expansion IO input/output function, the power supply of the complete machine of the equipment, the UPS, the temperature detection, the alarm and other functions, and the IO control board mainly uses the input/output functions of the indicator lamps and the sensors of the modules. The functions of other input and output realized by a mainboard or other modes are less and less, and standard SIU interfaces (SIU, Signaling Interface Unit, which are standard interfaces of sensors and indicator devices based on XFS Interface specification, XFS is financial service extension) are not basically used for calling, so that the Interface of the conventional financial self-service terminal is not standard enough. Therefore, in the current environment, a high-performance standard interface is urgently needed to realize the unified control of the IPSM and the IO control board.
In addition, although the SIU driver layer standard interface defines a fixed number of indicator lights and sensors, in practice, the number or location of specific uses of the upper layer application system is not fixed, and it is also not fixed whether each device specifically uses the IPSM or IO control board, or both control boards are used. Meanwhile, the control of the indicating lamp and the sensor by the SIU driving layer can only control a single bottom layer module respectively and independently, and the SIU driving program cannot be used universally in some projects.
Disclosure of Invention
The invention aims to: aiming at the defects in the prior art and based on the use trend and the self-research advantages of bottom hardware, the method for realizing the SIU driving function based on the IPSM and the IO control board is provided, and the method realizes the universality of the SIU driving program under different environments aiming at different bottom hardware by setting the configuration file.
In order to achieve the above purpose, the technical scheme of the invention is as follows: a method for realizing an SIU driving function based on an IPSM and an IO control board comprises the following steps:
firstly, establishing a configuration file on an SIU driving layer, wherein the configuration file comprises all electronic equipment defined by an SIU driving layer SP and configuration item information corresponding to the electronic equipment one by one;
secondly, defining configuration values of the electronic equipment and configuration items thereof in a configuration file, wherein the configuration items comprise IPSM, IPSM extended IO and IO control boards;
thirdly, acquiring a digital signature of the electronic equipment, and sending the digital signature to a digital content provider (SP) of an SIU (substrate integrated unit) driving layer, wherein the digital signature comprises an identification number and a serial number of the electronic equipment;
and fourthly, configuring all electronic equipment defined by the SP in a configuration file by the SIU driving layer, and establishing a connection with the input and output of the bottom hardware to realize the function setting of the electronic equipment.
After a fixed number of electronic devices are defined by the SPs (Service providers) of the SIU driving layer, all the electronic devices defined by the SPs are configured in a configuration file in a configurable mode to determine the types of bottom layer use modules (such as IPSM, IPSM extended IO and IO control boards) and the positions and the number of the specifically used electronic devices, so that the input and output functions of bottom layer hardware can be completed by the bottom layer IPSM and the IO control boards independently or cooperatively.
The technical scheme of the invention for further refining is as follows:
preferably, in the second step, the IPSM configuration value is set to be M, the IPSM extended IO configuration value is set to be N, the IO control board configuration value is set to be K, and the configuration value of the electronic device configuration item is set to be J. Further preferably, when the configuration item is the IPSM, the value range of the configuration value J of the configuration item of the electronic device is 0-12; when the configuration item is IPSM extended IO, the value range of the configuration value J of the electronic equipment configuration item is EX 0-EX 3; when the configuration item is an IO control board, the value range of the configuration value J of the electronic equipment configuration item is IO 1-IO 8.
Preferably, in the fourth step, the specific method for the SIU driver layer to configure all the electronic devices defined by the SP in the configuration file is as follows:
firstly, predefining the serial number of the electronic equipment as i, wherein i takes the values of 0,1 and 2 … m (m is a positive integer), reading the configuration file by the SIU driving layer to obtain the serial number of the electronic equipment, judging whether the read serial number of the electronic equipment is in a predefined value range according to the formula (1),
0≤i<m+1 (1)
if i is more than or equal to 0 and less than m +1, the value of i is in the predefined value range, entering the step (II), and if not, ending the operation;
secondly, the SIU driving layer reads the configuration file to obtain the configuration value J of the configuration item of the electronic equipment, judges whether the J value is in the value range defined in advance according to the formula (2),
j is not less than IO1 and not more than IO8 or not less than 0 and not more than J and not more than 13 or EX0 and not more than J and not more than EX3 (2)
If J is not less than J1 and not more than IO8, using the IO control panel configuration value, entering step (three), if J is not less than 0 and not more than 13, using the IPSM configuration value, entering step (four), if J is not less than EX0 and not more than EX3, using the IPSM to expand the IO configuration value, and entering step (five);
third, presetting the control output state as 1 and the control input state as 0 when using the IO control board configuration value, the SIU driving layer reading the configuration file to obtain the IO control board configuration value K, and judging whether the SIU driving layer executes the IO control board control according to the formula (3),
k-1 or K-0 (3)
If K is equal to 1, the SIU driving layer executes the output control of the IO control board, and if K is equal to 0, the SIU driving layer executes the input control of the IO control board;
(IV) presetting the control output state to be 1 when the IPSM configuration value is used, the control input state to be 0, the SIU driving layer reading the configuration file to obtain the IPSM configuration value M, and judging whether the SIU driving layer executes the IPSM control according to the formula (4),
m1 or M0 (4)
If M is 1, the SIU driving layer performs the IPSM output control, and if M is 0, the SIU driving layer performs the IPSM input control;
fifthly, presetting the control output state to be 1 and the control input state to be 0 when the IPSM expansion IO configuration value is used, the SIU driving layer reads the configuration file to obtain the IPSM expansion IO configuration value N and judges whether the SIU driving layer executes IPSM expansion IO control according to the formula (5),
Figure BDA0001371748590000041
or
Figure BDA0001371748590000042
If M is 1 and N is 1, the SIU driving layer performs the IPSM extended IO output control, and if M is 0 and N is 0, the SIU driving layer performs the IPSM extended IO input control.
The method can realize the calling of each hardware module through the configuration file.
Preferably, in the step (a), the SIU driver layer reads the configuration file to obtain the identification number of the electronic device, and verifies whether the identification number of the electronic device exceeds the identification number definition range, if not, the SIU driver layer continues to read the configuration file to obtain the serial number of the electronic device, and if so, the operation is ended.
Still further preferably, the electronic device is a sensor and indicator type electronic device, including an indicator light and a sensor.
Still preferably, when the electronic device is an indicator light, the specific method for setting the status of the indicator light by the SIU driving layer is as follows:
firstly, predefining the serial number of the indicator light as i, taking the value of i as 0,1,2 … 15, reading the configuration file by the SIU driving layer to obtain the serial number of the indicator light, judging whether the read serial number of the indicator light is in the predefined value range according to the formula (6),
0≤i<16 (6)
if i is more than or equal to 0 and less than 16, the read indicator lamp serial number is in a predefined value range, the step II is carried out, and if not, the operation is ended;
secondly, the SIU driving layer reads the configuration file to obtain the configuration value J of the indicator lamp, judges whether the J value is in the value range defined in advance according to the formula (2),
j is not less than IO1 and not more than IO8 or not less than 0 and not more than J and not more than 13 or EX0 and not more than J and not more than EX3 (2)
If J is not less than J1 and not more than IO8, using the configuration value of the IO control panel, entering a step III, if J is not less than 0 and not more than 13, using the configuration value of IPSM, entering a step IV, if EX0 is not less than J and not more than EX3, using IPSM to expand the configuration value of the IO, entering a step V, otherwise, ending the operation;
thirdly, presetting the output state of the IO control panel configuration value as 1, reading the configuration file by the SIU driving layer to obtain the IO control panel configuration value K, judging whether the SIU driving layer executes the output control of the IO control panel according to the formula (7),
K=1 (7)
if K is equal to 1, the SIU driving layer executes the setting of the output state of the IO control board, otherwise, the operation is finished;
fourthly, the output state when the IPSM configuration value is used is preset to be 1, the SIU driving layer reads the configuration file to obtain the IPSM configuration value M and judges whether the SIU driving layer executes IPSM output control according to the formula (8),
M=1 (8)
if M is 1, the setting of the IPSM output status is performed, otherwise the operation ends;
fifthly, presetting the output state of using the IPSM extended IO configuration value as 1, reading the configuration file by the SIU driving layer to obtain the IPSM extended IO configuration value N, judging whether the SIU driving layer executes IPSM extended IO output control according to the formula (9),
m1 and N1 (9)
If M is 1 and N is 1, the SIU drive layer performs the setting of the IPSM extended IO output state, otherwise the operation ends.
Since the number of the indicator lights defined by the SP of the SIU driver layer is fixed, but the positions and the number of the bottom layer using modules and the specific indicator lights are not fixed, all the indicator lights (sensors) defined by the SP need to be configured in the configuration file by the above method, so as to establish the association relationship with each module of the bottom layer and each hardware input/output pin of the bottom layer, thereby realizing the setting of the functions of the indicator lights.
Preferably, step (a) is further performed before step (i):
a. the identification number of the indicator lamp is preset as LIGHT TNO (i), the SIU driving layer reads the configuration file to obtain the identification number of the indicator lamp and verifies whether the identification number of the indicator lamp exceeds a preset range, if not, the SIU driving layer continues to read the configuration file to obtain the serial number of the indicator lamp, and if so, the operation is finished.
Preferably, in the first step, an independent common storage space is opened in the upper system memory by the SIU driver layer, and mutually independent storage areas are allocated in the common storage space corresponding to the input/output states of the IPSM, the IPSM extended IO and the IO control board and the device states of the electronic devices, so that the IPSM and the IO control board can access and update data conveniently.
Therefore, the configuration of the configuration file is convenient for the upper-layer system to acquire the instant input and output states of the modules and the instant states of the devices from the corresponding storage areas.
The invention has the advantages of ingenious design and reasonable design, can meet the requirement of calling different hardware configurations by adopting the same drive, and further realizes the universality of IPSM and IO control panel drive programs.
Drawings
The invention is further described below with reference to the accompanying drawings.
FIG. 1 is a flow chart of the operation of the present invention.
FIG. 2 is a flowchart illustrating the operation of the SIU driver layer to configure an electronic device according to the present invention.
Fig. 3 is a diagram of association between the SIU driver layer and the underlying hardware based on the IPSM and the IO controller board in the first embodiment.
Fig. 4 is a flowchart illustrating the SIU driver layer implementing output control of the bottom hardware module through configuration according to an embodiment.
Detailed Description
The invention provides a method for realizing an SIU driving function based on IPSM and IO control boards, which relates to two hardware units: the IPSM and IO control board, wherein the IPSM real object is virtualized into two software functional units, namely an IPSM input and output function and an IPSM extended IO input and output function; and the IO control board real object virtual software functional unit is the input and output function of the O control board. The method is shown in fig. 1, and comprises the following steps:
the method comprises the following steps of firstly, establishing a configuration file in an SIU driver layer, wherein the configuration file comprises all electronic equipment defined by a driver layer SP and configuration item information corresponding to the electronic equipment one by one.
And secondly, defining the configuration values of the electronic equipment and configuration items thereof in the configuration file, wherein the configuration items comprise IPSM, IPSM expansion IO and IO control boards. The configuration value of the IPSM is set to be M, the configuration value of the IPSM expansion IO is set to be N, the configuration value of the IO control board is set to be K, and the configuration value of the electronic equipment configuration item is set to be J. When the configuration item is IPSM, the value range of a configuration value J of the electronic equipment corresponding to the IPSM is 0-12; when the configuration item is the IPSM expansion IO, the value range of a configuration value J of the electronic equipment corresponding to the IPSM expansion IO is EX 0-EX 3; when the configuration item is an IO control board, the value range of the configuration value J of the electronic device corresponding to the IO control board is IO 1-IO 8.
And thirdly, acquiring a digital signature of the electronic equipment, and sending the digital signature to a digital content provider (SP) of the SIU driving layer, wherein the digital signature comprises an identification number and a serial number of the electronic equipment.
And fourthly, according to the actual connection condition of the electronic equipment, configuring all electronic equipment defined by the SP in a configuration file by the SIU driving layer, and establishing a connection with the input and output of bottom hardware to realize the function setting of the electronic equipment. As shown in fig. 2, the specific method for the SIU driver layer to configure all the electronic devices defined by the SP in the configuration file is as follows:
and (3) the SIU driving layer reads the configuration file to obtain the identification number of the electronic equipment and verifies whether the identification number of the electronic equipment exceeds the identification number definition range, if not, the SIU driving layer continuously reads the configuration file to obtain the serial number of the electronic equipment, and the step (I) is carried out, and if the identification number definition range is exceeded, the operation is finished.
Firstly, predefining the serial number of the electronic equipment as i, wherein i takes the values of 0,1 and 2 … m (m is a positive integer), reading the configuration file by the SIU driving layer to obtain the serial number of the electronic equipment, judging whether the read serial number of the electronic equipment is in a predefined value range according to the formula (1),
0≤i<m+1 (1)
if i is more than or equal to 0 and less than m +1, the value of i is in the predefined value range, entering the step (II), and if not, ending the operation;
secondly, the SIU driving layer reads the configuration file to obtain the configuration value J of the configuration item of the electronic equipment, judges whether the J value is in the value range defined in advance according to the formula (2),
j is not less than IO1 and not more than IO8 or not less than 0 and not more than J and not more than 13 or EX0 and not more than J and not more than EX3 (2)
If J is not less than J1 and not more than IO8, using the IO control panel configuration value, entering step (three), if J is not less than 0 and not more than 13, using the IPSM configuration value, entering step (four), if EX0 is not more than J and not more than EX3, using the IPSM to expand the IO configuration value, entering step (five), and when the J value is not in the range, ending the operation;
third, presetting the control output state as 1 and the control input state as 0 when using the IO control board configuration value, the SIU driving layer reading the configuration file to obtain the IO control board configuration value K, and judging whether the SIU driving layer executes the IO control board control according to the formula (3),
k-1 or K-0 (3)
If K is equal to 1, the SIU driving layer performs IO control board output control, if K is equal to 0, the SIU driving layer performs IO control board input control, and if K is not equal to 1 and K is not equal to 0, the operation is ended;
(IV) presetting the control output state to be 1 when the IPSM configuration value is used, the control input state to be 0, the SIU driving layer reading the configuration file to obtain the IPSM configuration value M, and judging whether the SIU driving layer executes the IPSM control according to the formula (4),
m1 or M0 (4)
If M is equal to 1, the SIU drive layer performs IPSM output control, if M is equal to 0, the SIU drive layer performs IPSM input control, and if M is not equal to 1 and M is not equal to 0, the operation ends;
fifthly, presetting the control output state to be 1 and the control input state to be 0 when the IPSM expansion IO configuration value is used, the SIU driving layer reads the configuration file to obtain the IPSM expansion IO configuration value N and judges whether the SIU driving layer executes IPSM expansion IO control according to the formula (5),
Figure BDA0001371748590000091
or
Figure BDA0001371748590000092
If M is equal to 1 and N is equal to 1, the SIU drive layer performs IPSM extended IO output control, if M is equal to 0 and N is equal to 0, the SIU drive layer performs IPSM extended IO input control, and if M is not equal to 1, M is not equal to 0, N is not equal to 1, and N is not equal to 0, the operation ends.
The electronic equipment is sensor and indicator type electronic equipment and comprises an indicator light and a sensor. In addition, an independent public storage space for storing the instant state is opened in the upper system memory by the SIU driving layer, and mutually independent storage areas are distributed in the public storage space corresponding to the input and output states of the IPSM, the IPSM extended IO and the IO control board and the equipment state of each electronic equipment, so that the IPSM and the IO control board can freely access and update data corresponding to the software function unit.
Example one
In this embodiment, for example, the output signals of the indicator lamps are set, and a configuration file is established in the SIU driver layer, where the configuration file includes all the indicator lamps defined by the driver layer SP and configuration item information corresponding to the indicator lamps one to one. An association implementation manner between an SP layer lamp number of an SIU driving layer and bottom layer hardware output is shown in FIG. 3, an indicator lamp and a configuration value of a configuration item corresponding to the indicator lamp are defined in a configuration file, the configuration item comprises an IPSM, an IPSM extended IO and an IO control board, and when the configuration item is the IPSM, a value range of the configuration value output by the indicator lamp corresponding to the IPSM is 0-12; when the configuration item is IPSM extended IO, the value range of the configuration value output by the indicating lamp corresponding to the IPSM extended IO is EX 0-EX 3; when the configuration item is an IO control board, the value range of the output configuration value of the IO control board corresponding to the indicator lamp is IO 1-IO 8. Therefore, when the driver layer sets the state of the indicator light, the driver layer configures the value in the configuration file according to the actual connection condition of the hardware indicator light without considering the type of the bottom layer module.
As shown in fig. 4, the specific method for setting the output state of the indicator lamp by using the SIU driving layer in this embodiment is as follows: firstly, acquiring a digital signature of an indicator light, and sending the digital signature to an SIU driving layer SP, wherein the digital signature comprises an electronic equipment identification number and a serial number, the identification number of the indicator light is set to be LIGHT TNO (i), then the SIU driving layer is adopted to read a configuration file to acquire the identification number of the indicator light, whether the identification number of the indicator light exceeds a preset range is verified, if the identification number of the indicator light exceeds the preset range, the operation is finished, and if the identification number of the indicator light does not exceed the preset range, the SIU driving layer continues to read the configuration file to acquire the serial number of the indicator light. The serial number of the indicator lamp is predefined as i, the value of i is 0,1,2 … 15, the SIU driving layer reads the configuration file to obtain the serial number of the indicator lamp, whether the read serial number of the indicator lamp is in the predefined value range is judged according to the formula (6) (i.e. i is more than or equal to 0 and less than 16), if i is more than or equal to 0 and less than 16, the read serial number of the indicator lamp is in the predefined value range, the step II is carried out, and if not, the operation is ended.
And reading the configuration file by the SIU driving layer to obtain an indicator light configuration value J, judging whether the J value is in a predefined value range according to a formula (2) (namely J is not less than IO1 and not more than IO8, J is not less than 0 and not more than 13, or J is not less than EX0 and not more than EX3), if IO1 and not more than J and not more than IO8, using an IO control panel configuration value, entering a step (c), if J is not less than 0 and not more than 13, using an IPSM configuration value, entering a step (c), if EX0 and not more than J and not more than EX3, using the IPSM to expand the IO configuration value, entering a step (c), and finishing the operation when the J value is not in the value range.
And presetting that the output state when the IO control board configuration value is used is 1, reading the configuration file by the SIU driving layer to acquire the IO control board configuration value K, judging whether the SIU driving layer executes the IO control board output control according to a formula (7) (namely, K is 1), and if the K is 1, executing the setting of the IO control board output state by the SIU driving layer, otherwise, finishing the operation.
And fourthly, presetting the output state when the IPSM configuration value is used as 1, reading the configuration file by the SIU driving layer to obtain the IPSM configuration value M, judging whether the SIU driving layer executes IPSM output control according to an equation (8) (namely M is 1), if M is 1, setting the IPSM output state, and otherwise, finishing the operation.
Presetting that the output state when the IPSM expansion IO configuration value is used is 1, reading the configuration file by the SIU driving layer to acquire the IPSM expansion IO configuration value N, and judging whether the SIU driving layer executes IPSM expansion IO output control according to the formula (9) (namely, M is 1 and N is 1), if M is 1 and N is 1, the SIU driving layer executes the setting of the IPSM expansion IO output state, otherwise, the operation is finished.
Therefore, according to the requirement, the control of the output function of the indicator lamp can be completed by the method. In addition, the implementation method of the driver layer for acquiring the input and output states of the indicator light and the sensor is similar to the implementation mode of setting the output state of the indicator light, and is directly related to the input and output values of the bottom hardware (the indicator light and the sensor) through the configuration file.
In addition to the above embodiments, the present invention may have other embodiments. All technical solutions formed by adopting equivalent substitutions or equivalent transformations fall within the protection scope of the claims of the present invention.

Claims (8)

1. A method for realizing an SIU driving function based on an IPSM and an IO control board is characterized by comprising the following steps:
firstly, establishing a configuration file on an SIU driving layer, wherein the configuration file comprises electronic equipment and configuration item information corresponding to the electronic equipment one by one;
secondly, defining configuration values of the electronic equipment and configuration items thereof in a configuration file, wherein the configuration items comprise IPSM, IPSM extended IO and IO control boards;
thirdly, acquiring a digital signature of the electronic equipment, and sending the digital signature to a digital content provider (SP) of an SIU (substrate integrated unit) driving layer, wherein the digital signature comprises an identification number and a serial number of the electronic equipment;
fourthly, the SIU driving layer configures all electronic equipment defined by the SP in a configuration file, establishes a connection with the input and output of bottom hardware and realizes the function setting of the electronic equipment; the specific method for the SIU driver layer to configure all the electronic devices defined by the SP in the configuration file is as follows:
firstly, the serial number of the electronic equipment is predefined to be i, the value of i is 0,1,2 … m, the SIU driving layer reads the configuration file to obtain the serial number of the electronic equipment, and judges whether the read serial number of the electronic equipment is in the predefined value range according to the formula (1),
0≤i<m+1 (1)
if i is more than or equal to 0 and less than m +1, the value of i is in the predefined value range, entering the step (II), and if not, ending the operation;
secondly, the SIU driving layer reads the configuration file to obtain the configuration value J of the configuration item of the electronic equipment, judges whether the J value is in the value range defined in advance according to the formula (2),
j is not less than IO1 and not more than IO8 or not less than 0 and not more than J and not more than 13 or EX0 and not more than J and not more than EX3 (2)
If J is not less than J1 and not more than IO8, using the IO control panel configuration value, entering step (three), if J is not less than 0 and not more than 13, using the IPSM configuration value, entering step (four), if J is not less than EX0 and not more than EX3, using the IPSM to expand the IO configuration value, and entering step (five);
third, presetting the control output state as 1 and the control input state as 0 when using the IO control board configuration value, the SIU driving layer reading the configuration file to obtain the IO control board configuration value K, and judging whether the SIU driving layer executes the IO control board control according to the formula (3),
k-1 or K-0 (3)
If K is equal to 1, the SIU driving layer executes the output control of the IO control board, and if K is equal to 0, the SIU driving layer executes the input control of the IO control board;
(IV) presetting the control output state to be 1 when the IPSM configuration value is used, the control input state to be 0, the SIU driving layer reading the configuration file to obtain the IPSM configuration value M, and judging whether the SIU driving layer executes the IPSM control according to the formula (4),
m1 or M0 (4)
If M is 1, the SIU driving layer performs the IPSM output control, and if M is 0, the SIU driving layer performs the IPSM input control;
fifthly, presetting the control output state to be 1 and the control input state to be 0 when the IPSM expansion IO configuration value is used, the SIU driving layer reads the configuration file to obtain the IPSM expansion IO configuration value N and judges whether the SIU driving layer executes IPSM expansion IO control according to the formula (5),
Figure FDA0002834480130000031
or
Figure FDA0002834480130000032
If M is 1 and N is 1, the SIU driving layer performs the IPSM extended IO output control, and if M is 0 and N is 0, the SIU driving layer performs the IPSM extended IO input control.
2. The method of claim 1, wherein the method for implementing the SIU driving function based on the IPSM and the IO control board comprises: in the second step, the IPSM configuration value is set to be M, the IPSM expansion IO configuration value is set to be N, the IO control panel configuration value is set to be K, and the configuration value of the electronic equipment configuration item is set to be J.
3. The method of claim 2, wherein the method for implementing the SIU driving function based on the IPSM and the IO control board comprises: when the configuration item is IPSM, the value range of a configuration value J of the configuration item of the electronic equipment is 0-12; when the configuration item is IPSM extended IO, the value range of the configuration value J of the electronic equipment configuration item is EX 0-EX 3; when the configuration item is an IO control board, the value range of the configuration value J of the electronic equipment configuration item is IO 1-IO 8.
4. The method of claim 3, wherein the method for implementing the SIU driving function based on the IPSM and the IO control board comprises: in the step (one), the SIU driver layer reads the configuration file to obtain the identification number of the electronic device, and verifies whether the identification number of the electronic device exceeds the identification number definition range, if not, the SIU driver layer continues to read the configuration file to obtain the serial number of the electronic device, and if so, the operation is ended.
5. The method of claim 3, wherein the method for implementing the SIU driving function based on the IPSM and the IO control board comprises: the electronic equipment is sensor and indicator type electronic equipment and comprises an indicator light and a sensor.
6. The method of claim 5, wherein when the electronic device is an indicator light, the specific method for setting the status of the indicator light by the SIU driver layer is as follows:
firstly, predefining the serial number of the indicator light as i, taking the value of i as 0,1,2 … 15, reading the configuration file by the SIU driving layer to obtain the serial number of the indicator light, judging whether the read serial number of the indicator light is in the predefined value range according to the formula (6),
0≤i<16 (6)
if i is more than or equal to 0 and less than 16, the read indicator lamp serial number is in a predefined value range, the step II is carried out, and if not, the operation is ended;
secondly, the SIU driving layer reads the configuration file to obtain the configuration value J of the indicator lamp, judges whether the J value is in the value range defined in advance according to the formula (2),
j is not less than IO1 and not more than IO8 or not less than 0 and not more than J and not more than 13 or EX0 and not more than J and not more than EX3 (2)
If J is not less than J1 and not more than IO8, using the configuration value of the IO control panel, entering a step III, if J is not less than 0 and not more than 13, using the configuration value of IPSM, entering a step IV, if EX0 is not less than J and not more than EX3, using IPSM to expand the configuration value of the IO, entering a step V, otherwise, ending the operation;
thirdly, presetting the output state of the IO control panel configuration value as 1, reading the configuration file by the SIU driving layer to obtain the IO control panel configuration value K, judging whether the SIU driving layer executes the output control of the IO control panel according to the formula (7),
K=1 (7)
if K is equal to 1, the SIU driving layer executes the setting of the output state of the IO control board, otherwise, the operation is finished;
fourthly, the output state when the IPSM configuration value is used is preset to be 1, the SIU driving layer reads the configuration file to obtain the IPSM configuration value M and judges whether the SIU driving layer executes IPSM output control according to the formula (8),
M=1 (8)
if M is 1, the setting of the IPSM output status is performed, otherwise the operation ends;
fifthly, presetting the output state of using the IPSM extended IO configuration value as 1, reading the configuration file by the SIU driving layer to obtain the IPSM extended IO configuration value N, judging whether the SIU driving layer executes IPSM extended IO output control according to the formula (9),
m1 and N1 (9)
If M is 1 and N is 1, the SIU drive layer performs the setting of the IPSM extended IO output state, otherwise the operation ends.
7. The method for implementing the SIU driving function based on the IPSM and IO controller board as claimed in claim 6, wherein the step (r) is preceded by the step (a):
a. the identification number of the indicator lamp is preset as LIGHT TNO (i), the SIU driving layer reads the configuration file to obtain the identification number of the indicator lamp and verifies whether the identification number of the indicator lamp exceeds a preset range, if not, the SIU driving layer continues to read the configuration file to obtain the serial number of the indicator lamp, and if so, the operation is finished.
8. The method of claim 6, wherein the method for implementing the SIU driving function based on the IPSM and the IO control board comprises: in the first step, the SIU driver layer opens up an independent common storage space in the upper system memory, and mutually independent storage areas are allocated in the common storage space corresponding to the input/output states of the IPSM, the IPSM extended IO and the IO control board and the device states of the electronic devices, so that the IPSM and the IO control board can access and update data conveniently.
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 CN107491304A (en) 2017-12-19
CN107491304B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254713B (en) * 2018-09-30 2021-08-31 浪潮金融信息技术有限公司 Method for rapidly configuring equipment indicator lamp
CN111935248B (en) * 2020-07-22 2023-12-29 浪潮金融信息技术有限公司 SP remote file transfer method

Citations (5)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070055793A1 (en) * 2005-08-03 2007-03-08 Wellsyn Technology, Inc. System of managing peripheral interfaces in IPMI architecture and method thereof

Patent Citations (5)

* 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
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

Also Published As

Publication number Publication date
CN107491304A (en) 2017-12-19

Similar Documents

Publication Publication Date Title
KR20130141488A (en) Programmable multimedia controller with flexible user access and shared device configurations
US8397053B2 (en) Multi-motherboard server system
CN104503875A (en) Test method and test system of Android device
CN107491304B (en) Method for realizing SIU driving function based on IPSM and IO control board
CN104054064B (en) Flexible port configuration based on interface coupling
CN103593281A (en) Test system and test method
US20130166896A1 (en) Management system for network card
CN103747031A (en) LED display screen fault network monitor system
US20140013093A1 (en) Pinout adjustment responsive to system orientation
CN103425234A (en) Method for dynamically adjusting picture processing performance and display terminal
US9158609B2 (en) Universal serial bus testing device
CN111211113B (en) Display substrate, manufacturing method thereof, detection method thereof and display device
CN114443445B (en) Hard disk lighting method and device, electronic equipment and storage medium
WO2022088763A1 (en) Display screen having design compatible with flash memory circuit and smart module
CN111124781A (en) Display card testing method and device, electronic equipment and storage medium
US20090144536A1 (en) Monitoring method and monitor apparatus
US20220329779A1 (en) Automatic evaluating apparatus for built-in video recording device of vehicle, system having the same, and method thereof
CN111935405B (en) Camera equipment control method, system, equipment and medium
CN102929767B (en) The acquisition cuicuit of memory bar insert state and the management system of memory bar information
US20130166929A1 (en) Power supply system for memory modules
CN211087073U (en) Embedded industrial control mainboard
US20130154798A1 (en) Electronic device and display method
CN100470499C (en) Automatic displaying method for host end of compute platform memory state data and system therefor
US20130096859A1 (en) Resistance determining system
US7389370B2 (en) Communication module

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