Restarting method and system for interlocking equipment of all-electronic computer

文档序号:1854737 发布日期:2021-11-19 浏览:22次 中文

阅读说明:本技术 全电子计算机联锁设备重启方法及系统 (Restarting method and system for interlocking equipment of all-electronic computer ) 是由 田其飞 于 2021-07-28 设计创作,主要内容包括:本发明提供一种全电子计算机联锁设备重启方法及系统,方法包括:根据实时检测的全电子计算机联锁设备中各执行模块的运行状态,确定由各执行模型软件故障导致的历史宕机次数;若所述历史宕机次数小于预设次数,则根据软件重启流程重启发生故障的目标执行模块。所述系统执行所述方法。本发明能够在全电子计算机联锁设备执行模块驱动设备保障安全的前提下,当执行模块运行过程中因发生某种偶发性故障而导致执行模块宕机时,实现执行模块软件在一定时间内自动重启的功能,从而极大地提高全电子计算机联锁设备的可用性,并降低因为偶发性故障而产生不必要的人工维护成本。(The invention provides a method and a system for restarting full-electronic computer interlocking equipment, wherein the method comprises the following steps: determining the historical downtime caused by the software fault of each execution model according to the running state of each execution module in the full-electronic computer interlocking equipment detected in real time; and if the historical downtime times are less than the preset times, restarting the target execution module with the fault according to the software restart process. The system performs the method. The invention can realize the function of automatically restarting the execution module software within a certain time when the execution module is down due to a certain accidental fault in the operation process of the execution module on the premise of ensuring the safety of the execution module driving device of the full-electronic computer interlocking device, thereby greatly improving the usability of the full-electronic computer interlocking device and reducing the unnecessary manual maintenance cost caused by the accidental fault.)

1. A method for restarting an all-electronic computer interlock device, comprising:

determining the historical downtime caused by the software fault of each execution model according to the running state of each execution module in the full-electronic computer interlocking equipment detected in real time;

and if the historical downtime times are less than the preset times, restarting the target execution module with the fault according to the software restart process.

2. The method for restarting the all-electronic computer interlocking device according to claim 1, wherein the determining the historical downtime caused by the software failure of each execution model according to the real-time detected operating states of the execution modules in the all-electronic computer interlocking device comprises:

and detecting the running state of each execution module in real time according to a watchdog technology so as to acquire the historical downtime frequency of the ferroelectric memories stored in each execution module.

3. The all-electronic computer interlocking device restarting method according to claim 1 wherein restarting the failed target execution module according to a software restart procedure comprises:

according to the software restarting process, restarting a first CPU in the target execution module, and restarting a second CPU in the target execution module when the starting time of the first CPU reaches a preset value;

determining a starting password sent by the first CPU to the second CPU according to starting information sent by the second CPU to the first CPU;

and according to the starting password, synchronizing the time of the first CPU and the second CPU to determine the target time of restarting the first CPU and the second CPU, and restarting the first CPU and the second CPU at the target time simultaneously.

4. The all-electronic computer interlock restarting method according to claim 3 further comprising:

if the first CPU does not receive the starting information sent by the second CPU after waiting for a first preset time, executing downtime operation on the first CPU;

and if the second CPU sends the starting information to the first CPU and the second CPU does not receive the starting password sent by the first CPU after waiting for a second preset time, executing downtime operation on the second CPU.

5. The all-electronic computer interlocking device restarting method according to claim 4, wherein if the accumulated number of downtime exceeds a preset rebooting number, the restarting operation is not performed on the first CPU and the second CPU;

and the downtime accumulated times are determined according to the downtime of the first CPU and the downtime of the second CPU.

6. The all-electronic computer interlock restarting method according to any of claims 1-5 wherein the operational state of each execution module includes at least any of:

the method comprises the steps that a board card input is overtime due to two-out-of-two, a non-attraction relay has current lasting for a first preset number of cycles, an attraction relay does not have current lasting for a second preset number of cycles, current is over-limited lasting for a third preset number of cycles, voltage is over-limited lasting for a fourth preset number of cycles, a relay drive cannot attract or fall down for a fifth preset number of cycles, an operation micro-cycle is overtime, two-out-of-data interaction is overtime, two-out-of-data-output-data comparison fails, double CPU clock dislocation in each execution module is inconsistent with double CPU cycle numbers in each execution module.

7. An all-electronic computer interlock restart system, comprising: the system comprises a downtime determination module and a restart module;

the downtime determination module is used for determining the historical downtime times caused by the software faults of each execution model according to the running states of each execution module in the full-electronic computer interlocking equipment detected in real time;

and the restarting module is used for restarting the target execution module with the fault according to the software restarting process if the historical downtime times are less than the preset times.

8. The all-electronic computer interlock restart system of claim 7 wherein the restart module is further configured to:

according to the software restarting process, restarting a first CPU in the target execution module, and restarting a second CPU in the target execution module when the starting time of the first CPU reaches a preset value;

determining a starting password sent by the first CPU to the second CPU according to starting information sent by the second CPU to the first CPU;

and according to the starting password, synchronizing the time of the first CPU and the second CPU to determine the target time of restarting the first CPU and the second CPU, and restarting the first CPU and the second CPU at the target time simultaneously.

9. An electronic device comprising a processor and a memory storing a computer program, wherein the processor when executing the computer program performs the steps of the all electronic computer interlock device restart method of any of claims 1 to 6.

10. A processor-readable storage medium, characterized in that the processor-readable storage medium stores a computer program for causing the processor to perform the steps of the all-electronic computer interlocking device restart method of any of claims 1 to 6.

Technical Field

The invention relates to the technical field of rail transit, in particular to a method and a system for restarting full-electronic computer interlocking equipment.

Background

The full electronic interlock has multiple types of execution modules, each type of execution module correspondingly controls specific equipment, wherein a part of the execution modules use a two-by-two-out-of-two safety computer platform, and a part of the execution modules use a dual-system two-out-of-two redundant safety computer platform. Because the execution module drives the devices with high safety performance requirements basically, the detection of the devices needs to be carried out in real time, the stability requirements of some parameters of the dynamic states of the devices are also high, and because the execution module is directly connected with outdoor real devices, once the device state parameters collected by the execution module are unstable or not in a preset safety range, the execution module can be guided to be safe and down to process. It may often cause downtime of the executing module due to problems such as interference from the external environment. In order to ensure the availability of the system, maintenance personnel are required to regularly check the operation condition of the execution module, if the execution module which is down is found, the execution module needs to be powered off and restarted, and the stable operation of the two-by-two architecture can be ensured only by controlling two execution modules of the same equipment to operate simultaneously. Although the operation company has provided a standardized flow and has performed systematic training on the professionals, the occasional downtime that is unscheduled may affect the usability of the system, and the problem of the sudden occurrence is still avoided in the actual production and operation process, because the maintainer cannot recover the execution module that is down in time, thereby causing huge loss.

Disclosure of Invention

The method and the system for restarting the interlocking equipment of the full-electronic computer are used for solving the problems in the prior art, and can realize the function of automatically restarting the software of the execution module within a certain time on the premise of ensuring the safety of the driving equipment of the execution module of the interlocking equipment of the full-electronic computer when the execution module is down due to a certain accidental fault in the operation process of the execution module, thereby greatly improving the availability of the interlocking equipment of the full-electronic computer and reducing the unnecessary manual maintenance cost caused by the accidental fault.

The invention provides a method for restarting full-electronic computer interlocking equipment, which comprises the following steps:

determining the historical downtime caused by the software fault of each execution model according to the running state of each execution module in the full-electronic computer interlocking equipment detected in real time;

and if the historical downtime times are less than the preset times, restarting the target execution module with the fault according to the software restart process.

According to the method for restarting the all-electronic computer interlocking equipment, which is provided by the invention, the historical downtime caused by the software failure of each execution model is determined according to the running state of each execution module in the all-electronic computer interlocking equipment detected in real time, and the method comprises the following steps:

and detecting the running state of each execution module in real time according to a watchdog technology so as to acquire the historical downtime frequency of the ferroelectric memories stored in each execution module.

According to the method for restarting the interlocking equipment of the all-electronic computer, which is provided by the invention, the target execution module which has the fault is restarted according to the software restarting process, and the method comprises the following steps:

according to the software restarting process, restarting a first CPU in the target execution module, and restarting a second CPU in the target execution module when the starting time of the first CPU reaches a preset value;

determining a starting password sent by the first CPU to the second CPU according to starting information sent by the second CPU to the first CPU;

and according to the starting password, synchronizing the time of the first CPU and the second CPU to determine the target time of restarting the first CPU and the second CPU, and restarting the first CPU and the second CPU at the target time simultaneously.

The method for restarting the interlocking device of the all-electronic computer provided by the invention further comprises the following steps:

if the first CPU does not receive the starting information sent by the second CPU after waiting for a first preset time, executing downtime operation on the first CPU;

and if the second CPU sends the starting information to the first CPU and the second CPU does not receive the starting password sent by the first CPU after waiting for a second preset time, executing downtime operation on the second CPU.

According to the method for restarting the interlocking equipment of the all-electronic computer, provided by the invention, if the downtime accumulated times exceed the preset restarting times, the first CPU and the second CPU are not restarted;

and the downtime accumulated times are determined according to the downtime of the first CPU and the downtime of the second CPU.

According to the method for restarting the interlocking device of the all-electronic computer provided by the invention, the running state of each execution module at least comprises any one of the following steps:

the method comprises the steps that a board card input is overtime due to two-out-of-two, a non-attraction relay has current lasting for a first preset number of cycles, an attraction relay does not have current lasting for a second preset number of cycles, current is over-limited lasting for a third preset number of cycles, voltage is over-limited lasting for a fourth preset number of cycles, a relay drive cannot attract or fall down for a fifth preset number of cycles, an operation micro-cycle is overtime, two-out-of-data interaction is overtime, two-out-of-data-output-data comparison fails, double CPU clock dislocation in each execution module is inconsistent with double CPU cycle numbers in each execution module.

The invention also provides a system for restarting the interlocking equipment of the full electronic computer, which comprises a downtime determining module and a restarting module;

the downtime determination module is used for determining the historical downtime times caused by the software faults of each execution model according to the running states of each execution module in the full-electronic computer interlocking equipment detected in real time;

and the restarting module is used for restarting the target execution module with the fault according to the software restarting process if the historical downtime times are less than the preset times.

According to the system for restarting the interlocking device of the all-electronic computer provided by the invention, the restarting module is further used for:

according to the software restarting process, restarting a first CPU in the target execution module, and restarting a second CPU in the target execution module when the starting time of the first CPU reaches a preset value;

determining a starting password sent by the first CPU to the second CPU according to starting information sent by the second CPU to the first CPU;

and according to the starting password, synchronizing the time of the first CPU and the second CPU to determine the target time of restarting the first CPU and the second CPU, and restarting the first CPU and the second CPU at the target time simultaneously.

The present invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method for restarting the all-electronic computer interlocking device as described in any one of the above when executing the program.

The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the all electronic computer interlock device restart method as described in any of the above.

The method and the system for restarting the interlocking equipment of the full-electronic computer can realize the function of automatically restarting the software of the execution module within a certain time when the execution module is down due to a certain accidental fault in the operation process of the execution module on the premise that the driving equipment of the execution module of the interlocking equipment of the full-electronic computer guarantees the safety, thereby greatly improving the availability of the interlocking equipment of the full-electronic computer and reducing the unnecessary manual maintenance cost caused by the accidental fault.

Drawings

In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.

FIG. 1 is a schematic flow chart diagram of a method for restarting an all-electronic computer interlock device according to the present invention;

FIG. 2 is a schematic structural diagram of an object controller OC system of the all-electronic computer interlock device provided by the present invention;

FIG. 3 is a schematic diagram of a two-CPU restart process provided by the present invention;

FIG. 4 is a schematic structural diagram of a restart system for an all-electronic computer interlock device according to the present invention;

fig. 5 is a schematic physical structure diagram of an electronic device provided in the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Fig. 1 is a schematic flow chart of a restart method of an all-electronic computer interlocking device provided by the present invention, and as shown in fig. 1, the method includes:

s1, determining the historical downtime caused by the software fault of each execution model according to the running state of each execution module in the full-electronic computer interlocking equipment detected in real time;

and S2, if the historical downtime frequency is less than the preset frequency, restarting the target execution module with the fault according to the software restart process.

It should be noted that the execution subject of the method may be a computer device.

Optionally, in the normal operation process of each execution module of the switch machine in the all-electronic computer interlocking device, the operation state of each execution module is monitored in real time according to the set software platform of each execution module, the number of times of downtime is counted according to the detected operation state of each execution module, the downtime caused by software faults of each execution module is recorded, a historical downtime condition is checked, the number of times of historical downtime and the reason of historical downtime are judged, and if the number of times of historical downtime is less than the preset number of times, for example, N times, the target execution module with faults is restarted according to the software restarting process. The preset times may be set according to an actual operating environment, and the present invention is not particularly limited thereto.

The full-electronic computer interlocking equipment is a novel interlocking equipment for railway signal control, and has the characteristics of compact equipment, small volume, low energy consumption, simple and convenient construction, complete monitoring function, in-place fault indication, less field maintenance and the like. The full electronic interlocking system is a novel station signal control system, and has the following characteristics: the complete electronization, intellectualization and networking of the 'execution layer' of the station interlocking equipment are realized. The system takes a computer control technology as a core, takes a power electronic switch technology as a basis, and adopts advanced technologies such as computer communication, an electronic information technology, automatic detection, a power electronic switch and the like to realize the interlocking of station signals. The object controller is a device for controlling an outdoor actuating mechanism (such as a turnout, a signal machine, a track circuit, a relay and the like), collects the state of the outdoor device, is a ground actuating part of an interlocking system or vehicle-vehicle communication, and is built into a safety control system together with the interlocking system or the vehicle-vehicle communication system to meet the requirements of relevant application scenes of railway or urban rail transit. To meet the requirements of a safety system, the object controllers communicate with the interlock system or the vehicle using a safety communication network and a safety protocol that meet the requirements of the safety communication and safety communication standard EN 50159. The object controller adopts a two-by-two-out-of-two structural design, and the safety level reaches the safety integrity level SIL4 standard. The object controller miniaturizes, carries and electronizes the traditional relay combination, and can provide a flexibly configurable safety actuating mechanism for the applications of an interlocking system or a vehicle-vehicle communication system and the like.

According to the function of the object controller, the object controller can be divided into the following modules, the motherboard a and the motherboard B communicate with the outside through the communication red and blue network by the communication board a and the communication board B, as shown in fig. 2 specifically:

communication module (including communication board a and communication board B): the dual-system redundant output is adopted to be responsible for redundant communication with an interlocking host or a vehicle, and a communication protocol adopts a safe communication protocol; meanwhile, the communication module is communicated with the host module, and the communication protocol adopts a safety protocol;

the host module (including application software such as application software of the mainboard a and application software of the mainboard B) adopts a 2-by-2 architecture: the data 2 is taken as data 2, logic such as comparison, main-standby switching, application scheduling and supervision and the like are taken as data, and safety functions are guided under the condition of failure;

signal modules (e.g., 2X2 signal module An and 2X2 signal module Bn): the signal lamp is driven and the state of the lamp is collected, double-system redundant collection is adopted, single-system 2-out-of-2 comparison is needed, periodic self-checking is carried out, under the condition of failure, the module is guided to a safety side, and the 2X2 signal machine module An sends a pulse 422 signal to the 2X2 signal machine module Bn.

Five-wire switch modules (e.g., 2X2 five-wire switch module An and 2X2 five-wire switch module Bn): driving a five-wire system switch machine and acquiring the position state of the switch machine, adopting dual-system redundant acquisition, comparing 2 for single system, and performing periodic self-checking, wherein under the condition of failure, a module is guided to a safety side; wherein, the 2X2 five-wire switch module An sends a pulse 422 signal to the 2X2 five-wire switch module Bn.

A scatter acquisition module (e.g., 2X2 scatter acquisition module a1 and 2X2 scatter acquisition module B1), a secure digital signal input DI execution module (e.g., 2X2 secure DI module a1 and 2X2 secure DI module B1): the system is responsible for safety switching value acquisition, adopts dual-system redundant acquisition, needs 2 to 2 for comparison in a single system, and performs periodic self-checking, and has the functions of guiding safety and safety under the condition of failure;

