CN113297035B - Method for judging main operating machine of computer interlocking system - Google Patents

Method for judging main operating machine of computer interlocking system Download PDF

Info

Publication number
CN113297035B
CN113297035B CN202110676398.0A CN202110676398A CN113297035B CN 113297035 B CN113297035 B CN 113297035B CN 202110676398 A CN202110676398 A CN 202110676398A CN 113297035 B CN113297035 B CN 113297035B
Authority
CN
China
Prior art keywords
operating machine
communication
class
machine
operating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110676398.0A
Other languages
Chinese (zh)
Other versions
CN113297035A (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.)
Casco Signal Ltd
Original Assignee
Casco Signal 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 Casco Signal Ltd filed Critical Casco Signal Ltd
Priority to CN202110676398.0A priority Critical patent/CN113297035B/en
Publication of CN113297035A publication Critical patent/CN113297035A/en
Application granted granted Critical
Publication of CN113297035B publication Critical patent/CN113297035B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Computing Systems (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Selective Calling Equipment (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention provides a main operation judgment method of a computer interlocking system, which comprises the following steps of grouping all operating machines in the computer interlocking system into operating machine sets, dividing each operating machine in each operating machine set into three types, namely I type, II type and III type operating machines respectively, and sequentially giving three different initial health values X, Y, Z, wherein X is more than Y and more than Z; and updating the health value according to the category of each operating machine and the communication state between the operating machine and an interlocking lower computer and an external system, and selecting a main operating machine according to the health value. According to the scheme, the interlocking lower computer can quickly pick out the maximum health value as a main operating machine according to the health value of the existing operating machine, the fault recovery is quick, and the influence range is small.

Description

Method for judging main operating machine of computer interlocking system
Technical Field
The application relates to the technical field of computer control, in particular to a method for judging a main operating machine of a computer interlocking system.
Background
The computer interlocking system of each station comprises a plurality of operating machine devices. When the system is used, in order to realize functions of master-slave channel management of interfaces of external systems such as a dispatching set and the like, priority management of operation instructions between operation machines and the like, a plurality of operation machine devices need to be distinguished from master-slave attributes through a certain algorithm. According to the requirements of the China's republic of China railway industry standard TB/T3496-. Interfacing with other external systems (including but not limited to train dispatch command systems, marshalling yard combination automation systems, wireless shunting cab signal and monitoring systems, automatic train monitoring systems, subway car base integrated automation systems, cell console systems, etc.) also requires only one main operator to be present among the interfacing operators.
The existing main operating machine judging algorithm is that all operating machines establish communication in pairs, then according to a preset operating machine equipment list sequence, the first operating machine is preferentially used as a main operating machine, when the communication between the operating machine and other operating machines is interrupted, the operating machine is determined to be in fault, and then the second list of operating machine equipment is used for applying to be used as the main operating machine. Patent CN112433979A discloses a switching method of multiple operation machines: and a switching device is used outside the operating machine to acquire the operating states of the operating machine and the adjacent operating machines, and make a decision and control the switching of the main operating machine.
The defects are as follows:
1. relying heavily on communication between the operating machines. When the network communication between the operation machines is intermittent, the main operation machine may jump continuously, and the phenomenon of multiple main operation machines is also easy to occur.
2. Other hardware switching devices may be relied on, the use cost is high, and the maintenance is troublesome. The number of operating machines connected with the device at the same time is limited, and the device is difficult to support a large station.
3. When the first list operator and the second list operator fail at the same time. The third list operator is difficult to judge that the third list operator should be regarded as the main operator at present.
4. Only one main operator can be present at the same time. Therefore, the computer interlocking system cannot be simultaneously interfaced with two dispatching centralized protocol systems.
Disclosure of Invention
The present invention is directed to overcome the above-mentioned drawbacks of the prior art and provide a method for determining a master operating machine of a computer interlock system, which comprises the following steps:
s0: grouping all operating machines in a computer interlocking system into operating machine sets;
s1: dividing each operating machine in the computer interlocking system into three categories: the interlocking device comprises a class I operating machine connected with an external system through an interface, a class II operating machine which is not connected with the external system through an interface but connected with an interlocking lower computer through an interface, and a class III operating machine which is not connected with the external system through an interface and is not connected with the interlocking lower computer through an interface;
s2: respectively endowing three different initial health values X, Y, Z to the three types of manipulators, wherein X > Y > Z, X represents the health value of the I type of manipulator, Y represents the health value of the II type of manipulator, and Z represents the health value of the III type of manipulator;
s3: in each communication period, sequentially updating the health value of each operating machine according to the classification of each operating machine and the change of the communication state between each operating machine and an interlocking lower computer and between each operating machine and an external system;
s4: and in each communication period, distributing the main operating machines according to the updated health values of the operating machines, and taking the operating machine with the maximum health value as the main operating machine.
Preferably, the class I operating machine and the class II operating machine are in communication connection with the interlocking lower computer through the first network or/and the second network.
Preferably, the external system comprises: the system comprises a dispatching centralized system, a train dispatching command system, a marshalling station combined automation system, a wireless shunting locomotive signal and monitoring system, an automatic train monitoring system, a subway vehicle base comprehensive automation system and a unit console system.
Preferably, in the initial assignment method of the health value in the step S2 and the health value updating method in the step S3, it is required that the maximum value of the health value of the class II operating machine is smaller than the minimum value of the health value of the class I operating machine.
Preferably, in S3, the updating the health value of each operating machine in each communication cycle includes: judging the category of the current operating machine:
if the operation machine is the I-type operation machine, the step S31 to the step S34 are carried out; if the operation machine is a type II operation machine, the operation machine goes to the steps S35 to S38; if the operation is the class III operation machine, the process proceeds to step S39.
The steps S31 to S34 are specifically as follows:
s31: reading the current health value of the class I operating machine;
s32: judging the communication state of the class I operating machine and the interlocking lower computer, and if the communication state is changed from abnormal communication to normal communication, increasing a first preset value a to a health value X; if the communication state is changed from normal communication to abnormal communication, subtracting the first preset value a from the health value X; if the communication state is not changed, the health value X is not changed;
s33: judging the communication state of the I-type operating machine and an external system, and if the communication state is changed from abnormal communication to normal communication, increasing a second preset value b to the health value X; if the communication state is changed from normal communication to abnormal communication, subtracting the second preset value b from the health value X; if the communication state is not changed, the health value X is not changed; wherein the first preset value a is greater than the second preset value b;
s34: the class I operating machine sends the health value updated in real time to the interlocking lower computer, and if the communication with the interlocking lower computer is normal, the interlocking lower computer receives the health value updated in the communication period; if the communication between the class I operating machine and the interlocking lower computer is abnormal, the interlocking lower computer cannot receive the health value updated in the current communication period.
Further, the communication between the class I operating machine and the interlocking lower computer is abnormal, and the method specifically includes: the I-type operating machine and the interlocking lower computer do not communicate through a first network or fail to communicate through the first network, and do not communicate through a second network or fail to communicate through the second network;
the class I operating machine is abnormally communicated with an external system, and specifically comprises: there is no communication or communication failure between the class I handler and the external system.
Preferably, the steps S35 to S38 specifically include:
s35: reading the current health value of the class II operating machine;
s36: judging the communication state of the class II operating machine and the interlocking lower computer through the first network, and if the communication state is changed from abnormal communication to normal communication, increasing a third preset value c to the health value Y; if the communication state is changed from normal communication to abnormal communication, subtracting the third preset value c from the health value; if the communication state is changed, the health value Y is unchanged; and satisfy the relation X > Y +2 c;
s37: judging the communication state of the second network of the class II operating machine and the interlocking lower computer, and if the communication state is changed from abnormal communication to normal communication, increasing the health value Y by the third preset value c; if the communication state is changed from normal communication to abnormal communication, subtracting the third preset value c from the health value Y; if the communication state is not changed, the health value Y is not changed;
s38: the class II operating machine sends the health value updated in real time to the interlocking lower computer, and if the communication with the interlocking lower computer is normal, the interlocking lower computer receives the health value updated in the communication period; if the communication between the class I operating machine and the interlocking lower computer is abnormal, the interlocking lower computer cannot receive the health value updated in the current communication period.
Further, the communication between the class II operating machine and the interlock lower computer through the first network is abnormal, and the method specifically includes: the class II operating machine and the interlocking lower computer do not communicate through a first network or fail to communicate through the first network;
the class II operating machine and the interlocking lower computer are abnormally communicated through a second network, and the method specifically comprises the following steps: the class II operating machine and the interlocking lower computer do not communicate through a second network or fail to communicate through the second network;
the class II operation machine is abnormal in communication with the interlocking lower computer, and specifically comprises: the II-type operating machine and the interlocking lower computer do not have communication failure through the first network or communication failure through the first network, and do not have communication failure through the second network or communication failure through the second network.
Preferably, the step S39 is specifically:
s39: the health value Z of the class III manipulator book is not updated all the time, and the class III manipulator is used as a standby machine all the time.
Preferably, in the step S4, in each communication cycle, the specific steps allocated to the main operating machine are as follows:
s41: the interlocking lower computer receives all updated health values sent by the operating machines which are in normal communication with the interlocking lower computer in the communication period;
s42: selecting the operating machine with the highest health value from the operating machines which are normally communicated with the interlocking lower computer as a main operating machine of the current communication period;
s43: the interlocking lower computer sends the distribution result of the main operating machine to all the operating machines which are in normal communication with the interlocking lower computer, and the operating machines determine that the operating machines are used as the main operating machines or the standby machines in the communication period;
s44: all the operating machines which are abnormally communicated with the interlocking lower computer are directly considered as standby machines in the communication period.
Further, in S42, if there are multiple operating machines with the same health value and the health value is the maximum value, the main operating machine in the current communication cycle that establishes communication connection with the interlock lower computer is selected from the multiple operating machines.
Further, in step S2, an initial health value X + δ is assigned to one of the I-class manipulators, δ needs to be greater than the second preset value b, and the manipulator is always designated as the master manipulator in each communication cycle on the premise that the manipulator and the interlock lower computer are in normal communication.
Preferably, in step S2, the n types of the class II manipulators are given different initial health values Y 1 、Y 2 、……、Y n (ii) a Wherein, Y 1 >Y 2 >……>Y n And X>Y 1 + a. The scheme can specify the priority of each operating machine in the class II operating machines, and is used for judging scenes of the main operating machines under the condition that the operating machines are different in hardware, function authority, environment and the like.
Preferably, in the step S0, all the operation machines in the computer interlocking system are grouped into operation machine groups according to an interface mode and an equipment user role; wherein each manipulator is affiliated with a unique manipulator group.
Preferably, each operating machine set in the computer interlocking system independently selects the main operating machine in the operating machine set.
Preferably, the computer interlocking system can support a plurality of sets of external systems to be simultaneously connected with the operating machine of one set of computer interlocking system through an interface.
The invention has the following beneficial effects:
1. the scheme does not depend on communication among the operation machines, and the judgment result of the lower computer is always used as the basis no matter whether the communication among the operation machines is good or not. The health value calculation method is beneficial to expansion and is easy to meet the priority level requirement of the future operating machine.
2. When the main operating machine has a fault, the lower computer can quickly pick out the maximum health value as the main operating machine according to the health value of the existing operating machine. The fault recovery is fast, and the influence range is small.
3. No matter how many operation machines are failed at the same time, the lower computer can always quickly judge and select the current main operation machine. The application range is wider.
4. By using the manipulator grouping scheme, one set of station interlocking equipment can simultaneously support a plurality of sets of external system and manipulator interfaces.
Drawings
Fig. 1 is a block diagram of a structure of a main operating machine of a computer interlocking system at a certain station according to the present invention.
Detailed Description
The following describes a method for determining a main operating machine of a computer interlocking system in detail with reference to the accompanying drawings and the detailed description.
As shown in fig. 1, the method for determining a master operating machine of a computer interlocking system in a certain station provided by the present invention includes 7 operating machines, wherein an operating machine a, an operating machine B, an operating machine C, an operating machine D, and an operating machine E are disposed in a first room and are a first operating machine group, and the operating machine a and the operating machine B are class I operating machines and are respectively connected to a dispatch centralized system and an interlocking lower computer through interface communication; the operation C machine and the operation D machine are II-type operation machines and are only in communication connection with the interlocking lower computer through an interface; the operation E machine is a class III operation machine and is not in communication connection with the dispatching centralized system and the interlocking lower computer through interfaces; the operation F machine and the operation G machine are arranged in a second room and are second operation units, and the operation F machine and the operation G machine are I-type operation machines which are respectively in communication connection with the wireless shunting locomotive signal and monitoring system and the interlocking lower computer through interfaces. The first operating unit and the second operating unit jointly form a computer interlocking system.
When all the equipment of the station normally run, only one main operating machine exists in the first operating machine set in the computer interlocking system at the same time, the lower computer preferably selects a class I operating machine (i.e. an operating machine A or an operating machine B) as the main operating machine, and selects a class II operating machine (i.e. an operating machine C or an operating machine D) as the main operating machine. In the second operation unit, only one main operation machine exists at the same time, and is one of the operation F machine and the operation G machine.
Firstly grouping operation machines into operation machine groups according to an interface mode and an equipment user role in a computer interlocking system; in actual use, users have different roles or authorities (whether or not a certain function can be executed) depending on the work location (such as the first room and the second room), and as shown in fig. 1, the roles of the users operating the a machine, the E machine, and the F machine are different, and the users are taken as the basis for grouping the operating machines. Wherein each operating machine is affiliated to a unique operating machine set; independently selecting a main operating machine in each operating machine group in the computer interlocking system; therefore, the computer interlocking system can support a plurality of sets of external systems to be simultaneously connected with the operating machine of one set of computer interlocking system through an interface.
In this embodiment, the manner of selecting the main operating machine in the same operating machine group includes the following contents:
s1: the operation machines are divided into three types in the same operation machine set: the interlocking system comprises a class I operating machine, a class II operating machine, a class III operating machine and a control system, wherein the class I operating machine is connected with an external system and an interlocking lower computer through interfaces;
the I-type operating machine and the II-type operating machine can be in communication connection with the interlocking lower computer through double networks (a first network A and a second network B);
wherein the external system comprises: the system comprises a dispatching centralized system, a train dispatching command system, a marshalling station combined automation system, a wireless shunting locomotive signal and monitoring system, an automatic train monitoring system, a subway vehicle base comprehensive automation system and a unit console system.
S2: respectively assigning three different initial health values X, Y, Z to the three types of manipulators, wherein X > Y > Z, X represents the health value of the type I manipulator, Y represents the health value of the type II manipulator, and Z represents the health value of the type III manipulator; in the present embodiment, the initial health value is set to X equal to 100, Y equal to 80, and Z equal to 0.
S3: in each communication cycle, performing point adding updating or point subtracting updating on each health value according to the type of each operating machine and the change of the communication state between each operating machine and the interlocking lower computer and the external system; wherein the added value or the subtracted value is a preset value.
S4: in each communication period, selecting the operating machine with the maximum health value in the same operating machine group in the computer interlocking system as a main operating machine of the operating machine group; and if the health values are equal in the same operation unit, selecting the operation machine which establishes communication connection with the interlocking lower computer earlier as the main operation machine of the operation unit.
In the above initial assignment method of the health value and the update method of the health value adding, subtracting, etc., it is required to satisfy that the maximum value that the health value of the class II manipulator may reach is smaller than the minimum value that the health value of the class I manipulator may reach, that is, to ensure that the class I manipulator is preferentially selected as the main manipulator under the condition that the class I manipulator works normally. Specifically, in a first communication cycle after each operating machine of each operating machine group in the computer interlocking system is started, the updating mode of each health value is as follows:
after the class I operating machine is started, the class I operating machine and the interlock lower computer are changed from an un-communication state to a communication normal state (the class I operating machine and the interlock lower computer are both considered to be in a normal communication state through dual-network connection communication, or through first network a single-network connection communication, or through second network B single-network connection communication, and when the class I operating machine and the interlock lower computer are in a non-communication state or a communication failure, the communication is considered to be in a normal state), the health value X of the class I operating machine and the interlock lower computer is increased by a first preset value a, wherein a is 10 in the embodiment; when the class I operating machine and the external system are changed from the non-communication state to the communication state, the health value X is increased by a second preset value b, where the first preset value a is greater than the second preset value b, and b is 5 in this embodiment. That is, in this embodiment, if the class I operating machine, the interlock lower computer, and the external system are all converted from the non-communication state to the communication state, the health value X is adjusted from the initial 100 to 115; when the class I operating machine and the interlocking lower computer are only changed from an un-communication state to a normal communication state, the health value X of the class I operating machine is adjusted from the initial 100 to 110; when the class I manipulator and an external system only change from a non-communication state to a normal communication state, the health value X of the class I manipulator is adjusted from an initial value of 100 to 105; otherwise, the health value X of the class I operating machine is not changed and is kept at 100.
After a class II manipulator is started, when the class II manipulator and an interlocking lower computer are changed from an un-communication state to a normal single-network communication state through a first network A or a second network B, a health value Y of the class II manipulator and the interlocking lower computer is increased by a third preset value c, wherein the third preset value c is half of the first preset value a and meets the relation that X is more than Y +2c, and c is 5 in the embodiment; when the class II operating machine and the interlocking lower computer are changed from an un-communication state to a normal state through dual-network communication, the health value Y of the class II operating machine and the interlocking lower computer is increased by 2 times of a third preset value c, namely 10; when the communication between the class II operating machine and the interlocking lower computer is abnormal (the dual-network is not communicated or the dual-network communication fails), the health value Y is not changed. That is, in this embodiment, if the class II operating machine and the interlock lower computer are changed from the non-communication state to the normal state through the dual network communication, the health value Y is adjusted from the initial 80 to 90; if the class II operating machine and the interlocking lower computer are changed from an un-communication state to a normal state through single-network communication only through the first network A, the health value Y of the class II operating machine and the interlocking lower computer is adjusted to 85 from the initial 80; if the class II operating machine and the interlocking lower computer are changed from the non-communication state to the normal single-network communication through the second network B, the health value Y is adjusted to 85 from the initial 80; otherwise, the health value Y of the class II operating machine is not changed and is kept at 80.
After the III-class operating machine is started, the health value Z is always an initial value 0, namely the health value Z is not updated all the time; the class III manipulator is always used as a standby machine.
Further, in step S2, an initial health value X + δ is given to one of the I-class manipulators, δ being greater than the second preset value b; on the premise that the operating machine and the interlocking lower computer are normally communicated, the operating machine is always appointed as a main operating machine in each communication period.
In this embodiment, as shown in fig. 1, the dispatch centralized interface protocol requires that two class I operating machines (an operating machine a and an operating machine B) connected to the dispatch centralized system are cross-interconnected with two autonomous machines, and if it is required to designate an operating machine a of the two class I operating machines as a main operating machine preferentially, a higher initial health value X + δ may be given to the operating machine a of the designated class I operating machine in step S2, where δ is greater than 5; in this embodiment, the initial health value given to the operation a machine may be 106, that is, δ is 6; and giving the initial health value of 100 to the operation B machine in the class I operation machine. In this case, when the operation a machine communicates normally only with the interlocked lower computers, its health value X + δ is increased by 10 to adjust to 116. Even if the operation B machine communicates with the interlocking lower computer and the dispatching centralized system normally at the same time, the health value X of the operation B machine is adjusted to be 115 and is still smaller than the health value of the operation A machine 116, so that the operation A machine automatically becomes a main operation machine of the operation unit. At this time, when the autonomous machine detects that the operation A machine is the main operating machine, the autonomous machine automatically switches and determines that the interface channel of the operation A machine is the main operating machine channel, so that the health value of the operation A machine is adjusted to 121, and the health value of the operation B machine is adjusted to 110.
Still further, in step S2, the initial health values Y of different sizes are given to n of the class II manipulators 1 、Y 2 、……、Y n (ii) a Wherein Y is 1 >Y 2 >……>Y n And X>Y 1 + a. The scheme can specify the priority of each operating machine in the II type operating machines, and is used for judging scenes of the main operating machines under the condition that the operating machines have differences of hardware, function authority, environment and the like.
In this embodiment, the class II manipulator in the first manipulator group includes: operating the machine C and the machine D; the initial health value of the operation C machine is set to be 85, and the initial health value of the operation D machine is set to be 80. When the operation C machine and the interlocking lower computer are communicated normally through the dual network, the health value is adjusted to 95 and is smaller than the minimum value 100 of the health value of the class I operation machine, under the condition that the class I operation machine works normally, the class I operation machine is preferentially selected as the main operation machine, the operation C machine of the class II operation machine is selected as the main operation machine, and the operation D machine of the class II operation machine is selected as the main operation machine again.
According to the above, in each communication cycle after the startup of each operating machine group in the computer interlocking system, the specific steps for updating the health value of each operating machine are as follows: judging the type of the manipulator when the manipulator is started, and if the manipulator is a type I manipulator, entering S31-S34;
s31: reading the current health value of the class I operating machine (if the current communication cycle is the first communication cycle after the class I operating machine is started, the read current health value is the initial health value);
s32: judging the communication state of the class I operating machine and the interlocking lower computer, and if the communication state is changed from communication failure or non-communication to normal communication, increasing the health value by 10; if the communication state is changed from normal communication to communication fault or no communication, subtracting 10 from the health value; if the communication state is not changed, the health value is not changed;
s33: judging the communication state of the class I operating machine and an external system, and if the communication state is changed from communication failure or non-communication to normal communication, increasing the health value by 5; if the communication state is changed from normal communication to communication fault or not, subtracting 5 from the health value; if the communication state is not changed, the health value is not changed;
s34: the I-type operating machine sends the health value updated in real time to the interlocking lower computer, and if the I-type operating machine and the interlocking lower computer are normally communicated, the interlocking lower computer receives the health value updated in the communication period; if the communication between the class I operating machine and the interlocking lower computer is abnormal, the interlocking lower computer cannot receive the health value updated in the current communication period.
Specifically, the type of the manipulator is determined when the manipulator is started, and if the manipulator is a type II manipulator, the process proceeds to steps S35 to S38;
s35: reading the current health value of the class II operating machine (if the current communication period is the first communication period after the class II operating machine is started, the read value is the initial health value);
s36: judging the communication state of the first network A between the class II operating machine and the interlocking lower computer, and if the communication state is changed from communication failure or non-communication to normal communication, increasing the health value by 5; if the communication state is changed from normal communication to communication fault or not, subtracting 5 from the health value; if the communication state is not changed, the health value is not changed;
s37: judging the communication state of a second network B between the class II operating machine and the interlocking lower computer, and if the communication state is changed from communication failure or non-communication to normal communication, increasing the health value by 5; if the communication state is changed from normal communication to communication fault or not, subtracting 5 from the health value; if the communication state is not changed, the health value is not changed;
s38: the class II operating machine sends the health value updated in real time to the interlocking lower computer, and if the class II operating machine and the interlocking lower computer are normally communicated, the interlocking lower computer receives the health value updated in the communication period; if the class II operating machine is not communicated with the interlocking lower computer normally, the interlocking lower computer cannot receive the health value updated in the current communication period.
Specifically, the type of the manipulator is determined when the manipulator is started, and if the manipulator is a class III manipulator, the step S39 is performed;
s39: the health value of the class III operating machine is not updated all the time, and the class III operating machine is used as a standby machine all the time.
And repeatedly executing the steps until the health values of all the operating machines in the computer interlocking system are updated in the communication period.
In each communication cycle after each operating machine of each operating unit in the computer interlocking system is started, the specific steps for judging the main operating machine are as follows:
s41, in the communication period, the interlocking lower computer receives all updated health values sent by the operating machines which are in normal communication with the interlocking lower computer;
s42, selecting the operating machine with the highest health value from the operating machines which are normally communicated with the interlocked lower computer as the main operating machine of the current communication period;
s43, the interlocking lower computer sends the judgment result of the main operating machine to all operating machines which are in normal communication with the interlocking lower computer, and the operating machines determine that the operating machines are used as the main operating machine or the standby machine in the current communication period;
and S44, all the operating machines which are abnormally communicated with the interlocking lower computer are directly considered as standby machines in the current communication period.
In summary, the present invention has the following advantages,
1. the scheme does not depend on communication among the operation machines, and the lower computer judgment result is always used as a basis no matter how good the communication among the operation machines is. The health value calculation method is beneficial to expansion and easily meets the priority level requirement of the future operating machine;
2. when the main operating machine breaks down, the lower computer can quickly pick out the maximum health value as the main operating machine according to the health value of the existing operating machine. The fault recovery is fast, and the influence range is small.
3. No matter how many operation machines are failed at the same time, the lower computer can always quickly judge and select the current main operation machine. The application range is wider.
4. Using the manipulator grouping scheme, one set of station interlocking equipment can simultaneously support a plurality of sets of external system and manipulator interfaces
While the present invention has been described in detail with reference to the preferred embodiments, it should be understood that the above description should not be taken as limiting the invention. Various modifications and alterations to this invention will become apparent to those skilled in the art upon reading the foregoing description. Accordingly, the scope of the invention should be determined from the following claims.

Claims (16)

1. A method for judging a main operating machine of a computer interlocking system is characterized by comprising the following steps:
s0: grouping all operating machines in a computer interlocking system into operating machine sets;
s1: dividing each operating machine in each operating machine set into three categories: the interlocking system comprises a class I operating machine, a class II operating machine, a class III operating machine and a control system, wherein the class I operating machine is connected with an external system and an interlocking lower computer through interfaces;
s2: respectively endowing three different initial health values X, Y, Z to three types of manipulators, wherein X > Y > Z, X represents the health value of the I type manipulator, Y represents the health value of the II type manipulator, and Z represents the health value of the III type manipulator;
s3: in each communication period, sequentially updating the health value of each operating machine according to the classification of each operating machine and the change of the communication state between each operating machine and the interlocking lower computer and between each operating machine and the external system;
s4: and in each communication period, distributing the main operating machines according to the updated health values of the operating machines, and taking the operating machine with the maximum health value as the main operating machine.
2. The method for determining the master operation machine of the computer interlocking system according to claim 1, wherein the class I operation machine and the class II operation machine are both communicatively connected to the interlocking lower operation machine through a first network and/or a second network.
3. The computer interlock system main operator judging method according to claim 1, wherein the external system comprises: the system comprises a dispatching centralized system, a train dispatching command system, a marshalling station combined automation system, a wireless shunting locomotive signal and monitoring system, an automatic train monitoring system, a subway vehicle base comprehensive automation system and a unit console system.
4. The computer interlock system main operator judging method according to claim 2, wherein the initial assignment method of the health value in the step S2 and the health value updating method in the step S3 are such that the maximum value of the health value of the class II operator is smaller than the minimum value of the health value of the class I operator.
5. The computer interlock system main operating machine judgment method according to claim 4, wherein in the step S3, the health value of each operating machine is updated in each communication cycle, and the category of the current operating machine is judged;
if the operation machine is a class I operation machine, the operation proceeds to steps S31 to S34:
s31: reading the current health value of the class I operating machine;
s32: judging the communication state of the I-type operating machine and the interlocking lower computer, and if the communication state is changed from abnormal communication to normal communication, increasing a first preset value a to a health value X; if the communication state is changed from normal communication to abnormal communication, subtracting the first preset value a from the health value X; if the communication state is not changed, the health value X is not changed;
s33: judging the communication state of the class I operating machine and an external system, and if the communication state is changed from abnormal communication to normal communication, increasing a second preset value b to the health value X; if the communication state is changed from normal communication to abnormal communication, subtracting the second preset value b from the health value X; if the communication state is not changed, the health value X is not changed;
wherein the first preset value a is greater than the second preset value b;
s34: the class I operating machine sends the updated health value to the interlocking lower computer, and if the class I operating machine and the interlocking lower computer are normally communicated, the interlocking lower computer receives the updated health value in the current communication period; if the communication between the class I operating machine and the interlocking lower computer is abnormal, the interlocking lower computer cannot receive the health value updated in the current communication period.
6. The method for determining the master operation machine of the computer interlocking system according to claim 5, wherein if the master operation machine is a class II operation machine, the method proceeds from step S35 to step S38:
s35: reading the current health value of the class II operating machine;
s36: judging the communication state of the class II operating machine and the interlocking lower computer through the first network, and if the communication state is changed from abnormal communication to normal communication, increasing a third preset value c to the health value Y; if the communication state is changed from normal communication to abnormal communication, subtracting the third preset value c from the health value Y; if the communication state is not changed, the health value Y is not changed;
the third preset value c is half of the first preset value a, and satisfies the relation of X > Y +2 c;
s37: judging the communication state of the class II operating machine and the interlocking lower computer through a second network, and if the communication state is changed from abnormal communication to normal communication, increasing the health value Y by the third preset value c; if the communication state is changed from normal communication to abnormal communication, subtracting the third preset value c from the health value Y; if the communication state is not changed, the health value is not changed;
s38: the class II operating machine sends the updated health value to the interlocking lower computer, and if the class II operating machine and the interlocking lower computer are normally communicated, the interlocking lower computer receives the updated health value in the current communication period; if the class II operating machine is not communicated with the interlocking lower computer normally, the interlocking lower computer cannot receive the health value updated in the current communication period.
7. The method for determining the master operating machine of the computer interlocking system according to claim 6, wherein if the master operating machine is a class III operating machine, the step S39 is performed:
s39: the health value Z of the class III operating machine is not updated all the time, and the class III operating machine is used as a standby machine all the time.
8. The method for determining the master operating machine of the computer interlocking system according to claim 5, wherein the class I operating machine is not communicated with the interlocking lower operating machine normally, and specifically comprises: the I-type operating machine and the interlocking lower computer do not communicate through a first network or fail to communicate through the first network, and do not communicate through a second network or fail to communicate through the second network;
the class I operating machine is abnormally communicated with an external system, and specifically comprises: there is no communication or communication failure between the class I handler and the external system.
9. The method for determining the master operating machine of the computer interlocking system according to claim 8, wherein the communication between the class II operating machine and the interlocking lower computer through the first network is abnormal, and specifically comprises: the class II operating machine and the interlocking lower computer do not communicate through a first network or fail to communicate through the first network;
the class II operating machine and the interlocking lower computer are abnormally communicated through a second network, and the method specifically comprises the following steps: the class II operating machine and the interlocking lower computer do not communicate through a second network or fail to communicate through the second network; the class II operation machine is abnormal in communication with the interlocking lower computer, and specifically comprises: the II-type operating machine and the interlocking lower computer do not have communication failure through the first network or communication failure through the first network, and do not have communication failure through the second network or communication failure through the second network.
10. The method for determining a master operator of a computer interlocking system according to claim 9, wherein in the step of S4, the specific steps assigned to the master operator in each communication cycle are as follows:
s41: the interlocking lower computer receives all updated health values sent by the operating machines which are in normal communication with the interlocking lower computer in the communication period;
s42: selecting the operating machine with the highest health value from the operating machines which are normally communicated with the interlocking lower computer as a main operating machine of the current communication period;
s43: the interlocking lower computer sends the distribution result of the main operating machine to all the operating machines which are in normal communication with the interlocking lower computer, and the operating machines determine that the operating machines are used as the main operating machines or the standby machines in the communication period;
s44: all the operating machines which are abnormally communicated with the interlocking lower computer are directly considered as standby machines in the communication period.
11. The method for determining a master operating machine of a computer interlock system according to claim 10, wherein in S42, if the health values of the plurality of operating machines are equal and the health value is the maximum value, the master operating machine of the current communication cycle which establishes a communication connection with the interlock lower computer earlier is selected from the plurality of operating machines.
12. The method for judging a main operating machine of a computer interlocking system according to claim 10, wherein in the step S2, an initial health value X + δ is given to one of the class I operating machines, δ being larger than the second preset value b; on the premise that the manipulator and the interlocking lower computer are normally communicated, the manipulator is always appointed as a main manipulator in each communication period.
13. The method for determining a master operator of a computer interlock system according to claim 10, wherein in step S2, initial health values Y of different sizes are given to n operators among the class II operators 1 、Y 2 、……、Y n (ii) a Wherein Y is 1 >Y 2 >……>Y n And X>Y 1 +a。
14. The method for determining master operators of computer interlocking system according to claim 1, wherein in the step S0, all operators in the computer interlocking system are grouped into operation machine groups according to the interface mode and the device user role; wherein each manipulator is affiliated with a unique manipulator group.
15. The computer interlocking system master operator judging method according to claim 14, wherein a master operator in each operating unit in the computer interlocking system is independently selected from the operating units.
16. The computer interlock system primary operating machine judgment method according to claim 14, wherein the computer interlock system is capable of supporting a plurality of external systems simultaneously interfacing with an operating machine of a computer interlock system.
CN202110676398.0A 2021-06-18 2021-06-18 Method for judging main operating machine of computer interlocking system Active CN113297035B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110676398.0A CN113297035B (en) 2021-06-18 2021-06-18 Method for judging main operating machine of computer interlocking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110676398.0A CN113297035B (en) 2021-06-18 2021-06-18 Method for judging main operating machine of computer interlocking system

Publications (2)

Publication Number Publication Date
CN113297035A CN113297035A (en) 2021-08-24
CN113297035B true CN113297035B (en) 2022-07-26

Family

ID=77328721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110676398.0A Active CN113297035B (en) 2021-06-18 2021-06-18 Method for judging main operating machine of computer interlocking system

Country Status (1)

Country Link
CN (1) CN113297035B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203968126U (en) * 2014-07-01 2014-11-26 上海亨钧科技有限公司 A kind of active and standby conversion equipment
CN110166306A (en) * 2019-06-14 2019-08-23 上海富欣智能交通控制有限公司 Data communications method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020129128A1 (en) * 2001-03-07 2002-09-12 Stephen Gold Aggregation of multiple headless computer entities into a single computer entity group

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203968126U (en) * 2014-07-01 2014-11-26 上海亨钧科技有限公司 A kind of active and standby conversion equipment
CN110166306A (en) * 2019-06-14 2019-08-23 上海富欣智能交通控制有限公司 Data communications method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Study on preventing override trip system under coal mine electric network based on can bus;Shu Tian et al.;《2010 International Conference on Intelligent System Design and Engineering Application》;20110411;全文 *
信号安全数据网信息安全防御方案研究;王锋;《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》;20190115;第2019年卷(第1期);第I138-236页 *

Also Published As

Publication number Publication date
CN113297035A (en) 2021-08-24

Similar Documents

Publication Publication Date Title
KR100427147B1 (en) Communication device for elevator control system
US6816466B1 (en) Automatic module configuration in a telecommunications power system
CN102015506B (en) Elevator system, elevator control device and destination floor reception terminal device
CN113297035B (en) Method for judging main operating machine of computer interlocking system
JP5106645B2 (en) Supervisory control method
KR100441914B1 (en) Group control system for elevators
JPH04266368A (en) Control of group management elevator
CN111913387A (en) System for redundancy and load balancing of multiple acquisition devices based on soft bus
JP4459733B2 (en) Power system monitoring control system and information management method
CN110728378B (en) Method for preparing spare parts in advance
CN102043746A (en) Automatic sequencing method, device, equipment and system of serial bus communication equipment
JP5030687B2 (en) Supervisory control system
CN103661497A (en) Train number allocating method and device and train number allocator
CN104850095B (en) Comprehensive automatic measurement and control defect-eliminating guidance system
US7712587B2 (en) Elevator system and method of monitoring elevators by using a virtual elevator group
JP4555781B2 (en) Monitoring method in distributed linkage system
CN106338131A (en) Central air-conditioning system
JPH08129336A (en) Train operation managing system
CN212723742U (en) Desulfurization DCS control system
CN216899662U (en) Virtual train platform
JP4414792B2 (en) Data transmission method, data transmission system, and terminal station
JPS6264157A (en) Subscriber test system
RU2397902C1 (en) Method of controlling railway multilevel safety system and system to this end
KR100558795B1 (en) System and method for performing distributed elevator group management control
CN108217412B (en) A kind of control system and its building method of escalator

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40051333

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant