CN102063398B - Board card equipment-based inter-board seamless data exchange method - Google Patents

Board card equipment-based inter-board seamless data exchange method Download PDF

Info

Publication number
CN102063398B
CN102063398B CN2010105908467A CN201010590846A CN102063398B CN 102063398 B CN102063398 B CN 102063398B CN 2010105908467 A CN2010105908467 A CN 2010105908467A CN 201010590846 A CN201010590846 A CN 201010590846A CN 102063398 B CN102063398 B CN 102063398B
Authority
CN
China
Prior art keywords
integrated circuit
data
circuit board
board
plate
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
CN2010105908467A
Other languages
Chinese (zh)
Other versions
CN102063398A (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.)
State Grid Electric Power Research Institute
Original Assignee
State Grid Electric Power Research Institute
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 State Grid Electric Power Research Institute filed Critical State Grid Electric Power Research Institute
Priority to CN2010105908467A priority Critical patent/CN102063398B/en
Publication of CN102063398A publication Critical patent/CN102063398A/en
Application granted granted Critical
Publication of CN102063398B publication Critical patent/CN102063398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Multi Processors (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a board card equipment-based inter-board seamless data exchange method. A master board and slave boards for parking configuration information and management program are adopted in the method. The data exchange method mainly comprises that: the management program resolves the configuration information of a local board card; the slave boards send input information lists acquired by a local board card application module from other board cards and output information supplied to the other board cards to the master board management program; the master board management program establishes a data transmission path graph among the board cards, and sends related input and output information and slave board addresses corresponding to the input and output information one by one to the slave boards; each slave board establishes respective input and output data table; and when the software runs normally, based on the input and output data tables of the slave boards, data to be supplied to the outside are sent to the corresponding board cards, and the data to be acquired are read from the corresponding board cards so as to complete inter-board seamless data exchange. The method enables a software functional module to run on different board cards by tiny configuration operation.

Description

Seamless method for interchanging data between plate based on plate card type equipment
Technical field
The present invention relates to method for interchanging data between a kind of plate of plate card type equipment.
Background technology
The fast development of Along with computer technology, the processing power of CPU increases day by day, on a lot of equipment, all is that single CPU accomplishes all functions.But on some particular application; Be that its task is too complicated really; Be from the safety equal angles, all need many CPU to accomplish the function of certain relative complex jointly, the different piece of same function also need be distributed to different CPU and go up completion in other words conj.or perhaps.In many industrial application, the equipment that the plate card type cabinet is formed is that it is than the typical application method.Each integrated circuit board distributed collaboration of its composition is handled, and promptly the CPU on the different hardware integrated circuit board in equipment accomplishes different functions separately.In the equipment that current many plate card type cabinets are formed, its functional module is divided in relative fixed on each integrated circuit board.When different functions occurring and divide demand, many equipment all need carry out secondary development, and it has not only increased development workload, physical device towards the final user more for a long time, also can bring software version many, the problem that maintenance workload is big.
Summary of the invention
The present invention is directed to the problems referred to above; Overcome the above-mentioned shortcoming of prior art; Propose seamless method for interchanging data between a kind of plate, make certain fixing software function module can lessly be limited to outside constraint condition, be implemented in level and smooth the moving between the different integrated circuit boards in the cabinet based on plate card type equipment.
In order to solve above technical matters; Seamless method for interchanging data between the plate based on plate card type equipment provided by the invention; Related plate card type equipment has data bus, be articulated in mainboard and polylith slave plate on this data bus; Between said mainboard and slave plate, realize data transmission through data bus between slave plate and slave plate; Resident configuration information and the supervisory routine that has separately of said mainboard and slave plate, said configuration information comprise application module and external interface information, input information tabulation, the output information tabulation of this integrated circuit board, and the notebook data switching method comprises the steps:
The first step: hardware initialization;
Second step: operation resides in the supervisory routine on each integrated circuit board, and supervisory routine is resolved the configuration information of this integrated circuit board;
The 3rd step: the supervisory routine of mainboard is sent request command through bus to the supervisory routine of slave plate; Each slave plate is replied this request command successively, and the input information tabulation that this integrated circuit board application module need be obtained from other integrated circuit boards and send to the mainboard supervisory routine to the output information tabulation that other integrated circuit boards provide;
The 4th step: after the information that each slave plate supervisory routine of supervisory routine collection of mainboard is sent; Set up data transfer path figure between integrated circuit board; And according to data transfer path figure between this integrated circuit board, to each slave plate send relevant with it input, output information and with this input, output information slave plate address one to one;
The 5th step: each slave plate is set up inputoutput data table separately according to the information that obtains from mainboard in said the 4th step;
The 6th step: in the software normal course of operation, each integrated circuit board is a foundation with the inputoutput data table of the 5th step gained, and the data that needs externally provide are sent to corresponding integrated circuit board, and the data that needs obtain are read in from corresponding integrated circuit board, accomplishes seamless exchanges data between plate.
The inventive method generates data transfer path figure between integrated circuit board according to the input/output information of each integrated circuit board; Again data transmission is moved towards information and send to slave plate; Slave plate carries out data in view of the above automatically and reads and send; Accomplish the exchange voluntarily of data between each integrated circuit board, software function module can distribute on different integrated circuit boards by using decision more flexibly, thereby realizes smooth migration between the software function module plate.Therefore when concrete the application, software function can make up completion voluntarily by the several piece integrated circuit board, and the secondary development process no longer relates to data transmission between integrated circuit board, has significantly reduced workload, has improved the efficiency of research and development of equipment, reduces cost.
Provide the level and smooth two kinds of methods that move between the software function module plate below:
A. itself be compiled in the program of this integrated circuit board at the integrated circuit board upper module that this software module possibly moved,, whether moved from this module of integrated circuit board decision through the configuration order that issues of mainboard supervisory routine; When producing, also only need the modification configuration file can determine each functional block is moved on which integrated circuit board even if the advantage of this method is a product, shortcoming is to take more relatively FLASH (or hard disk) space.
B. software module is write the back that finishes and is existed with source file or library file, but not finally compiling, just when going out product as required each integrated circuit board compile separately, determine the concrete running plate card position of software module thus.It is little that this method advantage takies FLASH (or hard disk) space; Shortcoming is that the work of general compiling is accomplished by the developer; The workload that the research staff who then increases safeguards, but compared with traditional integrated circuit board software module exploitation of not supporting exchanges data, maintenance workload still reduces a lot.
Because behind equipment operation, the supervisory routine of mainboard card needs task for processing seldom, thereby itself also can be used as from integrated circuit board and move, and what promptly can not cause application software module because of the introducing of mainboard card mobilely lacks an integrated circuit board.
Further, among the present invention, the software program on each integrated circuit board is divided into bsp driver, mid-tier system program, top level application program, and bsp driver is used to accomplish the driving for hardware, and interface is provided for the system program in middle layer; The system program in middle layer under the support of bsp driver, accomplish this integrated circuit board task scheduling, with the exchanges data of other integrated circuit boards; Top level application program is accomplished concrete the application, can be Flame Image Process, voice processing etc.
Further; Among the present invention; The mid-tier system program of each integrated circuit board has the identical functions interface to using software module; Said functional interface comprises data-interface and task scheduling interface, and hereditable, OO method that data-interface is based on makes application software module can on the abstract base class of supervisory routine, increase its concrete application function again; The task scheduling interface is that supervisory routine provides several task scheduling interface functions, is called voluntarily according to demand by application program.This kind data have effectively shielded the demand of concrete function for different integrated circuit boards with the task interface method, so that it can support different application software modules.
Beneficial effect of the present invention is following: the present invention can make that software function module can be so that it operates on the different integrated circuit boards through minimum configuration effort, and this supports the ability of complicated many application functions for largely having improved it in the distributed processing system(DPS) that is easy to expand; Simultaneously, because the integrated circuit board quantity in view of the above can the flexible configuration physical device, thereby it is for cost control in the concrete application, also has very big benefit.
Description of drawings
Below in conjunction with accompanying drawing the present invention is further described.
Fig. 1 is data transmission between embodiment of the invention slave plate (exchange) path synoptic diagram.
Embodiment
With reference to the accompanying drawings and combine embodiment that the present invention is described in further detail.But the invention is not restricted to given example.
Seamless method for interchanging data between the plate of present embodiment based on plate card type equipment; Related plate card type equipment has data bus, be articulated in mainboard and polylith slave plate on this data bus; Between mainboard and slave plate, realize data transmission through data bus between slave plate and slave plate; Resident configuration information and the supervisory routine that has separately of mainboard and slave plate; Said configuration information comprises application module and external interface information, input information tabulation, the output information tabulation of this integrated circuit board, and the notebook data switching method comprises the steps:
The first step: hardware initialization;
Second step: operation resides in the supervisory routine on each integrated circuit board, and supervisory routine is resolved the configuration information of this integrated circuit board;
The 3rd step: the supervisory routine of mainboard is sent request command through bus to the supervisory routine of slave plate; Each slave plate is replied this request command successively, and the input information tabulation that this integrated circuit board application module need be obtained from other integrated circuit boards and send to the mainboard supervisory routine to the output information tabulation that other integrated circuit boards provide;
The 4th step: after the information that each slave plate supervisory routine of supervisory routine collection of mainboard is sent; Set up data transfer path figure between integrated circuit board (with the form of table); And according to data transfer path figure between this integrated circuit board, to each slave plate send relevant with it input, output information and with this input, output information slave plate address one to one;
The 5th step: each slave plate is set up inputoutput data table separately according to the information that obtains from mainboard in said the 4th step;
The 6th step: in the software normal course of operation, each integrated circuit board is a foundation with the inputoutput data table of the 5th step gained, and the data that needs externally provide are sent to corresponding integrated circuit board, and the data that needs obtain are read in from corresponding integrated circuit board, accomplishes seamless exchanges data between plate.
As shown in Figure 1; Illustrated among the figure three (from) integrated circuit board, be respectively CARDx, CARDy, CARDz, be example with slave plate CARDy; It accepts the swap data of treating of CARDx (x integrated circuit board) and CARDz (z integrated circuit board), and sends the result data of data self to CARDx (x integrated circuit board) and CARDz (z integrated circuit board).The supervisory routine of mainboard sends to input information and address (comprising: the address of treating swap data variable name, x integrated circuit board of x integrated circuit board, the address of treating swap data variable name, z integrated circuit board of z integrated circuit board) and output information and address (address of treating swap data variable name, x integrated circuit board of y integrated circuit board, the address of z integrated circuit board) supervisory routine of y integrated circuit board; The y integrated circuit board obtains the swap data of treating of x integrated circuit board to the x integrated circuit board; Obtain the swap data of treating of z integrated circuit board to the z integrated circuit board; And the result of y integrated circuit board (y integrated circuit board treat swap data) sent to x integrated circuit board and z integrated circuit board, thereby realize the seamless exchanges data between integrated circuit board.
Software program on each integrated circuit board is divided into bsp driver, mid-tier system program, top level application program, and bsp driver is used to accomplish the driving for hardware, and interface is provided for the system program in middle layer; The system program in middle layer under the support of bsp driver, accomplish this integrated circuit board task scheduling, with the exchanges data of other integrated circuit boards; Top level application program is accomplished concrete the application.
The mid-tier system program of each integrated circuit board has the identical functions interface to using software module; Said functional interface comprises data-interface and task scheduling interface; Hereditable, OO method that data-interface is based on makes application software module can on the abstract base class of supervisory routine, increase its concrete application function again; The task scheduling interface is that supervisory routine provides several task scheduling interface functions, is called voluntarily according to demand by application program.
Except that the foregoing description, the present invention can also have other embodiments.All employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop on the protection domain of requirement of the present invention.

Claims (2)

1. seamless method for interchanging data between plate based on plate card type equipment; Related plate card type equipment has data bus, be articulated in mainboard and polylith slave plate on this data bus; Between said mainboard and slave plate, realize data transmission through data bus between slave plate and slave plate; Resident configuration information and the supervisory routine that has separately of said mainboard and slave plate; Said configuration information comprises application module and external interface information, input information tabulation, the output information tabulation of this integrated circuit board, and the notebook data switching method comprises the steps:
The first step: hardware initialization;
Second step: operation resides in the supervisory routine on each integrated circuit board, and supervisory routine is resolved the configuration information of this integrated circuit board;
The 3rd step: the supervisory routine of mainboard is sent request command through bus to the supervisory routine of slave plate; Each slave plate is replied this request command successively, and the input information tabulation that this integrated circuit board application module need be obtained from other integrated circuit boards and send to the mainboard supervisory routine to the output information tabulation that other integrated circuit boards provide;
The 4th step: after the information that each slave plate supervisory routine of supervisory routine collection of mainboard is sent; Set up data transfer path figure between integrated circuit board; And according to data transfer path figure between this integrated circuit board, to each slave plate send relevant with it input, output information and with this input, output information slave plate address one to one;
The 5th step: each slave plate is set up inputoutput data table separately according to the information that obtains from mainboard in said the 4th step;
The 6th step: in the supervisory routine normal course of operation; Each integrated circuit board is a foundation with the inputoutput data table of the 5th step gained; The data that needs externally provide are sent to corresponding integrated circuit board, the data that needs obtain are read in from corresponding integrated circuit board, accomplish seamless exchanges data between plate.
2. based on seamless method for interchanging data between the said plate of claim 1 based on plate card type equipment; It is characterized in that: the hypervisor on each integrated circuit board is divided into bsp driver, mid-tier system program, top level application program; Bsp driver is used to accomplish the driving for hardware, and interface is provided for the system program in intermediate layer; The system program in intermediate layer under the support of bsp driver, accomplish this integrated circuit board task scheduling, with the exchanges data of other integrated circuit boards; Top level application program is accomplished concrete the application.
CN2010105908467A 2010-12-16 2010-12-16 Board card equipment-based inter-board seamless data exchange method Active CN102063398B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105908467A CN102063398B (en) 2010-12-16 2010-12-16 Board card equipment-based inter-board seamless data exchange method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105908467A CN102063398B (en) 2010-12-16 2010-12-16 Board card equipment-based inter-board seamless data exchange method

Publications (2)

Publication Number Publication Date
CN102063398A CN102063398A (en) 2011-05-18
CN102063398B true CN102063398B (en) 2012-07-25

Family

ID=43998680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105908467A Active CN102063398B (en) 2010-12-16 2010-12-16 Board card equipment-based inter-board seamless data exchange method

Country Status (1)

Country Link
CN (1) CN102063398B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150187A (en) * 2013-03-18 2013-06-12 航天科工深圳(集团)有限公司 Configuration method and configuration device of network distribution equipment
CN105488985B (en) * 2015-12-29 2021-01-26 国网浙江省电力公司湖州供电公司 Low-voltage acquisition terminal supporting object-oriented communication protocol
CN106502136A (en) * 2016-12-27 2017-03-15 贵州西部丽城生态环境发展有限责任公司 A kind of deodorization fragrant scent machine control system of easy extension
CN107547450B (en) * 2017-07-28 2020-04-17 新华三技术有限公司 Method and device for adding data between boards
CN107632866B (en) * 2017-08-11 2020-06-16 记忆科技(深圳)有限公司 Expandable flash memory mass production device
CN111200561B (en) * 2019-12-31 2022-03-15 奇安信科技集团股份有限公司 Data packet transmission method and device, computer system and readable storage medium
CN111459870A (en) * 2020-03-31 2020-07-28 中国电子科技集团公司第五十四研究所 Self-adaptive loading method for embedded program
CN113836058B (en) * 2021-09-13 2024-06-18 南京南瑞继保电气有限公司 Method, device, equipment and storage medium for exchanging data between boards

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6237056B1 (en) * 2000-07-14 2001-05-22 Videon, Inc. Apparatus and method for high speed board-to board ribbon cable data transfer
CN101581886A (en) * 2009-06-23 2009-11-18 上海微电子装备有限公司 Photoetching machine control system
CN201583945U (en) * 2009-12-02 2010-09-15 天津光电通信技术有限公司 Serial communication system for multiple singlechips based on FPGA

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7352140B2 (en) * 2005-07-26 2008-04-01 Zippy Technology Corp. Master-slave control architecture for inverters

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6237056B1 (en) * 2000-07-14 2001-05-22 Videon, Inc. Apparatus and method for high speed board-to board ribbon cable data transfer
CN101581886A (en) * 2009-06-23 2009-11-18 上海微电子装备有限公司 Photoetching machine control system
CN201583945U (en) * 2009-12-02 2010-09-15 天津光电通信技术有限公司 Serial communication system for multiple singlechips based on FPGA

Also Published As

Publication number Publication date
CN102063398A (en) 2011-05-18

Similar Documents

Publication Publication Date Title
CN102063398B (en) Board card equipment-based inter-board seamless data exchange method
DE102012210582B4 (en) Reduce the impact of failure of an exchange in a switching network by means of circuit cards
CN102508437B (en) Multifunctional electromechanical system simulation method for simulation of airplane power supply control management system
CN101022378A (en) Train communication network management method and apparatus
CN103198034A (en) Hot-plug power management device based on CPCI (compact peripheral component interconnect) bus device board card
CN103902322A (en) System switching method and electronic equipment
CN101685404A (en) Computer and method for dynamically switching equipment in virtual environment
CN101582034B (en) Servo device and servo method for sharing basic input-output system
CN111294413A (en) Method, device and readable medium for determining Internet Protocol (IP) address
TWI244594B (en) Method for automatically assigning the address of communication ports and a blade server system
CN109116934B (en) Extensible combined server storage backplane
CN105634635A (en) Real-time clock (RTC) sharing method, device and system
CN101582036B (en) Servo device and servo method for shared type basic input-output system
CN202472486U (en) Combined mainboard for extending multibus through DDR3 slot
CN100498731C (en) Process for basic input output system supporting vertical card
CN105653482B (en) Super USB controller and working method, system
CN104199622A (en) Hard disk hot plugging design method based on 1U nodes
CN101131709B (en) Distributed circuit layout character face processing method and system thereof
CN107967223B (en) Multi-product line universal code architecture system
CN105068957A (en) Method and apparatus for accessing to slave module in APB bus system
CN100447714C (en) Online switching interfaces of peripheral devices in multitask mode computer
CN201876870U (en) Test system for internal integrated circuit bus and device for internal integrated circuit bus
CN102193850A (en) Time updating system of multi-mainboard server
CN101582035B (en) Servo device and servo method for power supply reset and automatic power on
CN100421049C (en) System main board with extensibility and variability

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant