CN113472572B - Network recovery method and device based on rail transit signal system - Google Patents

Network recovery method and device based on rail transit signal system Download PDF

Info

Publication number
CN113472572B
CN113472572B CN202110720789.8A CN202110720789A CN113472572B CN 113472572 B CN113472572 B CN 113472572B CN 202110720789 A CN202110720789 A CN 202110720789A CN 113472572 B CN113472572 B CN 113472572B
Authority
CN
China
Prior art keywords
network
information
signal
link
determining
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
CN202110720789.8A
Other languages
Chinese (zh)
Other versions
CN113472572A (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.)
CRSC Urban Rail Transit Technology Co Ltd
Original Assignee
CRSC Urban Rail Transit Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CRSC Urban Rail Transit Technology Co Ltd filed Critical CRSC Urban Rail Transit Technology Co Ltd
Priority to CN202110720789.8A priority Critical patent/CN113472572B/en
Publication of CN113472572A publication Critical patent/CN113472572A/en
Application granted granted Critical
Publication of CN113472572B publication Critical patent/CN113472572B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a network recovery method and device based on a rail transit signal system, wherein the method comprises the following steps: in a network initialization stage of signal equipment of a track traffic signal system, acquiring network state information and network address information of the signal equipment; when the network of the signal equipment fails, determining corresponding identification information when the network of the signal equipment fails based on the network state information and the network address information; determining a redundant link based on the state of the signal device access link; and sending the identification information and the redundant link to the SDN controller so that the SDN controller updates the network information and the routing information of the signal equipment to restore the network of the signal equipment. The invention can automatically and quickly update the network information and the route information of the signal equipment according to the identification information and the redundant link, and timely recover the network of the signal equipment, thereby improving the network recovery efficiency, reducing the network maintenance cost and ensuring the driving safety of the train.

Description

Network recovery method and device based on rail transit signal system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network recovery method and apparatus based on a rail traffic signal system.
Background
Based on the interconnected rail traffic signal system, on the basis of a computer network, a communication technology and an information network, signal technology equipment evolves towards digitization, networking and intellectualization. As the number of signal devices to be managed increases, the network scale increases, network management and security have become very important problems, and signal device network management systems have been developed.
Current signal equipment network management requires designing a network architecture, and incorporating signal equipment into the designed network architecture, where the signal equipment network is a distributed closed-loop control system composed of computer equipment, network equipment and dedicated equipment. If the current network of the signal equipment has faults, network management personnel are required to access and recover the network manually, and after the network architecture design is completed, network addresses of the signal equipment are configured respectively, so that a great amount of labor cost is consumed for each adjustment, and manpower resources are consumed greatly.
Disclosure of Invention
The invention provides a network recovery method and device based on a track traffic signal system, which are used for solving the defects of lower recovery efficiency and higher cost of signal equipment network in the track traffic signal system in the prior art.
The invention provides a network recovery method based on a rail traffic signal system, which comprises the following steps:
in a network initialization stage of signal equipment of a track traffic signal system, acquiring network state information and network address information of the signal equipment;
when the network of the signal equipment fails, determining corresponding identification information when the network of the signal equipment fails based on the network state information and the network address information;
determining a redundant link based on the state of the signal device access link;
and sending the identification information and the redundant link to an SDN controller so that the SDN controller updates network information and routing information of the signal equipment to restore the network of the signal equipment.
According to the network recovery method based on the track traffic signal system provided by the invention, the network state information and the network address information of the signal equipment are obtained, and the network recovery method comprises the following steps:
monitoring a first event and a second event when a network link of the signal equipment is not running, and determining the network state information based on the first event and the second event; the first event is used for describing adding equipment information, and the second event is used for describing deleting equipment information;
monitoring a third event when a network link of the signal equipment runs, and determining the network address information based on the third event; the third event is used to describe maintenance device information.
According to the network recovery method based on the track traffic signal system provided by the invention, the corresponding identification information when the signal equipment network fails is determined based on the network state information and the network address information, and the method comprises the following steps:
determining corresponding link information when the signal equipment network fails based on the network state information and the network address information;
determining a current switch ID of the redundant connection based on the link information;
determining remaining routing information based on the current switch ID;
and determining corresponding identification information when the signal equipment network fails based on the residual routing information.
According to the network recovery method based on the track traffic signal system provided by the invention, the determination of the redundant link comprises the following steps:
determining new routing information corresponding to the signal equipment based on the state of the signal equipment access link;
determining a switch table based on the new route information, and acquiring data channel information of each switch from the switch table;
determining a current switch ID corresponding to a current host based on data channel information of each switch, and determining a redundant flow table item based on host information corresponding to the current host and the current switch ID;
and determining the redundant link based on the redundant flow table entry.
According to the network recovery method based on the track traffic signal system, the states of the signal equipment access link comprise the state that the signal equipment access link is not operated and the state that the signal equipment access link is operated;
the determining new routing information corresponding to the signal equipment comprises the following steps:
if the signal equipment access link is in an unoperated state, determining new routing information corresponding to the signal equipment based on the link information;
and if the signal equipment access link is in an operation state, determining new routing information corresponding to the signal equipment based on the port information of the current switch. According to the network restoration method based on the track traffic signal system provided by the invention,
according to the network recovery method based on the track traffic signal system provided by the invention, the redundant flow table item is determined based on the host information corresponding to the current host and the current switch ID, and the network recovery method comprises the following steps:
judging whether the bound switch ID is consistent with the current switch ID based on the switch ID bound in the host information, and if so, generating the redundant flow table item based on the port information of the current host; if not, inquiring the switch ID of the next hop based on the position information of the current host, and generating the redundant flow table item based on the switch ID of the next hop.
According to the network recovery method based on the track traffic signal system, the network of the signal equipment is constructed based on a trusted architecture.
The invention also provides a network recovery device based on the track traffic signal system, which comprises:
the information acquisition unit is used for acquiring network state information and network address information of the signal equipment in a network initialization stage of the signal equipment of the track traffic signal system;
a redundant routing unit, configured to determine, when a network of the signal device fails, corresponding identification information when the network of the signal device fails, based on the network state information and the network address information;
a network redundancy unit, configured to determine a redundancy link based on a state of the signal device access link;
and the network recovery unit is used for sending the identification information and the redundant link to the SDN controller so that the SDN controller can update the network information and the routing information of the signal equipment to recover the network of the signal equipment.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the steps of the network recovery method based on the rail transit signal system are realized when the processor executes the computer 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, implements the steps of a network restoration method based on a rail traffic signal system as described in any of the above.
According to the network recovery method and device based on the rail transit signal system, when the network of the signal equipment fails, the corresponding identification information when the network of the signal equipment fails is determined based on the network state information and the network address information, and the redundant link is determined based on the state of the signal equipment access link, so that the SDN controller can automatically and quickly update the network information and the route information of the signal equipment according to the identification information and the redundant link, and timely recover the network of the signal equipment, the network recovery efficiency is improved, the network maintenance cost is reduced, and the driving safety of a train is ensured.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a network recovery method based on a rail traffic signal system provided by the invention;
FIG. 2 is a schematic diagram of a network restoration of a signal device provided by the present invention;
FIG. 3 is a schematic diagram of the trusted architecture provided by the present invention;
FIG. 4 is a schematic diagram of a trusted network connection model provided by the present invention;
fig. 5 is a schematic structural diagram of a network recovery device based on a rail traffic signal system provided by the invention;
fig. 6 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Current signal equipment network management requires designing a network architecture, and incorporating signal equipment into the designed network architecture, where the signal equipment network is a distributed closed-loop control system composed of computer equipment, network equipment and dedicated equipment. If the current network of the signal equipment has faults, network management personnel are required to access and recover the network manually, and after the network architecture design is completed, network addresses of the signal equipment are also configured respectively, so that a great amount of labor cost is consumed for each adjustment, manpower resources are greatly consumed, and the intelligence and the automation are lacked.
In contrast, the invention provides a network recovery method based on a rail traffic signal system. Fig. 1 is a flow chart of a network recovery method based on a rail traffic signal system, as shown in fig. 1, the method includes the following steps:
step 110, in the network initialization stage of the signal equipment of the track traffic signal system, acquiring the network state information and the network address information of the signal equipment.
Specifically, in a network initialization stage of a signal device of the track traffic signal system, a network link operation state of the signal device is detected to obtain network state information and network address information of the signal device.
For example, when the network link of the signal equipment is not running, acquiring network state information of the signal equipment; and when the network link of the signal equipment operates, acquiring network address information of the signal equipment so as to perform redundant route calculation.
Step 120, when the network of the signal equipment fails, determining corresponding identification information when the network of the signal equipment fails based on the network state information and the network address information;
step 130, determining a redundant link based on the state of the signal device access link.
Specifically, when the network of the signal equipment fails, communication between the signal equipment can be affected, so that potential safety hazards are brought to the operation of the rail transit train. Therefore, it is necessary to restore the network of signal devices in time to ensure safe operation of the train. For example, when a link or a switch failure of the signal device is detected, if a corresponding server cannot be found by a certain interface, the network failure of the signal device is indicated.
At this time, after determining the network state information and the network address information, the link information (such as the beginning end of the link failure, the ending end of the link failure, and all the channel information connected to the link) corresponding to the network failure of the signal device may be obtained, and based on the link information, calculation may be performed, so as to determine the identification information tableeld corresponding to the network failure of the signal device.
The state of the signal device access link refers to the operational state (including the non-operational and operational states) of the signal device automatic access link. Detecting the state of an automatic access link when the signal equipment network fails, and determining a redundant link based on link information if the automatic access link is not operated; and if the automatic access link operates, determining a redundant link based on the corresponding switch port information.
Step 140, the identification information and the redundant link are sent to the SDN controller, so that the SDN controller updates the network information and the routing information of the signal device to recover the network of the signal device.
Specifically, after the identification information and the redundant link are obtained, the identification information and the redundant link are sent to the SDN controller, so that the SDN controller can modify and update the network information and the route information of the signal equipment through SDN programs, and timely recover the network of the signal equipment, thereby ensuring the running safety of the train. Among them, SDN (Software Defined Network) controllers are applications in Software Defined Networks (SDN) responsible for flow control to ensure intelligent networks.
In addition, it should be noted that, based on the method provided by the embodiment of the invention, the fault network of the signal equipment can be switched rapidly, the network recovery time is less than 500ms, and the timeliness of network recovery is ensured.
Therefore, the embodiment of the invention can automatically and rapidly carry out network recovery on the signal equipment from the engineering data management dimension, thereby greatly reducing the maintenance cost of the network system of the signal equipment and ensuring the operation safety of the train. Meanwhile, the SDN controller has the function of monitoring the equipment through the flow state, replaces the traditional state of monitoring the network equipment through a heartbeat mechanism, and greatly lightens the load of a server, so that after the network failure occurs to the signal equipment in a certain area, the signal equipment can be identified in time, the corresponding identification information (namely, the redundant route is started) and the redundant link (namely, the redundant network is started) when the network failure of the signal equipment is calculated quickly, the network communication among the signal equipment is restored quickly, the level of automatic flexible networking is further improved, and the safety of the train signal equipment network is improved. The embodiment of the invention automatically manages the signal equipment network, flexibly accesses the signal equipment, dynamically allocates the network address of the signal equipment, uniformly manages the signal equipment and reduces the labor cost.
As shown in fig. 2, when the network of the signal device is in an initial state, the link 3 is a blocking network, and the default link for data transmission from the client a to the server B is: client a-link 1-link 2-server B, redundant links are: client a-link 3-server B. Assuming that switch 2 fails, link 1 fails, redundant link is active, link 3 becomes the default link, and at this time the data transmission default link is: client a-link 3-server B, thereby enabling fast and accurate restoration of the network of signal devices.
According to the network recovery method based on the rail transit signal system, when the network of the signal equipment fails, the corresponding identification information when the network of the signal equipment fails is determined based on the network state information and the network address information, and the redundant link is determined based on the state of the signal equipment access link, so that the SDN controller can automatically and quickly update the network information and the route information of the signal equipment according to the identification information and the redundant link, and timely recover the network of the signal equipment, the network recovery efficiency is improved, the network maintenance cost is reduced, and the driving safety of a train is ensured.
Based on the above embodiment, acquiring the network status information and the network address information of the signal device includes:
monitoring a first event and a second event when a network link of the signal equipment is not running, and determining network state information based on the first event and the second event; the first event is used for describing adding device information, and the second event is used for describing deleting device information;
monitoring a third event when a network link of the signal equipment runs, and determining network address information based on the third event; the third event is used to describe maintenance device information.
Specifically, when the network link of the signal device is not running, the maintenance network monitoring module generates and updates the network state information of the existing signal device by monitoring a first event (such as a NetDevLinkAdd event) and a second event (such as a NetDevLinkDelete event).
When the network link of the signal device runs, the maintenance monitoring module monitors a third event (such as a netdevlinkagarsive event) to maintain the network link to add network address information for route calculation.
Based on any of the above embodiments, determining, based on the network status information and the network address information, identification information corresponding to when the signal device fails, includes:
determining corresponding link information when the signal equipment network fails based on the network state information and the network address information;
determining a current switch ID of the redundant connection based on the link information;
determining remaining routing information based on the current switch ID;
and determining corresponding identification information when the signal equipment network fails based on the residual routing information.
Specifically, based on the network state information and the network address information, a redundant routing calculation function swichlocation calc () is adopted to calculate link information corresponding to the failure of the signal equipment, including the start end information of the link failure, the end information of the link failure and all channel information connected to the link.
The function fail_to_switch_id () is used to generate the redundant connected current switch ID value based on the above-described Links of all channel information connected to the link. The remaining routing information is calculated by a function fail_to_switch_route () using a network redundancy algorithm (e.g., a Floyd-warshall algorithm). Based on the residual route information, the corresponding identification information tableeid when the signal equipment network fails is calculated through a function calc_fail_to_tableeid ().
Based on any of the above embodiments, determining the redundant link includes:
determining new routing information corresponding to the signal equipment based on the state of the signal equipment accessing the link;
determining a switch table based on the new route information, and acquiring the data channel information of each switch from the switch table;
determining a current switch ID corresponding to a current host based on the data channel information of each switch, and determining a redundant flow table item based on the host information corresponding to the current host and the current switch ID;
based on the redundancy flow table entry, a redundancy link is determined.
Specifically, based on the identification information tableld corresponding to the network failure of the signal device, the state of the access link of the signal device (i.e. whether the automatic access link operates) can be determined by adopting the function redundantstable tableld init (), and based on the state of the access link of the signal device, the new routing information fail_to_switch_route () corresponding to the signal device can be determined.
After determining the new route information, calculating the switch table through the function get_switch_tables (), circularly processing the switch table, and taking out the data channel information datapath value of each switch from the switch table.
Determining a current switch ID corresponding to a current host based on the data channel information of each switch, and determining a redundant flow table item based on the host information corresponding to the current host and the current switch ID; wherein, since host information is stored in the switch registration information table, the host information in the host registration information can be acquired through get_host_binding_info ().
Based on the host information corresponding to the current host and the current switch ID, whether the current host is located under the current switch or not can be judged, and if so, a redundant stream table entry Output is generated according to the port where the host is located. If the current host is not under the current switch, inquiring the switch ID (dpid) of the next hop from the failure_to_sw_route () according to the position information in the host information, and generating a redundant stream table item: and (3) outputting, namely, groupX, and finally, directly inserting a plurality of links in the middle of the switch according to the generated redundant flow table entry, namely, determining the redundant links.
Based on any of the above embodiments, the state of the signal device access link includes the signal device access link being in an inactive state and the signal device access link being in an active state;
determining new routing information corresponding to the signal equipment, including:
if the signal equipment access link is in an unoperated state, determining new routing information corresponding to the signal equipment based on the link information;
and if the signal equipment access link is in an operation state, determining new routing information corresponding to the signal equipment based on the port information of the current switch.
Specifically, when the automatic access link auto_flow_route () is not running, new route information fail_to_switch_route () is calculated using the function switch_route_clac () using the link information Links calculated by the redundant route.
When the automatic access link auto_flow_route () runs, the new routing information fail_to_switch_route () is calculated using the function switch_route_clac () using the port information groups in the switch.
Based on any of the above embodiments, determining the redundancy flow table entry based on the host information corresponding to the current host and the current switch ID includes:
judging whether the bound switch ID is consistent with the current switch ID based on the switch ID bound in the host information, and if so, generating a redundant flow table item based on the port information of the current host; if not, inquiring the switch ID of the next hop based on the position information of the current host, and generating a redundant flow table item based on the switch ID of the next hop.
Specifically, the switch ID bound by the host information is used for judging whether the bound switch ID is consistent with the current switch ID, if so, the current host is indicated to be positioned under the current switch, and then a redundancy stream table item Output is generated according to the port information of the host.
If the bound switch ID is inconsistent with the current switch ID, the current host is indicated not to be under the current switch, and then the switch ID (dpid) of the next hop is queried from failure_to_sw_route () according to the position information located in the host information, so as to generate a redundant flow table item: output: groupX.
Based on any of the above embodiments, the network of signal devices is built based on a trusted architecture.
As shown in FIG. 3, the signal equipment network trusted computing environment, the trusted architecture is composed of a CPU, a memory, an I/O, a password coprocessor, a random number generator, an embedded operating system and other components, and is mainly used for the functions of trusted measurement storage, trusted measurement report, key generation, encryption and signature, data security storage and the like.
The trusted computing environment is mainly composed of a trusted platform control module (Trusted Platform Control Module, TPCM) and a trusted software base, etc. The TPCM provides integrity measurement, secure storage, trusted report, cryptographic services and other functions for trusted computing, and is a core hardware module serving as a source point of trusted computing. The TPCM starts before CPU, establishes a trust chain (TPCM-BIOS-MBR-OS Loader-OS) with TPCM module as trust root, takes TPCM as integrity measurement starting point, and gradually transfers control right, and finally extends the trust chain to application program.
As shown in fig. 4, the signal equipment network trusted boundary, the trusted area boundary adopts a trusted network connection model, and the model is composed of 3 parts, namely an access requester, a policy control point and a policy decision point. The access requester is various servers or terminal computing nodes, the policy control point adopts an SDN switch, the policy decision point adopts a trusted computing technology, and the access requester has the functions of identity authentication, platform integrity measurement, application integrity measurement and SDN switch control,
And the SDN controller adopts a trusted computing technology to perform logic centralized unified management and control on the communication network. Table 1 is a corresponding list of application layers and signal authorization messages, as shown in table 1, the trusted authority marks a cross-node communication service host and client, protects the integrity of RSSP-II secure connection, and implements strict network access control according to information such as a service source IP address, a destination IP address, a source port number, a destination port number, and a protocol type.
TABLE 1
The signal equipment network can control the cluster center in a trusted way, the overall structure of the train signal system can be divided into three layers, and the first layer is an ATS scheduling layer which comprises an ATS center local area network, an ATS wide area network and an ATS station local area network and is responsible for scheduling and commanding the train operation; the second layer is a train control equipment layer and mainly comprises an interlocking, an area controller and a wireless blocking center, and is connected through a signal safety data network, is responsible for monitoring the running state of a train and controlling the running of the train according to the line condition; the third layer is a field device layer, comprises a base station, a transponder, a track circuit, a turnout and other track side execution parts, and is a train-ground information transmission and control layer.
The network restoration device based on the track traffic signal system provided by the invention is described below, and the network restoration device based on the track traffic signal system described below and the network restoration method based on the track traffic signal system described above can be correspondingly referred to each other.
Based on any one of the above embodiments, the present invention provides a network recovery device based on a track traffic signal system, as shown in fig. 5, the device includes:
an information obtaining unit 510, configured to obtain, in a network initialization stage of a signal device of a track traffic signal system, network state information and network address information of the signal device;
a redundant routing unit 520, configured to determine, when the network of the signal device fails, corresponding identification information when the network of the signal device fails, based on the network status information and the network address information;
a network redundancy unit 530, configured to determine a redundancy link based on a state of the signal device access link;
a network recovery unit 540, configured to send the identification information and the redundant link to an SDN controller, so that the SDN controller updates network information and routing information of the signal device to recover the network of the signal device.
Based on any of the above embodiments, the information obtaining unit 510 includes:
the first acquisition unit is used for monitoring a first event and a second event when the network link of the signal equipment is not running, and determining the network state information based on the first event and the second event; the first event is used for describing adding equipment information, and the second event is used for describing deleting equipment information;
the second acquisition unit is used for monitoring a third event when the network link of the signal equipment runs, and determining the network address information based on the third event; the third event is used to describe maintenance device information.
Based on any of the above embodiments, the redundant routing unit 520 includes:
a link information determining unit, configured to determine link information corresponding to when the signal device network fails, based on the network state information and the network address information;
a switch information determining unit configured to determine a current switch ID of the redundant connection based on the link information;
a remaining route information determining unit configured to determine remaining route information based on the current switch ID;
and the identification information determining unit is used for determining the corresponding identification information when the signal equipment network fails based on the residual routing information.
Based on any of the above embodiments, the network redundancy unit 530 includes:
a new route information determining unit, configured to determine new route information corresponding to the signal device based on a state of the signal device accessing the link;
a channel information determining unit, configured to determine a switch table based on the new route information, and obtain data channel information of each switch from the switch table;
the redundant flow table item determining unit is used for determining a current switch ID corresponding to a current host based on the data channel information of each switch, and determining a redundant flow table item based on the host information corresponding to the current host and the current switch ID;
and the redundant link determining unit is used for determining the redundant link based on the redundant flow table item.
Based on any of the above embodiments, the state of the signal device access link includes the signal device access link being in an inactive state and the signal device access link being in an active state;
the new routing information determining unit is configured to:
if the signal equipment access link is in an unoperated state, determining new routing information corresponding to the signal equipment based on the link information;
and if the signal equipment access link is in an operation state, determining new routing information corresponding to the signal equipment based on the port information of the current switch.
Based on any one of the above embodiments, the redundant flow table entry determining unit is configured to:
judging whether the bound switch ID is consistent with the current switch ID based on the switch ID bound in the host information, and if so, generating the redundant flow table item based on the port information of the current host; if not, inquiring the switch ID of the next hop based on the position information of the current host, and generating the redundant flow table item based on the switch ID of the next hop.
Based on any of the above embodiments, the network of signal devices is built based on a trusted architecture.
Fig. 6 is a schematic structural diagram of an electronic device according to the present invention, and as shown in fig. 6, the electronic device may include: processor 610, memory 620, communication interface (Communications Interface) 630, and communication bus 640, wherein processor 610, memory 620, and communication interface 630 communicate with each other via communication bus 640. The processor 610 may invoke logic instructions in the memory 620 to perform a network restoration method based on a rail traffic signal system, the method comprising: in a network initialization stage of signal equipment of a track traffic signal system, acquiring network state information and network address information of the signal equipment; when the network of the signal equipment fails, determining corresponding identification information when the network of the signal equipment fails based on the network state information and the network address information; determining a redundant link based on the state of the signal device access link; and sending the identification information and the redundant link to an SDN controller so that the SDN controller updates network information and routing information of the signal equipment to restore the network of the signal equipment.
Further, the logic instructions in the memory 620 described above 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 this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, 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, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides 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 method of recovering a network based on a rail transit signal system provided by the above methods, the method comprising: in a network initialization stage of signal equipment of a track traffic signal system, acquiring network state information and network address information of the signal equipment; when the network of the signal equipment fails, determining corresponding identification information when the network of the signal equipment fails based on the network state information and the network address information; determining a redundant link based on the state of the signal device access link; and sending the identification information and the redundant link to an SDN controller so that the SDN controller updates network information and routing information of the signal equipment to restore the network of the signal equipment.
In yet another aspect, the present invention further provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the above-provided network recovery method based on a rail traffic signal system, the method comprising: in a network initialization stage of signal equipment of a track traffic signal system, acquiring network state information and network address information of the signal equipment; when the network of the signal equipment fails, determining corresponding identification information when the network of the signal equipment fails based on the network state information and the network address information; determining a redundant link based on the state of the signal device access link; and sending the identification information and the redundant link to an SDN controller so that the SDN controller updates network information and routing information of the signal equipment to restore the network of the signal equipment.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. A network recovery method based on a rail transit signal system, comprising:
in a network initialization stage of signal equipment of a track traffic signal system, acquiring network state information and network address information of the signal equipment;
when the network of the signal equipment fails, determining corresponding identification information when the network of the signal equipment fails based on the network state information and the network address information;
determining a redundant link based on the state of the signal device access link;
transmitting the identification information and the redundant link to an SDN controller to enable the SDN controller to update network information and routing information of the signal device to recover the network of the signal device;
the acquiring the network state information and the network address information of the signal equipment comprises the following steps:
monitoring a first event and a second event when a network link of the signal equipment is not running, and determining the network state information based on the first event and the second event; the first event is used for describing adding equipment information, and the second event is used for describing deleting equipment information;
monitoring a third event when a network link of the signal equipment runs, and determining the network address information based on the third event; the third event is used for describing maintenance equipment information;
the state of the signal equipment access link refers to the operation state of the signal equipment automatic access link, and the operation state comprises non-operation and operation;
the determining a redundant link based on the state of the signal device access link includes:
detecting the state of an automatic access link when the signal equipment network fails, and determining a redundant link based on link information if the running state of the automatic access link is not running; and if the operation state of the automatic access link is operation, determining a redundant link based on the corresponding switch port information.
2. The network restoration method based on the track traffic signal system according to claim 1, wherein the determining the identification information corresponding to the network failure of the signal device based on the network state information and the network address information includes:
determining corresponding link information when the signal equipment network fails based on the network state information and the network address information;
determining a current switch ID of the redundant connection based on the link information;
determining remaining routing information based on the current switch ID;
and determining corresponding identification information when the signal equipment network fails based on the residual routing information.
3. The method for recovering a network based on a rail transit signal system according to claim 2, wherein the determining a redundant link comprises:
determining new routing information corresponding to the signal equipment based on the state of the signal equipment access link;
determining a switch table based on the new route information, and acquiring data channel information of each switch from the switch table;
determining a current switch ID corresponding to a current host based on data channel information of each switch, and determining a redundant flow table item based on host information corresponding to the current host and the current switch ID;
and determining the redundant link based on the redundant flow table entry.
4. The network restoration method based on a track traffic signal system according to claim 3, wherein the state of the signal device access link includes the signal device access link being in an unoperated state and the signal device access link being in an operational state;
the determining new routing information corresponding to the signal equipment comprises the following steps:
if the signal equipment access link is in an unoperated state, determining new routing information corresponding to the signal equipment based on the link information;
and if the signal equipment access link is in an operation state, determining new routing information corresponding to the signal equipment based on the port information of the current switch.
5. The network recovery method based on a rail traffic signal system according to claim 3, wherein the determining the redundancy flow table item based on the host information corresponding to the current host and the current switch ID includes:
judging whether the bound switch ID is consistent with the current switch ID based on the switch ID bound in the host information, and if so, generating the redundant flow table item based on the port information of the current host; if not, inquiring the switch ID of the next hop based on the position information of the current host, and generating the redundant flow table item based on the switch ID of the next hop.
6. The method of network restoration based on a rail transit signal system as recited in any one of claims 1 to 5, wherein the network of signal devices is built based on a trusted architecture.
7. A network restoration device based on a rail traffic signal system, comprising:
the information acquisition unit is used for acquiring network state information and network address information of the signal equipment in a network initialization stage of the signal equipment of the track traffic signal system;
a redundant routing unit, configured to determine, when a network of the signal device fails, corresponding identification information when the network of the signal device fails, based on the network state information and the network address information;
a network redundancy unit, configured to determine a redundancy link based on a state of the signal device access link;
a network recovery unit, configured to send the identification information and the redundant link to an SDN controller, so that the SDN controller updates network information and routing information of the signal device to recover a network of the signal device;
the acquiring the network state information and the network address information of the signal equipment comprises the following steps:
monitoring a first event and a second event when a network link of the signal equipment is not running, and determining the network state information based on the first event and the second event; the first event is used for describing adding equipment information, and the second event is used for describing deleting equipment information;
monitoring a third event when a network link of the signal equipment runs, and determining the network address information based on the third event; the third event is used for describing maintenance equipment information;
the state of the signal equipment access link refers to the operation state of the signal equipment automatic access link, and the operation state comprises non-operation and operation;
the determining a redundant link based on the state of the signal device access link includes:
detecting the state of an automatic access link when the signal equipment network fails, and determining a redundant link based on link information if the running state of the automatic access link is not running; and if the operation state of the automatic access link is operation, determining a redundant link based on the corresponding switch port information.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the rail transit signal system-based network restoration method according to any one of claims 1 to 6 when the program is executed.
9. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the rail transit signal system-based network restoration method according to any one of claims 1 to 6.
CN202110720789.8A 2021-06-28 2021-06-28 Network recovery method and device based on rail transit signal system Active CN113472572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110720789.8A CN113472572B (en) 2021-06-28 2021-06-28 Network recovery method and device based on rail transit signal system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110720789.8A CN113472572B (en) 2021-06-28 2021-06-28 Network recovery method and device based on rail transit signal system

