Summary of the invention
The invention provides a kind of train network control system and application program method for down loading, for improving the efficiency that application program is downloaded.
One aspect of the present invention is to provide a kind of train network control system, and described train network control system comprises central control unit and at least one electrical control equipment, and described train network control system, also comprises:
Download equipment, is connected with described central control unit, and for sending download command to described central control unit, described download command is used to indicate the first application software that the storage of described download equipment this locality downloaded by electrical control equipment;
Described central control unit, is connected by bus, for forwarding described download command to the electrical control equipment indicated by described download command between each described electrical control equipment in described central control unit and at least one electrical control equipment described;
Described electrical control equipment, for when receiving described download command, downloads described first application software by described central control unit from described download equipment.
Another aspect of the present invention is to provide a kind of application program method for down loading, comprising:
Download equipment sends download command to central control unit, and described download command is used to indicate the first application software that the storage of described download equipment this locality downloaded by electrical control equipment;
Described central control unit forwards described download command to the electrical control equipment indicated by described download command;
Described electrical control equipment, when receiving described download command, downloads described first application software by described central control unit from described download equipment.
Train network control system provided by the invention and application program method for down loading, download command is sent to central control unit by download equipment, and then central control unit forwards this download command to the electrical control equipment indicated by download command, electrical control equipment is when receiving the download command of this forwarding, the first application software is downloaded from download equipment by central control unit, thus achieve each electrical control equipment and all downloaded from download equipment by central control unit, avoid in prior art need debugging maintenance personnel to prepare download cable that each is adapted to different application download interface, the process of application program download is carried out to each electrical control equipment position, improve application program download efficiency.
Embodiment
The structural representation of the train network control system that Fig. 1 provides for one embodiment of the invention, as shown in Figure 1, comprise: central control unit 11, at least one electrical control equipment 12 and download equipment 13, central control unit 11 is connected with download equipment 13, is connected between central control unit 11 and each electrical control equipment 12 by bus.
Download equipment 13, for sending download command to described central control unit 11, described download command is used to indicate the first application software that the storage of described download equipment 13 this locality downloaded by electrical control equipment 12.
Wherein, download equipment 13 can be portable notebook computer.
Central control unit 11, for forwarding described download command to the electrical control equipment 12 indicated by download command.
Concrete, described download command resolved by central control unit 11, obtains the physical address of the described electrical control equipment entrained by download command, according to the physical address of described electrical control equipment, forwards described download command to described electrical control equipment.
Electrical control equipment 12, for when receiving described download command, downloads described first application software by described central control unit 11 from described download equipment 13.
Electrical control equipment 12 specifically can be traction control unit (Traction Control Unit, TCU), brak control unit (Brake Control Unit, BCU), train data recorder (Event Record Module, ERM), Auxiliary converter control unit (Auxiliary Control Unit, ACU), train broadcasting system (Public Address, PA), pyrotechnics warning system (Fire Alarm System, FAS), heating and ventilation and air-conditioning system (Heating Ventilating And Air Conditioning, HVAC), train automatic controlling system (Automatic Train Control, ATC), door control unit (Door Control Unit, DCU), man-machine interaction (Human Machine Interface, and/or remote input output module (Remote Input Output Module HMI), RIOM).
Further, connected by bus between central control unit 11 and electrical control equipment 12, this bus comprises: Ethernet, controller area network, wired train bus (Wire Train Bus, WTB) at least one, in (World Factory Instrumentation Protocol, WorldFIP) and double-unit traction controller.Be connected by download cable between download equipment 13 with central control unit 11, the interface at these download cable two ends respectively with the interface of download equipment 13 and central control unit 11 to mating.
In the present embodiment, download command is sent to central control unit by download equipment, and then central control unit forwards this download command to the electrical control equipment indicated by download command, electrical control equipment is when receiving the download command of this forwarding, the first application software is downloaded from download equipment by central control unit, thus achieve each electrical control equipment and all downloaded from download equipment by central control unit, avoid in prior art need debugging maintenance personnel to prepare download cable that each is adapted to different application download interface, the process of application program download is carried out to each electrical control equipment position, improve application program download efficiency.
The structural representation of the central control unit that Fig. 2 provides for another embodiment of the present invention, as shown in Figure 2, on the basis of a upper embodiment, the central control unit 11 in the present embodiment, comprises further: interface module 211 and forwarding module 212.
Interface module 211, for receiving described download command.
Forwarding module 212, is connected with described interface module 211, for forwarding described download command to the electrical control equipment indicated by described download command, downloads described first application software to make the electrical control equipment indicated by described download command.
Further, the forwarding module 212 in central control unit 11, comprising: analyzing sub-module 2121 and transmission submodule 2122.
Analyzing sub-module 2121, for resolving described download command, obtains the physical address of the described electrical control equipment entrained by described download command.
Send submodule 2122, be connected with described analyzing sub-module 2121, according to the physical address of described electrical control equipment 12, forward described download command to described electrical control equipment 12.
Further, the structural representation of the electrical control equipment that Fig. 3 provides for another embodiment of the present invention, as shown in Figure 3, electrical control equipment 12 comprises:
Receiver module 321, for receiving the download command that described central control unit 11 forwards;
Download module 322, is connected with described receiver module 321, after receiving described download command, downloads described first application software by central control unit 11 for receiver module 321.
Further, electrical control equipment 12, also comprises: memory module 323, installation module 324 and Unload module 325.
Memory module 323, is connected with described download module 322, for storing described first application software that described download module 322 is downloaded;
Installation module 324, is connected with described memory module 323, for installing the first application software stored in described memory module 323.
Unload module 325, is connected with described installation module 324, before installing described first application software, unloads mounted second application software for described installation module 324.
In the present embodiment, download command is sent to central control unit by download equipment, and then central control unit forwards this download command to the electrical control equipment indicated by download command, electrical control equipment is when receiving the download command of this forwarding, the first application software is downloaded from download equipment by central control unit, thus achieve each electrical control equipment and all downloaded from download equipment by central control unit, avoid in prior art need debugging maintenance personnel to prepare download cable that each is adapted to different application download interface, the process of application program download is carried out to each electrical control equipment position, improve application program download efficiency.
The schematic flow sheet of the application program method for down loading that Fig. 4 provides for one embodiment of the invention, as shown in Figure 4, comprising:
401, download equipment sends download command to central control unit.
Wherein, download command is used to indicate the first application software that the storage of described download equipment this locality downloaded by electrical control equipment.
402, central control unit forwards download command to the electrical control equipment indicated by download command.
Optionally, download command resolved by central control unit, obtains the physical address of the electrical control equipment entrained by download command, according to the physical address of described electrical control equipment, forwards described download command to described electrical control equipment.
403, electrical control equipment is when receiving described download command, downloads the first application software by described central control unit from download equipment.
Further, electrical control equipment, when receiving described download command, is downloaded after described first application software from download equipment by described central control unit, is also comprised: electrical control equipment stores described first application software downloaded; Described first application software stored is installed.
Further, before described first application software stored installed by electrical control equipment, mounted second application software of electrical control equipment unloading.
In the present embodiment, download command is sent to central control unit by download equipment, and then central control unit forwards this download command to the electrical control equipment indicated by download command, electrical control equipment is when receiving the download command of this forwarding, the first application software is downloaded from download equipment by central control unit, thus achieve each electrical control equipment and all downloaded from download equipment by central control unit, avoid in prior art need debugging maintenance personnel to prepare download cable that each is adapted to different application download interface, the process of application program download is carried out to each electrical control equipment position, improve application program download efficiency.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that programmed instruction is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.