a scattered output module (e.g., 2X2 scattered output module a1 and 2X2 scattered output module B1): the scattered output module is a non-safety output module and mainly drives indicator lamps such as an indicator lamp on an integrated backup panel IBP panel, a protection switch SPKS button indicator lamp, a platform emergency stop button ESB button indicator lamp, a SPKS bypass button indicator lamp, an ESB bypass button indicator lamp and the like to be turned on and off;

secure digital signal output DO modules (e.g., 2X2 secure DO module a1 and 2X2 secure DO module B1): the system is responsible for safety switching value output, adopts dual-system redundant output, needs 2 to compare with 2 in a single system, and performs periodic self-checking, and has the functions of guiding safety and safety under the condition of failure.

The method for restarting the all-electronic computer interlocking equipment can realize the function of automatically restarting the execution module software within a certain time when the execution module is down due to a certain accidental fault in the operation process of the execution module on the premise that the safety of the drive equipment of the execution module of the all-electronic computer interlocking equipment is ensured, thereby greatly improving the availability of the all-electronic computer interlocking equipment and reducing the unnecessary manual maintenance cost caused by the accidental fault.

Further, in an embodiment, the step S1 may specifically include:

and S11, detecting the running state of each execution module in real time according to the watchdog technology to acquire the historical downtime frequency of the ferroelectric memories stored in each execution module.

Optionally, because rail transit belongs to the high-safety industry, the requirements on the safety and the real-time performance of key data are extremely strict, and therefore, the execution module checks the running state of the execution module by using a watchdog technology, and meets the guarantee of real-time performance and safety.

The execution module uses a ferroelectric memory to store the historical downtime frequency, the safety level of ferroelectric reading, writing and verification needs to meet the SIL4 level, and the ferroelectric memory generally selects a chip with high reliability and high safety.

According to the all-electronic computer interlocking equipment restarting method provided by the invention, the execution module checks the running state of the execution module by using a watchdog technology, so that the real-time performance and the safety of monitoring the running state of the execution module can be ensured, and meanwhile, the requirements of high reliability and high safety can be met by using the ferroelectric memory historical downtime times.

Further, in an embodiment, the step S2 may specifically include:

s21, according to the software restarting process, restarting a first CPU in the target execution module, and restarting a second CPU in the target execution module when the starting time of the first CPU reaches a preset value;

s22, determining a starting password sent by the first CPU to the second CPU according to the starting information sent by the second CPU to the first CPU;

and S23, synchronizing the time of the first CPU and the time of the second CPU according to the starting password so as to determine the target time for restarting the first CPU and the second CPU, and restarting the first CPU and the second CPU at the target time simultaneously.

Optionally, when a downtime condition caused by software failure of each execution module occurs, the historical downtime times and the reason for the historical downtime are recorded, the size relationship between the historical downtime times and the preset times is judged, if the historical downtime times is smaller than the preset times, the software restart process is executed, and the target execution module with the failure is restarted. Specifically, the method comprises the following steps:

when the restarting process of the execution module is carried out, firstly, according to the software restarting process, a first CPU in a target execution module with a fault is restarted, and when the starting time of the first CPU reaches a preset value, a second CPU in the target execution module is restarted; secondly, obtaining a starting password fed back to the second CPU by the first CPU according to starting information sent to the first CPU by the second CPU; and according to the starting password, synchronizing the time of the first CPU and the second CPU to determine the target time for restarting the first CPU and the second CPU, and restarting the first CPU and the second CPU at the target time simultaneously.

For example, as shown in fig. 3, when the restart process is executed, the two CPUs (CPU0 and CPU1) are restarted at different timings, and the software program starts the CPU0 first, and starts the CPU0 for a while, and then starts the CPU 1. After the CPU1 is started, it will send the starting information to the CPU0, then the CPU0 sends the starting password to the CPU1, after the two CPUs exchange data, the synchronous time is calibrated, and it is appointed to start at a certain target time.

According to the restarting method of the interlocking equipment of the all-electronic computer, the two CPUs of the single board card of the execution module are utilized, and are started at the same appointed moment through a series of interactive processes, so that the correct operation of the execution module is guaranteed, and the stability of the interlocking equipment of the all-electronic computer is improved.

Further, in an embodiment, step S23 may further specifically include:

s24, if the first CPU does not receive the starting information sent by the second CPU after waiting for the first preset time, performing downtime operation on the first CPU;

