Background technology
, the safety general for rail traffic signal system safety-related equipment offer one of security platform and reliable hardware and software application development platform.In final signal application (son) system, such as vehicle-mounted ATP, computer interlock (CI), train control center/zone controller etc., each equipment main security function is realized by the application software of security platform bottom software and hardware and secondary development.In each terminal applies subsystem, the application software of terminal use is far from each other, and the combination of each terminal use's application software and security platform also differs.At present, rail traffic signal system safety computer platform is the application software adapting to each terminal use, and greatly regardless of the mode taking amendment platform software, individual other meeting revises security platform related hardware according to end user requirements.
Rail traffic signal system safety computer platform (hereinafter referred to as security platform) is under different application scene, the application problem of its process is had nothing in common with each other, the application program that different application problems uses is likely to widely different (be likely to be diverse application and process software), if different application programs all must use special hardware, then security platform can not compliant applications software.Security platform necessarily possesses the ability of compatible end user application software.
The existing security platform of rail traffic signal system and the combination of terminal use's application software, generally require software or the hardware of amendment security platform.Whenever terminal use changes application software, it is likely to software or the hardware of amendment security platform, so too high for the maintenance cost of platform.For solving the problem of compatible end user application software, security platform must do special design.
Summary of the invention
The brief overview of one or more aspect given below is to provide the basic comprehension to these aspects.This summarizes the extensive overview of the not all aspect contemplated, and is both not intended to identify the key or decisive key element also non-scope attempting to define any or all aspect of all aspects.Its some concepts being uniquely intended to provide in simplified form one or more aspect think the sequence of more detailed description given later.
It is an object of the invention to solve the problems referred to above, it is provided that the main frame plug-in unit of a kind of safety computer platform compliant applications software, the application software of energy compatible end user, the application program making terminal use can stand-alone development.
The technical scheme is that the main frame plug-in unit that present invention is disclosed a kind of safety computer platform compliant applications software, main frame plug-in unit is the integrated plug-in unit integrated by plateform system host module, multi-interface communication module, safe Analog input mModule, secure digital amount input module, secure digital amount output module, safety frequency amount input module, safety track signal processing module, Universal Die analog quantity input/output module, general digital quantity input/output module, plateform system host module externally provide software interface to carry out secondary development for application software.
One embodiment of the main frame plug-in unit of the safety computer platform compliant applications software according to the present invention, the target program process sequential running the Application Software Program comprising user on plateform system host module is: carries out initial phase after plateform system host module powers on, enters normal cycle and run after initial phase terminates.
One embodiment of the main frame plug-in unit of the safety computer platform compliant applications software according to the present invention, first carries out the initialization of safety computer platform in initial phase, then carries out the initialization of the Application Software Program of user.
One embodiment of the main frame plug-in unit of the safety computer platform compliant applications software according to the present invention, carries out land period in the normal cycle operation phase respectively and processes and user's period treatment.
One embodiment of the main frame plug-in unit of the safety computer platform compliant applications software according to the present invention, plateform system host module provides two function interfaces, one of them function interface for completing the initialization of the Application Software Program of user at initial phase, and another function interface is for completing user's period treatment in the normal cycle operation phase.
The present invention contrasts prior art following beneficial effect: the safety computer platform of the present invention is by the logical process function modeling of system out, entity turns to platform host plug-in unit (SM), platform host plug-in unit provides the interface of software secondary development, the application program making terminal use can stand-alone development, the main frame plug-in unit compatible subscribers program of safety computer platform so that different terminals user can use identical to safety computer platform main frame and the software secondary development interface of offer.
Detailed description of the invention
After reading the detailed description that embodiment of the disclosure in conjunction with the following drawings, it is possible to be more fully understood that features described above and the advantage of the present invention.In the accompanying drawings, each assembly is not necessarily drawn to scale, and the assembly with similar correlation properties or feature is likely to be of same or like accompanying drawing labelling.
The logical structure of the safety computer platform of rail traffic signal system can be abstracted into positionality as shown in Figure 1, peripheral signal collection aspect has safe analog input SAI, secure digital amount input SDI, secure digital amount output SDO, safety frequency amount input SFI, safety track signal processing STSP, Universal Die analog quantity input and output GAIO, general digital quantity input and output GDIO, multi-interface communication MIC is responsible for interim data, and plateform system main frame SM is responsible for terminal applies and processes.
Embodiments of the invention logical structure according to Fig. 1, turns to one piece of feature card by each process modular entity, i.e. the embodiment of the main frame plug-in unit of the safety computer platform compliant applications software shown in Fig. 2.The main frame plug-in unit of the present embodiment, by the integrated integrated plug-in unit of plateform system host module 1, multi-interface communication module 2, safe Analog input mModule 3, secure digital amount input module 4, secure digital amount output module 5, safety frequency amount input module 6, safety track signal processing module 7, Universal Die analog quantity input/output module 8, general digital quantity input/output module 9, is externally provided software interface to carry out secondary development for application software by plateform system host module 1.The software interface that terminal use provides according to plateform system host module 1 carries out application and development, and for different terminal uses, the software interface that plateform system host module 1 provides is identical.
Plateform system host module 1 runs the target program comprising user program and processes sequential.As it is shown on figure 3, plateform system host module 1 powers on after (Powerup), program enters initial phase (Initialization), first carries out the initialization of security platform program, then carries out user program initialization process.Initial phase enters normal cycle after terminating and runs (NormalCycle), and this stage is run according to cycle partition loops, and each cycle is divided into land period to process and two parts of user's period treatment.In initial phase and normal cycle operation phase, all called user by platform program and process program.Plateform system host module 1 provides two function interfaces to realize for terminal use, and namely initial phase has been used for the interface of " user program initialization ", and the normal cycle operation phase completes the interface of " user's period treatment ".
Those skilled in the art will further appreciate that, the various illustrative logic plates, module, circuit and the algorithm steps that describe in conjunction with the embodiments described herein can be embodied as electronic hardware, computer software or combination of the two.For clearly explaining orally this interchangeability of hardware and software, various illustrative components, frame, module, circuit and step are done vague generalization with its functional form herein above and are described.This type of is functional is implemented as hardware or software depends on specifically applying and putting on the design constraint of total system.Technical staff can realize described functional for every kind of application-specific by different modes, but such realize decision-making and should not be interpreted to and cause departing from the scope of the present invention.
The various illustrative logic plates, module and the circuit that describe in conjunction with presently disclosed embodiment can realize with general processor, digital signal processor (DSP), special IC (ASIC), field programmable gate array (FPGA) or other PLD, discrete door or transistor logic, discrete nextport hardware component NextPort or its any combination being designed to carry out function described herein or perform.General processor can be microprocessor, but in alternative, this processor can be the processor of any routine, controller, microcontroller or state machine.Processor is also implemented as the combination of computing equipment, for instance one or more microprocessors that DSP cooperates with DSP core with the combination of microprocessor, multi-microprocessor or any other this type of configuration.
The method described in conjunction with embodiment disclosed herein or the step of algorithm can be embodied directly in hardware, in the software module performed by processor or embody in combination of the two.Software module can reside in the storage medium of RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, depositor, hard disk, removable dish, CD-ROM or any other form known in the art.Exemplary storage medium is coupled to processor so that this processor can read and write information from/to this storage medium.In alternative, storage medium can be integrated into processor.Processor and storage medium can reside in ASIC.ASIC can reside in user terminal.In alternative, processor and storage medium can be resident in the user terminal as discrete assembly.
In one or more exemplary embodiments, described function can realize in hardware, software, firmware or its any combination.If being embodied as computer program in software, then each function can store on a computer-readable medium as one or more bar instructions or code or mat its transmit.Computer-readable medium includes computer-readable storage medium and communication media, and it includes any medium facilitating computer program to shift to another ground from a ground.Storage medium can be any usable medium that can be accessed by the computer.Exemplarily non-limiting, such computer-readable medium can include RAM, ROM, EEPROM, CD-ROM or other optical disc storage, disk storage or other magnetic storage apparatus, the desirable program code that maybe can be used to carry or store instruction or data structure form and other medium any that can be accessed by the computer.Any connection is also properly termed a computer-readable medium.Such as, if software is to use coaxial cable, fiber optic cables, twisted-pair feeder, numeral subscriber's line (DSL) or the wireless technology of such as infrared, radio and microwave etc from web site, server or other remote source transmission, then the wireless technology of this coaxial cable, fiber optic cables, twisted-pair feeder, DSL or such as infrared, radio and microwave etc is just included among the definition of medium.Dish as used herein (disk) and dish (disc) include compact disc (CD), laser dish, laser disc, digital versatile dish (DVD), floppy disk and blu-ray disc, its mid-game (disk) often reproduces data in the way of magnetic, and dish (disc) reproduces data optically with laser.Combinations of the above also should be included within the scope of computer readable media.
Thering is provided of this disclosure being previously described is for making any person skilled in the art all can make or use the disclosure.Various amendment of this disclosure all will be apparent from for a person skilled in the art, and the generic principles defined herein can be applied to other variants spirit or scope without departing from the disclosure.Thus, the disclosure is not intended to be limited to example described herein and design, but with disclosed herein principle and novel features consistent the widest scope should be awarded.