Publications (2)

Publication Number Publication Date
CN113472572A CN113472572A (en) 2021-10-01
CN113472572B true CN113472572B (en) 2024-01-05

Family

ID=77873384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110720789.8A Active CN113472572B (en) 2021-06-28 2021-06-28 Network recovery method and device based on rail transit signal system

Country Status (1)

Country Link
CN (1) CN113472572B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753348A (en) * 2008-12-17 2010-06-23 中国科学院沈阳自动化研究所 High-availability industrial Ethernet redundancy method
CN105406988A (en) * 2015-10-26 2016-03-16 中国电子科技集团公司第二十八研究所 Software-definition survivable network construction method
WO2016058261A1 (en) * 2014-12-16 2016-04-21 北京大学深圳研究生院 Network-based flat routing method
CN106506353A (en) * 2016-10-27 2017-03-15 吉林大学 Virtual network single link failure restoration methods and system based on SDN
KR20190136793A (en) * 2018-05-31 2019-12-10 주식회사 케이티 SDN switch in SDN environment, In-Band configuration of control channel and wired/wireless duplication using the same
CN110891018A (en) * 2019-11-25 2020-03-17 新华三大数据技术有限公司 Network traffic recovery method and device, SDN controller and storage medium
CN111147387A (en) * 2019-12-19 2020-05-12 北京邮电大学 Flow control method and device for hybrid SDN network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103843286B (en) * 2011-05-19 2018-05-15 爱立信(中国)通信有限公司 For the method and apparatus based on the triggering router state change of exchanger connectivity

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753348A (en) * 2008-12-17 2010-06-23 中国科学院沈阳自动化研究所 High-availability industrial Ethernet redundancy method
WO2016058261A1 (en) * 2014-12-16 2016-04-21 北京大学深圳研究生院 Network-based flat routing method
CN105745882A (en) * 2014-12-16 2016-07-06 北京大学深圳研究生院 Realization method for flat networks routing based on network
CN105406988A (en) * 2015-10-26 2016-03-16 中国电子科技集团公司第二十八研究所 Software-definition survivable network construction method
CN106506353A (en) * 2016-10-27 2017-03-15 吉林大学 Virtual network single link failure restoration methods and system based on SDN
KR20190136793A (en) * 2018-05-31 2019-12-10 주식회사 케이티 SDN switch in SDN environment, In-Band configuration of control channel and wired/wireless duplication using the same
CN110891018A (en) * 2019-11-25 2020-03-17 新华三大数据技术有限公司 Network traffic recovery method and device, SDN controller and storage medium
CN111147387A (en) * 2019-12-19 2020-05-12 北京邮电大学 Flow control method and device for hybrid SDN network

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Backup route establishment for QoS routing protocol in MANET;A. Rama Rao等;《2016 International Conference on Signal Processing, Communication, Power and Embedded System (SCOPES)》;全文 *
SDN数据中心网络基于流分类的负载均衡方案;王珺等;计算机工程与应用(第24期);全文 *
基于可靠性指标的通信网链路重要性评估方法;戴伏生;董学励;;南京邮电大学学报(自然科学版)(第01期);全文 *
面向电力通信网的高可靠SDN架构及数据保护策略研究;黄辉;王易文;沈卫康;;电子设计工程(第17期);全文 *