and S25, if the second CPU sends the starting information to the first CPU and the second CPU does not receive the starting password sent by the first CPU after waiting for the second preset time, executing downtime operation on the second CPU.

Optionally, when the second CPU is restarted, the start information is sent to the first CPU, if the first CPU still does not receive the start information sent by the second CPU after waiting for the first preset time, the downtime operation is executed on the first CPU, and if the second CPU sends the start information to the first CPU and does not receive the start password fed back by the first CPU after waiting for the second preset time, the downtime operation is executed on the second CPU.

For example, as shown in fig. 3, if the CPU0 still does not receive the startup information sent by the second CPU after waiting for the first preset time, it is assumed that the CPU0 waits for a timeout, and at this time, a downtime operation is performed on the CPU 0. If the CPU1 does not receive the start password of the CPU0 after the CPU1 sends the start information to the CPU0 and waits for the second preset time, the CPU1 is considered to be timed out, and at this time, the downtime operation is performed on the CPU 1.

According to the method for restarting the interlocking equipment of the full-electronic computer, provided by the invention, the reasonable preset time is set, and the downtime operation is executed on the double CPUs after the double CPUs respectively exceed the preset time, so that the times of downtime of the double CPUs of the execution module can be monitored in real time, and meanwhile, the safe operation of the interlocking equipment of the full-electronic computer is ensured to the maximum extent.

Further, in one embodiment, if the downtime accumulated times exceeds the preset restart times, the first CPU and the second CPU are not restarted;

and determining the downtime accumulated times according to the downtime of the first CPU and the downtime of the second CPU.

Optionally, if the first CPU still does not receive the start information sent by the second CPU after waiting for the first preset time, performing a downtime operation on the first CPU, and if the second CPU sends the start information to the first CPU and does not receive the start password fed back by the first CPU after waiting for the second preset time, performing a downtime operation on the second CPU. And obtaining two CPU downtime accumulated times by counting the downtime times of the first CPU and the second CPU, judging whether the downtime accumulated times exceed the preset restarting times, and if the downtime accumulated times exceed the preset restarting times, not restarting the first CPU and the second CPU.

The method for restarting the interlocking equipment of the full-electronic computer provided by the invention has the advantages that the time of CPU accumulated execution downtime in each execution module of the interlocking equipment of the full-electronic computer is counted, and the restarting operation of the CPU is stopped when the time of CPU accumulated downtime exceeds the preset restarting time, so that the safe operation of the execution modules is ensured.

Further, in one embodiment, the operating status of each execution module includes at least any one of:

the method comprises the steps that a board card input is overtime due to two-out-of-two, a non-attraction relay has current lasting for a first preset number of cycles, an attraction relay does not have current lasting for a second preset number of cycles, current is over-limited lasting for a third preset number of cycles, voltage is over-limited lasting for a fourth preset number of cycles, a relay drive cannot attract or fall down for a fifth preset number of cycles, an operation micro-cycle is overtime, two-out-of-data interaction is overtime, two-out-of-data-output-data comparison fails, double CPU clock dislocation in each execution module is inconsistent with double CPU cycle numbers in each execution module.

Optionally, in the normal operation process of each execution module of the switch machine in the all-electronic computer interlocking device, the operation state of each execution module is monitored in real time according to the software platform of each set up execution module, when the switch machine is in the control process, if the board card input is overtime due to two times out, the current of the unattached relay lasts for a first preset number of cycles, the current of the attracted relay does not last for a second preset number of cycles, the current is over-limited for a third preset number of cycles, the voltage is over-limited for a fourth preset number of cycles, the relay drive can not be attracted or can not fall down for a fifth preset number of cycles, the operation micro-cycle is overtime due to two times out of output data, the comparison of two times out of output data fails, the clock misalignment of double CPUs (such as a first CPU and a second CPU) in each execution module and the cycle numbers of the double CPUs in each execution module are inconsistent, and the like, the fault of the down machine can be caused, and recording fault information in time and updating the downtime frequency.

It should be noted that the first to fifth preset number of cycles may be set according to an actual operating environment, and for example, the first to fifth preset number of cycles may be all set to a same value, for example, N cycles, or set to different values, which is not specifically limited in the present invention.

The restarting method of the interlocking equipment of the all-electronic computer provided by the invention can timely process the fault problem caused by the software fault of the execution module by monitoring the running state of each execution module, and lays a foundation for restarting the execution module with the fault by utilizing the software restarting process subsequently, thereby avoiding the loss caused by the burst problem and simultaneously improving the usability of the interlocking equipment of the all-electronic computer.

The following describes the system for restarting the all-electronic computer interlocking device provided by the present invention, and the system for restarting the all-electronic computer interlocking device described below and the method for restarting the all-electronic computer interlocking device described above can be referred to correspondingly.

Fig. 4 is a schematic structural diagram of a restart system of an all-electronic computer interlocking device provided by the present invention, as shown in fig. 4, including: a downtime determination module 410 and a restart module 411;

the downtime determination module 410 is used for determining the historical downtime times caused by the software faults of each execution model according to the running states of each execution module in the full-electronic computer interlocking equipment detected in real time;

the restarting module 411 is configured to restart the failed target execution module according to the software restarting procedure if the historical downtime is less than the preset number.

The system for restarting the all-electronic computer interlocking equipment can realize the function of automatically restarting the execution module software within a certain time when the execution module is down due to a certain accidental fault in the operation process of the execution module on the premise that the safety of the drive equipment of the execution module of the all-electronic computer interlocking equipment is ensured, thereby greatly improving the availability of the all-electronic computer interlocking equipment and reducing the unnecessary manual maintenance cost caused by the accidental fault.

Further, in an embodiment, the restart module 411 may be further configured to:

according to the software restarting process, restarting a first CPU in a target execution module, and restarting a second CPU in the target execution module when the starting time of the first CPU reaches a preset value;

determining a starting password sent by a first CPU to a second CPU according to starting information sent by the second CPU to the first CPU;

and according to the starting password, synchronizing the time of the first CPU and the second CPU to determine the target time for restarting the first CPU and the second CPU, and restarting the first CPU and the second CPU at the target time.

According to the restarting system of the interlocking equipment of the all-electronic computer, the two CPUs of the single board card of the execution module are utilized, and are started at the same appointed moment through a series of interactive processes, so that the correct operation of the execution module is ensured, and the stability of the interlocking equipment of the all-electronic computer is improved.

Fig. 5 is a schematic physical structure diagram of an electronic device provided in the present invention, and as shown in fig. 5, the electronic device may include: a processor (processor)510, a communication interface (communication interface)511, a memory (memory)512 and a bus (bus)513, wherein the processor 510, the communication interface 511 and the memory 512 complete mutual communication through the bus 513. Processor 510 may call logic instructions in memory 512 to perform the following method:

determining the historical downtime caused by the software fault of each execution model according to the running state of each execution module in the full-electronic computer interlocking equipment detected in real time;

and if the historical downtime times are less than the preset times, restarting the target execution module with the fault according to the software restart process.

In addition, the logic instructions in the memory may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention or a part thereof, which essentially contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer power screen (which may be a personal computer, a server, or a network power screen, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.

Further, the present invention discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the all-electronic computer interlocking device restart method provided by the above-mentioned method embodiments, for example, comprising:

determining the historical downtime caused by the software fault of each execution model according to the running state of each execution module in the full-electronic computer interlocking equipment detected in real time;

and if the historical downtime times are less than the preset times, restarting the target execution module with the fault according to the software restart process.

In another aspect, the present invention also provides a non-transitory computer readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to perform the all-electronic computer interlocking device restarting method provided in the above embodiments, for example, the computer program includes:

determining the historical downtime caused by the software fault of each execution model according to the running state of each execution module in the full-electronic computer interlocking equipment detected in real time;

and if the historical downtime times are less than the preset times, restarting the target execution module with the fault according to the software restart process.

The above-described system embodiments are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.

Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on such understanding, the above technical solutions may be essentially or partially implemented in the form of software products, which may be stored in computer readable storage media, such as ROM/RAM, magnetic disk, optical disk, etc., and include instructions for causing a computer power supply screen (which may be a personal computer, a server, or a network power supply screen, etc.) to execute the method according to the embodiments or some parts of the embodiments.

Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:含多方向车站的调度区段列车运行计划调整方法和系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!