CN107222329A - The vehicle-mounted broadcast system master control hot spare method of subway - Google Patents

The vehicle-mounted broadcast system master control hot spare method of subway Download PDF

Info

Publication number
CN107222329A
CN107222329A CN201710280988.5A CN201710280988A CN107222329A CN 107222329 A CN107222329 A CN 107222329A CN 201710280988 A CN201710280988 A CN 201710280988A CN 107222329 A CN107222329 A CN 107222329A
Authority
CN
China
Prior art keywords
controller
mode
interface
subway
broadcast system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710280988.5A
Other languages
Chinese (zh)
Other versions
CN107222329B (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.)
Suzhou Huaqi Intelligent Technology Co ltd
Original Assignee
Suzhou Huaqi Intelligent 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 Suzhou Huaqi Intelligent Technology Co Ltd filed Critical Suzhou Huaqi Intelligent Technology Co Ltd
Priority to CN201710280988.5A priority Critical patent/CN107222329B/en
Publication of CN107222329A publication Critical patent/CN107222329A/en
Application granted granted Critical
Publication of CN107222329B publication Critical patent/CN107222329B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H20/00Arrangements for broadcast or for distribution combined with broadcast
    • H04H20/53Arrangements specially adapted for specific applications, e.g. for traffic information or for mobile receivers
    • H04H20/61Arrangements specially adapted for specific applications, e.g. for traffic information or for mobile receivers for local area broadcast, e.g. instore broadcast
    • H04H20/62Arrangements specially adapted for specific applications, e.g. for traffic information or for mobile receivers for local area broadcast, e.g. instore broadcast for transportation systems, e.g. in vehicles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40293Bus for use in transportation systems the transportation system being a train

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Small-Scale Networks (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The present invention relates to a kind of vehicle-mounted broadcast system master control hot spare method of subway, including master-slave switching method and principal and subordinate's method of work;Master-slave switching method is:Default priority rule;According to the threshold time of setting, controller is judged state change condition, and combines priority rule, to decide whether to change its mode of operation;Principal and subordinate's method of work is:Controller scheduling train controlling bus and/or internal bus sending point name data frame, control data frame, oneself state data frame under main mode of operation, in data syn-chronization is realized from the controller under mode of operation by control data frame, called the roll from controller/compartment controller under mode of operation by send oneself state data frame as acknowledgement frame response be in main mode of operation under controller.The method of the present invention can realize automatic switchover mode of operation, system automation level be improved, while two controllers can realize data syn-chronization, it is to avoid cause control after switching the problem of broadcast message is misrepresented deliberately occur.

Description

The vehicle-mounted broadcast system master control hot spare method of subway
Technical field
It is applied in the vehicle-mounted broadcast system of subway carry out two controller hot standby method the present invention relates to a kind of.
Background technology
The topological structure of the vehicle-mounted broadcast system of subway on subway train as shown in Figure 1, headstock, the tailstock of subway train Respectively there is the control respectively in a drivers' cab, each drivers' cab with a set of Broadcasting Control main frame, the i.e. vehicle-mounted broadcast system of subway Device, the controller is responsible for the site contents of voice of calling out the stops, urgent broadcast, special Broadcasting Control and the dynamic map screen of broadcast system Update, the notice of LCD screen display content updates.The main external interface of each controller is total with the Train Control of subway train A interfaces, internal bus (CAN, the RS485 with broadcast system of line (frequently with RS485 buses, electric current loop or MVB) connection Bus or network) C interface being connected and the B interface being connected with storage device.A interfaces are responsible for receiving from signal system Information, the information of train network, the operational order for receiving driver, come perform call out the stops, promptly prompting, special broadcast, malfunction coefficient Etc. function, while the status information inside broadcast system, fault information reporting to train network system.B interface is responsible for storage The system configuration information of broadcast system, voice document of calling out the stops, emergency speech file, site information, specific human voices file and daily record File.C interface is responsible for each compartment controller into broadcast system, dynamic map, LCD screen and sends broadcasting handover information, stands Point shows fresh information.The communications status of A interface faults, i.e. controller and Train Control bus is abnormal, the failure that can cause to call out the stops, Website shows that failure uploads failure, state and uploads failure.The communications status of B interface failure, i.e. controller and storage device Abnormal, the voiceless sound that can cause to call out the stops, urgent broadcast voiceless sound, noiseless special broadcast, website error, broadcast system are configured It is wrong.The running log of broadcast system can not be recorded.The communications status of C interface failure, i.e. controller and internal bus is abnormal, can lead Cause that the machine operation in each compartment can not be monitored, the content of dynamic map can not be updated.
In the work of above-mentioned subway vehicle-mounted broadcast system, it is necessary to which a controller is placed in into main mode of operation, and another Controller is placed in from mode of operation.Controller under main mode of operation undertakes the function of controlling bus scheduling and can send correlation Information is controlled to broadcast system.In the prior art frequently with the mode of operation of manual type switch controller, add The workload of related personnel and can not in time it be switched over according to system mode.Meanwhile, the information of two controllers is often not It is synchronous so that easily to occur broadcast message after switching working mode and misrepresent deliberately to wait extremely.
The content of the invention
It is an object of the invention to provide it is a kind of being capable of the control of automatically switching according to the working condition of subway vehicle-mounted broadcasting system The mode of operation of device processed, so as to improve system automation level, reduces the degree of dependence to personnel, reduces local fault or single-ended Influence of the failure to broadcast system, improves the vehicle-mounted broadcast system master control hot spare method of subway of the natural rate of interest of broadcast system work.
To reach above-mentioned purpose, the technical solution adopted by the present invention is:
A kind of vehicle-mounted broadcast system master control hot spare method of subway, applied in the vehicle-mounted broadcast system of subway on subway train, with Realize that two controllers for being divided into the vehicle-mounted broadcast system of the subway of its headstock and the tailstock are hot standby each other, each controller leads to A interfaces are crossed to communicate, communicate by the corresponding storage device of B interface with the Train Control bus on the subway train Believe, communicated by the internal bus of C interface and the vehicle-mounted broadcast system of the subway;Positioned at two controls of headstock and the tailstock Device processed has different address codes in the vehicle-mounted broadcast system of subway;
The vehicle-mounted broadcast system master control hot spare method of subway includes master-slave switching method and principal and subordinate's method of work;
The master-slave switching method is used to determining the mode of operation of the controller, the mode of operation include main mode of operation and From mode of operation;
The master-slave switching method is:The default priority rule based on controller address code, subway train key state of activation change Become switching principle, the principle of A interface faults detection switching, the principle of B interface fault detect switching, C interface fault detect switching Principle;
It is described based on controller address code priority rule be:The controller with small address code enters the main Working mould Formula, the controller with big address code enter described from mode of operation or the controller with big address code enters institute State main mode of operation, the controller with small address code and enter described from mode of operation;The subway train key activation State change switching principle is:The controller at end enters the main mode of operation, institute where the key of the subway train State the controller of the key of subway train not at end and enter described from mode of operation;The A interface faults detection switching Principle is:When the A interfaces of controller described in one end are normal and the other end described in controller A interface communication failures when, then normally The controller of one end enters the main mode of operation, and the controller of failure one end enters described from mode of operation;Institute State B interface fault detect switching principle be:When controller described in one end B interface failure and the other end described in controller B When interface is normal, then the controller of failure one end enters described from mode of operation, and the controller of normal one end enters The main mode of operation;
The time gate limit value for judging C interface physical layer failure is set to the controller with big address code for LIMIT11, it is right The controller with small address code sets the time gate limit value for judging C interface physical layer failure for LIMIT12, LIMIT11 ≠LIMIT12;The time gate limit value of C interface protocol layer failure, which is, to be judged to the controller setting with big address code LIMIT21, judges that the time gate limit value of C interface protocol layer failure is to the controller setting with small address code LIMIT22, LIMIT21 ≠ LIMIT22;
During the vehicle-mounted broadcast system initial power-on of the subway, the controller is according to the preferential rule based on controller address code Then enter the main mode of operation or described from mode of operation;The controller is judged state change condition, with certainly Fixed whether to change its mode of operation, the state change condition includes the controller and the controlling bus Train Control bus Between the communications status of the B interface between the communications status of the A interfaces, the controller and the storage device, described The communications status of the C interface, subway train key activated end state four between controller and the internal bus:Work as items The communications status is normal and the subway train on when not accessing key, the controller keeps its mode of operation constant; When every communications status is normal and the subway train on access key when, the controller is according to the subway train Key state of activation changes switching principle and enters the main mode of operation or described from mode of operation;When the state changes bar When the communications status of the A interfaces is abnormal between controller described in part and the controlling bus Train Control bus, the control Device processed detects the principle of switching according to the A interface faults and enters the main mode of operation or described from mode of operation;Work as institute When stating the communications status exception of the B interface between controller and the storage device described in state change condition, the control Device processed enters the main mode of operation or described from mode of operation according to the principle that the B interface fault detect switches;Work as institute When stating the communications status exception of the C interface between controller and the internal bus described in state change condition, the control The principle that device processed switches according to the C interface fault detect is operated pattern switching, if in the control from mode of operation Device processed judges the time gate limit value of C interface physical layer failure based on it and judges its physical layer with the internal bus communications When occurring abnormal, it is main mode of operation that should be in from the controller replacing of mode of operation;If the institute in main mode of operation Controller is stated to judge the time gate limit value of C interface protocol layer failure based on it and judge itself and the controlling bus Train Control The physical layer of bus communication is normal and during protocol layer failure, should be replaced by described controller of main mode of operation from Working mould Formula;
Priority of the priority of switching working mode higher than the switching working mode because of key state of activation because of interface fault;
Principal and subordinate's method of work, which is used to realize, enters the main mode of operation or the controller from mode of operation Work;
Principal and subordinate's method of work is:The controller under the main mode of operation dispatch the Train Control bus/ Or the internal bus sending point name data frame, control data frame and/or oneself state data frame, so as to realize the subway Carry the broadcasted content control of broadcast system and start the control stopped, the content-control that dynamic map is shown, in the display of LCD screen Hold control, the roll-call data frame packet specifies being in for loopback message described from the controller under mode of operation containing calling the roll Address and/or the address of compartment controller, the control data frame show comprising broadcast message, dynamic map display information, LCD screen Show content, the working condition and fault message of equipment contained by inside of the oneself state data frame packet containing the controller and The real-time communication conditions being related in the master-slave swap principle, institute is passed through in the controller under mode of operation State control data frame and the oneself state data frame realizes data syn-chronization, from the control under mode of operation described in calling the roll The controller under the main mode of operation is in described in device processed/compartment controller response, by sending oneself state Data frame is as acknowledgement frame to the controller report working condition and fault message under the main mode of operation.
It is preferred that, reach that it judges C interface physics when the time that the controller detects no data in the physical layer During the time gate limit value of layer failure, the controller judges that exception occurs in the physical layer of itself and the internal bus communications;When The time that the controller detects no data in the physical layer is not up to its time threshold for judging C interface physical layer failure Value and time for not receiving complete data frame on the protocol layer reach that it judges the time gate limit value of C interface protocol layer failure When, the controller judges that its physical layer with the internal bus communications is normal and protocol layer failure.
It is preferred that, LIMIT11=LIMIT12+mT2, LIMIT21=LIMIT22+nT2, T2 is the bus cycles.
It is preferred that, m, n are relatively prime positive integers.
It is preferred that, LIMIT11 ≠ LIMIT21, LIMIT12 ≠ LIMIT22.
It is preferred that, LIMIT11 < LIMIT21, LIMIT12 < LIMIT22.
It is preferred that, when the communications status exception of the A interfaces or institute between the controller and the Train Control bus When stating the communications status exception of the C interface between controller and the internal bus, in the institute in the main mode of operation Controller is stated to send the roll-call data frame and send after the acknowledgement frame in the controller from mode of operation, institute State controller and change its mode of operation.
It is preferred that, the controller under the main mode of operation sends the cycle of the roll-call data frame with being in The controller under mode of operation or the cycle phase of the compartment controller response are same.
It is preferred that, the cycle that the controller under the main mode of operation sends the roll-call data frame includes hair Send effectual time and send inactive time period, the controller under the main mode of operation is in the transmission effectual time hair Send the roll-call data frame;Cycle bag in the controller under mode of operation or the compartment controller response Response effectual time and response inactive time period are included, the response effectual time is corresponding with the transmission inactive time period, the place It is in the controller or the compartment controller under mode of operation in the response effectual time response described The controller under main mode of operation simultaneously reports working condition and fault message.
It is preferred that, the response effectual time is shorter than the transmission inactive time period.
It is preferred that, the internal bus uses the full duplex bus of half-duplex bus or network mode.
Because above-mentioned technical proposal is used, the present invention has following advantages compared with prior art:The method of the present invention should For can be realized in the vehicle-mounted broadcast system of subway two controllers according to its working condition automatic switchover mode of operation, without Human users, can preferably realize the Automated condtrol to subway vehicle-mounted broadcasting system, and local event is reduced to greatest extent Hinder the influence to broadcast system, so that the rate working properly of broadcast system is improved, so that system automation level is improved, reduction pair The degree of dependence of personnel.Two controllers can realize real-time data syn-chronization simultaneously, it is ensured that letter is broadcasted when principal and subordinate switches Breath, cartographic information occur without mistake, it is to avoid cause in switching working mode what subsequent control occurred that broadcast message misrepresents deliberately to ask Topic.
Brief description of the drawings
Accompanying drawing 1 is the topology diagram of the vehicle-mounted broadcast system of subway.
Accompanying drawing 2 is that the switching principle that master-slave swap is carried out after controller judges the method for bus failure and broken down shows It is intended to.
Accompanying drawing 3 is the sequential distribution schematic diagram of vehicle-mounted broadcasting internal system bus when internal bus uses half-duplex bus.
Embodiment
The invention will be further described for shown embodiment below in conjunction with the accompanying drawings.
Embodiment one:The vehicle-mounted broadcast system of subway on subway train includes two controllers, respectively positioned at headstock and In two drivers' cabs of the tailstock, each controller is communicated, by B by the Train Control bus on A interfaces and subway train The corresponding storage device of interface is communicated, communicated by the internal bus of C interface and the vehicle-mounted broadcast system of subway.It is located at The two controllers of headstock and the tailstock have different address codes, respectively big address code in the vehicle-mounted broadcast system of subway With small address code.When subway vehicle-mounted broadcasting system worked well, a controller need to undertake bus in main mode of operation Control and Broadcasting Control function, another controller need to be in from mode of operation.Internal bus both can be full duplex bus, It can be half-duplex bus.Below exemplified by using RS485 buses or similar half-duplex bus.
Two drivers' cabs are respectively each interface point of the controller in the first drivers' cab and the second drivers' cab, the first drivers' cab Not Wei A1, B1, C1, each interface of the controller in the second drivers' cab is respectively A2, B2, C2.The state of each interface is with being realized The relation of function is as shown in the table:
Having influence on the principal element that broadcast system normally shows and broadcasted on car has:Transfer bus error, Broadcasting Control master There is event in equipment error, broadcast host and the Train Control bus transfer of machine faults itself, voice document and parameter storage file Barrier.
It is a kind of to be applied in the vehicle-mounted broadcast system of above-mentioned subway realize that two controller subway hot standby each other is vehicle-mounted Broadcast system master control hot spare method, including master-slave switching method and the aspect of principal and subordinate's method of work two.
First, master-slave switching method
Master-slave switching method is used to determining the mode of operation of controller, and mode of operation includes main mode of operation and from Working mould Formula, therefore master-slave switching method is for determining that each controller need to enter main mode of operation still from mode of operation.
Master-slave switching method is:
The default priority rule based on controller address code, subway train key state of activation change switching principle, A interfaces The principle of fault detect switching and the principle of B interface fault detect switching, the principle of C interface fault detect switching.
Based on controller address code priority rule be:Controller with small address code enters main mode of operation, had The controller of big address code enters from mode of operation, or the controller with big address code enters main mode of operation, with small The controller of address code enters from mode of operation.Using the first rule, the i.e. controller with small address code in the present embodiment Controller into main mode of operation, with big address code enters from mode of operation.
Subway train key state of activation changes switching principle:The controller at end enters master where the key of subway train Mode of operation, the key of subway train does not enter from mode of operation in the controller at end.
A interface faults detect that the principle of switching is:When the A of the normal and another side controller of A interfaces of a side controller connects During port communications failure, then the controller of normal one end enters main mode of operation, and the controller of failure one end enters from mode of operation.
B interface fault detect switching principle be:When the B interface failure of a side controller, the B of another side controller connects When mouth is normal, then the controller of failure one end enters from mode of operation, and the controller of normal one end enters main mode of operation.
In addition, judging that the time gate limit value of C interface physical layer failure is to the controller setting with big address code LIMIT11, the time gate limit value for judging C interface physical layer failure is set to the controller with small address code for LIMIT12, and LIMIT11≠LIMIT12.The time gate limit value of C interface protocol layer failure, which is, to be judged to the controller setting with big address code LIMIT21, the time gate limit value for judging C interface protocol layer failure is set to the controller with small address code for LIMIT22, and LIMIT21≠LIMIT22.Above-mentioned each time gate limit value and each judgement C interface protocol layer failure for judging C interface physical layer failure Time gate limit value generally meet LIMIT11=LIMIT12+mT2, LIMIT21=LIMIT22+nT2, T2 is the bus cycles, its Middle m, n are relatively prime positive integers.And for same controller, it judges the time gate limit value of C interface physical layer failure with sentencing The time gate limit value of disconnected C interface physical layer failure is also different, i.e. LIMIT11 ≠ LIMIT21, LIMIT12 ≠ LIMIT22, generally Take LIMIT11 < LIMIT21, LIMIT12 < LIMIT22.
During the vehicle-mounted broadcast system initial power-on of subway, controller enters according to the priority rule based on controller address code Main mode of operation or from mode of operation.Under normal circumstances, subway train two ends are simultaneously upper electric, therefore, according to based on controller ground The priority rule of location code, the controller of small address code enters main mode of operation, and the controller of big address code enters from mode of operation.
After upper electricity, each controller is judged state change condition in real time according to the frequency of setting, it has been decided to which it is It is no to need to change mode of operation.State change condition includes the communications status of A interfaces between controller and Train Control bus, control The communications status of C interface, subway are arranged between the communications status of B interface, controller and internal bus between device processed and storage device Car key activated end state four.Wherein subway train key activated end state includes whether accessing key and which on subway train Key is accessed in one end.
When every communications status (communications status for including the communications status of A interfaces, the communications status of B interface, C interface) When not accessing key on normal and subway train, each controller keeps its current mode of operation constant.
When accessing key on every communications status normal and subway train, controller is activated according to subway train key State change switching principle and enter main mode of operation or from mode of operation, i.e., the controller at end where key enters main Working mould Formula, and controller of the key not at end enters from mode of operation.Subway train may not necessarily access key during system initial power-on, only There is driver to get on the bus to prepare to drive or can just access key when needing to be tested, two are now determined by priority condition of key The respective mode of operation of controller.
When the communications status of A interfaces is abnormal between controller and Train Control bus in state change condition, controller The principle of switching is detected according to A interface faults and enters main mode of operation or the control from mode of operation, the i.e. normal one end of A interfaces Device enters main mode of operation, and the controller of A interface faults one end enters from mode of operation.
When the communications status of B interface is abnormal between controller and storage device in state change condition, controller is according to B Interface fault detects the principle of switching and entered into main mode of operation or the controller from the normal one end of mode of operation, i.e. B interface Mode of operation is become owner of, the controller of B interface failure one end enters from mode of operation.
When the communications status of C interface is abnormal between controller and internal bus in state change condition, controller is according to C The principle of interface fault detection switching is operated pattern switching, is specially:To the physical layer and protocol layer of internal bus communications It is monitored.If judging the time gate limit value of C interface physical layer failure based on it in the controller from mode of operation and judging Go out itself and internal bus communications physical layer occur it is abnormal, i.e., internal bus no data when, illustrate to be now likely to occur it is internal always Line hard ware disconnection/other side controller failure/two controller enter from mode of operation the problem of, usual two controllers enter Enter from mode of operation and be not in, therefore consider bus hardware disconnection/other side's controller failure emphatically.Now, in from work The controller of pattern detects internal bus no data, then in order to avoid there is the situation of the controller of dereliction mode of operation, should It is main mode of operation in being changed from the controller of mode of operation, it is ensured that at least one controller is right in main mode of operation The vehicle-mounted broadcast system of subway is controlled.If the controller in main mode of operation judges C interface protocol layer failure based on it Time gate limit value and judge its physical layer with internal bus communications normal and during protocol layer failure, show when the first two control Device is in main mode of operation, such as it is possible that this state after foregoing train controlling bus hardware fault is excluded, then at this It is replaced by the controller of main mode of operation from mode of operation, surrenders bus scheduling power.Because two side controllers judge that C interface is assisted The time gate limit value for discussing layer failure differs n bus cycles, so as to avoid the controller at two ends while carrying out master-slave swap.
During controller noted above is to physical layer and protocol layer monitoring, two controllers are provided with judgement C interface The time gate limit value of physical layer failure and the time gate limit value for judging C interface protocol layer failure.Pass through the judgement C interface physical layer The setting of the time gate limit value of failure and the time gate limit value for judging C interface protocol layer failure, can avoid controller Working mould Formula occurs ping-pong due to signal jitter when switching, and frequently changes mode of operation.
When the time that controller detects no data in physical layer, (time of no data is united by physical layer timer Meter) when reaching that it judges the time gate limit value of C interface physical layer failure, controller judges its physics with internal bus communications Layer occurs abnormal;When the time that controller detects no data in physical layer be not up to its judge C interface physical layer failure when Between (time for not receiving complete data frame passes through protocol layer threshold value and time for not receiving complete data frame on protocol layer Timer is counted) when reaching that it judges the time gate limit value of C interface protocol layer failure, controller judges that it is total with inside The physical layer of line communication is normal and protocol layer failure.
Controller also needs to judge the communication with storage device in addition to judging whether the communication with internal bus is normal, That is whether read-write storage device is effective, needs to enter from mode of operation if invalid.
Controller noted above carry out master-slave swap during, because of interface fault the priority of switching working mode be higher than because The priority of key state of activation and switching working mode.
Accompanying drawing 2, which is shown after controller noted above judges the method for bus failure and broken down, carries out cutting for master-slave swap Change principle.
2nd, principal and subordinate's method of work
Principal and subordinate's method of work is used to realize the work for entering main mode of operation or the controller from mode of operation.
Principal and subordinate's method of work is:
Controller scheduling train controlling bus and/or internal bus sending point name data frame under main mode of operation (roll-call frame), control data frame (control frame) and/or oneself state data frame (status frames), so as to realize subway vehicle-mounted broadcasting system The broadcasted content control of system and control, the content-control that dynamic map is shown, the display content control of LCD screen for starting stopping. The frame head of roll-call data frame is in from the address and/or compartment of the controller under mode of operation comprising specified loopback message of calling the roll The address of controller, control data frame is comprising broadcast message (including in the control display such as site information, broadcasting handover information Hold), dynamic map display information, LCD screen display content, work of the oneself state data frame packet containing contained equipment inside the controller Make the real-time communication conditions being related in state, fault message, its place end key state of activation and master-slave swap principle (such as Controller internal state, key state of activation, fault message etc.).
In realizing data syn-chronization from the controller under mode of operation by control data frame and oneself state data frame, with The state of a control synchronized tracking of two controllers is realized, internal control mode is consistent, is finally reached to subway vehicle-mounted broadcasting system Control effect uncontrolled device mode of operation switching to greatest extent influence, in being compared from the controller under mode of operation In the controller under main mode of operation, broadcasting speech information and display content information are not only exported externally, i.e., does not export control Frame processed and roll-call frame.When the address of response is consistent with this controller address the need for frame head part, i.e., in from mode of operation Under controller/compartment controller called the roll, then from controller/compartment controller under mode of operation obtain bus transmission route and Response is in the controller under main mode of operation, and by sending oneself state data frame as acknowledgement frame in main work Controller report working condition, fault message under pattern and end key state of activation where it.By data syn-chronization, make to be in The controller worked under mode of operation, its site information, call out the stops control, parameter configuration, warning message etc. are followed be in completely The controller worked under main mode of operation, so as to ensure the energy not damaged switching when occurring master-slave swap, it is ensured that in master-slave swap Voice mistake and dynamic map that Shi Buhui calls out the stops, the website of LCD screen update mistake.
As shown in Figure 3, the controller under main mode of operation is by the sending point of cycle T 1 name data frame, and is in from Working mould Controller or compartment controller under formula carry out response by cycle T 2.Controller sending point name data under main mode of operation The cycle T 1 of frame is identical from the controller under mode of operation or the cycle T of compartment controller response 2 with being in.
The cycle T 1 of controller sending point name data frame under main mode of operation includes sending effectual time T11 and hair Inactive time period T12 is sent, the controller under main mode of operation is sending effectual time T11 sending points name data frame.In from The cycle of controller or compartment controller response under mode of operation includes response effectual time T21 and response inactive time period T22, It is corresponding that response effectual time T21 and at least part send inactive time period T12, response effectual time T21 be shorter than transmission it is invalid when Section T12.In from the controller or compartment controller under mode of operation response effectual time T21 responses be in main mode of operation Under controller and report working condition and fault message.
In master-slave switching method, when the communications status of A interfaces between controller and Train Control bus is abnormal or control The communications status of B interface is abnormal (including the communication with internal bus C interface during full duplex internal bus between device and internal bus During abnormal state) when, in the controller sending point name data frame in main mode of operation and in the controller from mode of operation Send after acknowledgement frame, controller just changes its mode of operation.When internal bus is half-duplex, when C interface communication occurs abnormal then Judgment principle according to physical layer, protocol layer is switched over.
Above is internal bus is using working method when RS485 buses or similar half-duplex bus.If internal bus Using the full duplex bus of network mode, then the transmission cycle of controller, can be roll-call answer party without above-mentioned strict control The formula state of being replaced by, which changes, sends the mode of acknowledgement frame.
By above hot spare method, it can reduce what interface fault updated to broadcast system broadcast and website to greatest extent Harmful effect.
The above embodiments merely illustrate the technical concept and features of the present invention, and its object is to allow person skilled in the art Scholar can understand present disclosure and implement according to this, and it is not intended to limit the scope of the present invention.It is all according to the present invention The equivalent change or modification that Spirit Essence is made, should all be included within the scope of the present invention.

Claims (10)

1. a kind of vehicle-mounted broadcast system master control hot spare method of subway, applied in the vehicle-mounted broadcast system of subway on subway train, To realize that two controllers for being divided into the vehicle-mounted broadcast system of the subway of its headstock and the tailstock are hot standby each other, each controller Communicated, communicated by the corresponding storage device of B interface with the Train Control bus on the subway train by A interfaces Believe, communicated by the internal bus of C interface and the vehicle-mounted broadcast system of the subway;Positioned at two controls of headstock and the tailstock Device processed has different address codes in the vehicle-mounted broadcast system of subway;
It is characterized in that:The vehicle-mounted broadcast system master control hot spare method of subway includes master-slave switching method and principal and subordinate work side Method;
The master-slave switching method is used to determining the mode of operation of the controller, the mode of operation include main mode of operation and From mode of operation;
The master-slave switching method is:The default priority rule based on controller address code, subway train key state of activation change Become switching principle, the principle of A interface faults detection switching, the principle of B interface fault detect switching, C interface fault detect switching Principle;
It is described based on controller address code priority rule be:The controller with small address code enters the main Working mould Formula, the controller with big address code enter described from mode of operation or the controller with big address code enters institute State main mode of operation, the controller with small address code and enter described from mode of operation;The subway train key activation State change switching principle is:The controller at end enters the main mode of operation, institute where the key of the subway train State the controller of the key of subway train not at end and enter described from mode of operation;The A interface faults detection switching Principle is:When the A interfaces of controller described in one end are normal and the other end described in controller A interface communication failures when, then normally The controller of one end enters the main mode of operation, and the controller of failure one end enters described from mode of operation;Institute State B interface fault detect switching principle be:When controller described in one end B interface failure and the other end described in controller B When interface is normal, then the controller of failure one end enters described from mode of operation, and the controller of normal one end enters The main mode of operation;
The time gate limit value for judging C interface physical layer failure is set to the controller with big address code for LIMIT11, it is right The controller with small address code sets the time gate limit value for judging C interface physical layer failure for LIMIT12, LIMIT11 ≠LIMIT12;The time gate limit value of C interface protocol layer failure, which is, to be judged to the controller setting with big address code LIMIT21, judges that the time gate limit value of C interface protocol layer failure is to the controller setting with small address code LIMIT22, LIMIT21 ≠ LIMIT22;
During the vehicle-mounted broadcast system initial power-on of the subway, the controller is according to the preferential rule based on controller address code Then enter the main mode of operation or described from mode of operation;The controller is judged state change condition, with certainly Fixed whether to change its mode of operation, the state change condition includes the controller and the controlling bus Train Control bus Between the communications status of the B interface between the communications status of the A interfaces, the controller and the storage device, described The communications status of the C interface, subway train key activated end state four between controller and the internal bus:Work as items The communications status is normal and the subway train on when not accessing key, the controller keeps its mode of operation constant; When every communications status is normal and the subway train on access key when, the controller is according to the subway train Key state of activation changes switching principle and enters the main mode of operation or described from mode of operation;When the state changes bar When the communications status of the A interfaces is abnormal between controller described in part and the controlling bus Train Control bus, the control Device processed detects the principle of switching according to the A interface faults and enters the main mode of operation or described from mode of operation;Work as institute When stating the communications status exception of the B interface between controller and the storage device described in state change condition, the control Device processed enters the main mode of operation or described from mode of operation according to the principle that the B interface fault detect switches;Work as institute When stating the communications status exception of the C interface between controller and the internal bus described in state change condition, the control The principle that device processed switches according to the C interface fault detect is operated pattern switching, if in the control from mode of operation Device processed judges the time gate limit value of C interface physical layer failure based on it and judges its physical layer with the internal bus communications When occurring abnormal, it is main mode of operation that should be in from the controller replacing of mode of operation;If the institute in main mode of operation Controller is stated to judge the time gate limit value of C interface protocol layer failure based on it and judge itself and the controlling bus Train Control The physical layer of bus communication is normal and during protocol layer failure, should be replaced by described controller of main mode of operation from Working mould Formula;
Priority of the priority of switching working mode higher than the switching working mode because of key state of activation because of interface fault;
Principal and subordinate's method of work, which is used to realize, enters the main mode of operation or the controller from mode of operation Work;
Principal and subordinate's method of work is:The controller under the main mode of operation dispatch the Train Control bus/ Or the internal bus sending point name data frame, control data frame and/or oneself state data frame, so as to realize the subway Carry the broadcasted content control of broadcast system and start the control stopped, the content-control that dynamic map is shown, in the display of LCD screen Hold control, the roll-call data frame packet specifies being in for loopback message described from the controller under mode of operation containing calling the roll Address and/or the address of compartment controller, the control data frame show comprising broadcast message, dynamic map display information, LCD screen Show content, the working condition of equipment, fault message, its institute contained by inside of the oneself state data frame packet containing the controller The real-time communication conditions being related in end key state of activation and the master-slave swap principle, in described from mode of operation Under the controller data syn-chronization is realized by the control data frame and the oneself state data frame, described in calling the roll The control under the main mode of operation is in described in the controller/compartment controller response under from mode of operation Device, by sending oneself state data frame as acknowledgement frame to the controller report work under the main mode of operation Make state, fault message and end key state of activation where it.
2. the vehicle-mounted broadcast system master control hot spare method of subway according to claim 1, it is characterised in that:When the controller When the time for detecting no data in the physical layer reaches that it judges the time gate limit value of C interface physical layer failure, the control Device processed judges that exception occurs in the physical layer of itself and the internal bus communications;When the controller is detected in the physical layer The time of no data is not up to the time gate limit value that it judges C interface physical layer failure and not received on the protocol layer complete When the time of data frame reaches that it judges the time gate limit value of C interface protocol layer failure, the controller judge its with it is described The physical layers of internal bus communications is normal and protocol layer failure.
3. the vehicle-mounted broadcast system master control hot spare method of subway according to claim 1 or 2, it is characterised in that:LIMIT11= LIMIT12+mT2, LIMIT21=LIMIT22+nT2, T2 are the bus cycles, and m, n are relatively prime positive integers.
4. the vehicle-mounted broadcast system master control hot spare method of subway according to Claims 2 or 3, it is characterised in that:LIMIT11≠ LIMIT21, LIMIT12 ≠ LIMIT22.
5. the vehicle-mounted broadcast system master control hot spare method of subway according to claim 4, it is characterised in that:LIMIT11 < LIMIT21, LIMIT12 < LIMIT22.
6. the vehicle-mounted broadcast system master control hot spare method of subway according to claim 1, it is characterised in that:When the controller The communications status of the A interfaces is abnormal between the Train Control bus or the controller and the internal bus between institute State C interface communications status it is abnormal when, the controller in the main mode of operation send the roll-call data frame and Sent in the controller from mode of operation after the acknowledgement frame, the controller changes its mode of operation.
7. the vehicle-mounted broadcast system master control hot spare method of subway according to claim 1, it is characterised in that:In the main work It is described from the control under mode of operation with being in that the controller under operation mode sends the cycle of the roll-call data frame Device or the cycle phase of the compartment controller response are same.
8. the vehicle-mounted broadcast system master control hot spare method of subway according to claim 7, it is characterised in that:In the main work The cycle that the controller under operation mode sends the roll-call data frame includes sending effectual time and sends inactive time period, place In the controller under the main mode of operation roll-call data frame is sent in the transmission effectual time;In it is described from When the cycle of the controller or the compartment controller response under mode of operation includes response effectual time and invalid response Section, the response effectual time is corresponding with the transmission inactive time period, it is described described in from the control under mode of operation Device processed or the compartment controller are in the controller under the main mode of operation simultaneously in the response effectual time response Report working condition and fault message.
9. the vehicle-mounted broadcast system master control hot spare method of subway according to claim 8, it is characterised in that:The response is effective Period is shorter than the transmission inactive time period.
10. the vehicle-mounted broadcast system master control hot spare method of subway according to claim 1, it is characterised in that:The inside is total Line uses the full duplex bus of half-duplex bus or network mode.
CN201710280988.5A 2017-04-26 2017-04-26 Master control hot standby method of subway vehicle-mounted broadcasting system Active CN107222329B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710280988.5A CN107222329B (en) 2017-04-26 2017-04-26 Master control hot standby method of subway vehicle-mounted broadcasting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710280988.5A CN107222329B (en) 2017-04-26 2017-04-26 Master control hot standby method of subway vehicle-mounted broadcasting system

Publications (2)

Publication Number Publication Date
CN107222329A true CN107222329A (en) 2017-09-29
CN107222329B CN107222329B (en) 2020-04-14

Family

ID=59944219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710280988.5A Active CN107222329B (en) 2017-04-26 2017-04-26 Master control hot standby method of subway vehicle-mounted broadcasting system

Country Status (1)

Country Link
CN (1) CN107222329B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110053650A (en) * 2019-05-06 2019-07-26 湖南中车时代通信信号有限公司 A kind of module management method of automatic train operation system, automatic train operation system architecture and automatic train operation system
CN111193601A (en) * 2018-11-15 2020-05-22 宝沃汽车(中国)有限公司 Configuration method and device of vehicle-mounted audio network and vehicle
CN112187572A (en) * 2020-09-18 2021-01-05 北京全路通信信号研究设计院集团有限公司 Method and system for judging MVB working master station equipment
CN112477919A (en) * 2020-12-11 2021-03-12 交控科技股份有限公司 Dynamic redundancy backup method and system suitable for train control system platform

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004025469A1 (en) * 2002-09-10 2004-03-25 Union Switch & Signal, Inc. Hot standby method and apparatus
CN102407856A (en) * 2011-09-21 2012-04-11 中国北车股份有限公司大连电力牵引研发中心 Hot backup redundancy method and hot backup redundancy system of train central control unit
CN103744809A (en) * 2013-12-23 2014-04-23 天泽信息产业股份有限公司 Method for dual-computer hot-standby of vehicle information management system on basis of VRRP

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004025469A1 (en) * 2002-09-10 2004-03-25 Union Switch & Signal, Inc. Hot standby method and apparatus
CN102407856A (en) * 2011-09-21 2012-04-11 中国北车股份有限公司大连电力牵引研发中心 Hot backup redundancy method and hot backup redundancy system of train central control unit
CN103744809A (en) * 2013-12-23 2014-04-23 天泽信息产业股份有限公司 Method for dual-computer hot-standby of vehicle information management system on basis of VRRP

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111193601A (en) * 2018-11-15 2020-05-22 宝沃汽车(中国)有限公司 Configuration method and device of vehicle-mounted audio network and vehicle
CN110053650A (en) * 2019-05-06 2019-07-26 湖南中车时代通信信号有限公司 A kind of module management method of automatic train operation system, automatic train operation system architecture and automatic train operation system
CN110053650B (en) * 2019-05-06 2022-06-07 湖南中车时代通信信号有限公司 Automatic train operation system, automatic train operation system architecture and module management method of automatic train operation system
CN112187572A (en) * 2020-09-18 2021-01-05 北京全路通信信号研究设计院集团有限公司 Method and system for judging MVB working master station equipment
CN112477919A (en) * 2020-12-11 2021-03-12 交控科技股份有限公司 Dynamic redundancy backup method and system suitable for train control system platform
CN112477919B (en) * 2020-12-11 2022-12-02 交控科技股份有限公司 Dynamic redundancy backup method and system suitable for train control system platform

Also Published As

Publication number Publication date
CN107222329B (en) 2020-04-14

Similar Documents

Publication Publication Date Title
CN107222329A (en) The vehicle-mounted broadcast system master control hot spare method of subway
CN103955188B (en) Control system and method supporting redundancy switching function
CN109104351B (en) Train network node and train network node monitoring method based on CANopen protocol
CN101119187A (en) Master-salve equipment switch control method
CN102238231B (en) CTCS (China train contrl system)-3 level radio blocking center device and system
CN103130095A (en) Elevator fault early warning method and relevant server
CN108134700B (en) Method for realizing electric power automation communication data integrity
CN104176605B (en) Elevator door control method and system
CN107248933A (en) A kind of method of the double main protection of rail traffic signal system
CN105915426B (en) The fault recovery method and device of loop network
CN101267392B (en) A realizing method for notifying downstream device in case of switch of uplink link status
CN105577444B (en) A kind of wireless controller management method and wireless controller
CN105099825B (en) A kind of safeguard method and device of external Bypass
CN109104347A (en) Gateway shift process, system and its apparatus based on CANopen agreement transmission data
CN205377900U (en) Redundant gateway system of train TCN
CN113726573B (en) Redundant network communication method, device, electronic equipment and storage medium
CN109062184A (en) Two-shipper emergency and rescue equipment, failure switching method and rescue system
CN106627665A (en) Vehicle-mounted earthquake emergency disposal device of redundant GSM-R communication units
CN104317679A (en) Communication fault-tolerant method based on thread redundancy for SCADA (Supervisory Control and Data Acquisition) system
CN105743565A (en) Optical transport network protection switching method and device
CN109613846A (en) A kind of double redundancy overload voting starting method of high safety
CN100386997C (en) Data transmission system and method between telecommunication equipments based on point-to-point connection
CN107040392A (en) Pseudo-wire dual-homing protection management method and communication equipment
CN102340407B (en) Protection switching method and system
CN109039768A (en) CBTC signal alarm method in a kind of LTE-M communication network

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 215153 No. 350 Qingchengshan Road, Science and Technology City, Suzhou High-tech Zone, Jiangsu Province

Patentee after: SUZHOU HUAQI INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 215153 No. 350 Qingchengshan Road, Science and Technology City, Suzhou High-tech Zone, Jiangsu Province

Patentee before: SUZHOU HUAQI INTELLIGENT TECHNOLOGY Co.,Ltd.