Also Published As

Publication number Publication date
CN113472572A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
US11706102B2 (en) Dynamically deployable self configuring distributed network management system
CN103621027B (en) Communication route control system and communication route control method
CN103297396B (en) The apparatus and method that in cluster system, managing failures shifts
CN106911648B (en) Environment isolation method and equipment
JP5531625B2 (en) Communication system and failure detection method thereof
CN114389940A (en) Failure recovery plan determination method, device and system and computer storage medium
JP2018160786A (en) Monitor system, monitoring method and computer program
CN107948063B (en) Method for establishing aggregation link and access equipment
CN113708979A (en) Network acceleration method and device
US8472336B2 (en) Network management apparatus for setting communication method of network apparatus
CN107547374B (en) Aggregation route processing method and device
CN115623000A (en) Method and device for efficiently distributing data on digital network
CN113364833A (en) Method, device and system for realizing software defined internet of things
CN113472572B (en) Network recovery method and device based on rail transit signal system
US20120218907A1 (en) System and method for coordinated discovery of the status of network routes by hosts in a network
CN111405004B (en) Switch management method and device, equipment and storage medium
CN110224872B (en) Communication method, device and storage medium
CN113132169B (en) Method for resetting a packet processing component to an operational state
US7808982B2 (en) Method for verifying shared state synchronization of redundant modules in a high availability network switch
CN116319803A (en) Cloud edge cooperative distributed API calling method and system
Furda et al. Developing a microservices integration layer for next-generation rail operations centers
CN112953897A (en) Train control system edge security node implementation method based on cloud computing equipment
CN112702192B (en) Fault processing method, device and system of communication equipment and storage medium
KR20130100762A (en) Communication device and communication method
Rajković et al. Resource Awareness in Complex Industrial Systems–A Strategy for Software Updates

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant