CN106953814B - Transformer substation process layer network switching chip system, message forwarding processing method thereof and time measurement marking method - Google Patents

Transformer substation process layer network switching chip system, message forwarding processing method thereof and time measurement marking method Download PDF

Info

Publication number
CN106953814B
CN106953814B CN201710130118.XA CN201710130118A CN106953814B CN 106953814 B CN106953814 B CN 106953814B CN 201710130118 A CN201710130118 A CN 201710130118A CN 106953814 B CN106953814 B CN 106953814B
Authority
CN
China
Prior art keywords
network
message
module
time measurement
subsystem
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
CN201710130118.XA
Other languages
Chinese (zh)
Other versions
CN106953814A (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.)
Nari Technology Co Ltd
NARI Nanjing Control System Co Ltd
Original Assignee
Nari Technology Co Ltd
NARI Nanjing Control System 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 Nari Technology Co Ltd, NARI Nanjing Control System Co Ltd filed Critical Nari Technology Co Ltd
Priority to CN201710130118.XA priority Critical patent/CN106953814B/en
Publication of CN106953814A publication Critical patent/CN106953814A/en
Application granted granted Critical
Publication of CN106953814B publication Critical patent/CN106953814B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays

Landscapes

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

Abstract

The invention discloses a transformer substation process layer network exchange chip system, a message forwarding processing method and a time measurement marking method, wherein the system comprises an application control CPU subsystem, a network processor subsystem, a storage unit subsystem and a clock unit subsystem; the network processor subsystem comprises a storage controller module, and a network processor module, a time measurement marking module and a physical layer interface which are sequentially connected, wherein the physical layer interface consists of an HSR/PRP module and a PHY module; the application control CPU subsystem is connected with the network processor module through a high-speed DMA bus to transmit network messages, and is connected with the network processor module, the time measurement marking module and the physical layer interface through a control bus to transmit control signals. The invention realizes the purposes of measuring the forwarding delay of network equipment and improving the real-time performance of network redundancy protection by arranging the HSR/PRP module and the time measurement marking module, and simultaneously reduces the complexity of a hardware circuit.

Description

Transformer substation process layer network switching chip system, message forwarding processing method thereof and time measurement marking method
Technical Field
The invention relates to the technical field of electric power automation communication, in particular to a substation process level network exchange chip system, a message forwarding processing method and a time measurement marking method thereof.
Background
With the gradual popularization of the intelligent substation technology, the monitoring system based on data information networking transmission gradually replaces the traditional mode based on secondary cable hard connection, and the industrial ethernet switch is increasingly applied to the substation. In the aspect of current domestic electric power investment in China, billions of capital are newly added every year and are used for power generation (thermal power, hydroelectric power, wind power, nuclear power and solar power generation), and the total installed capacity of the whole nation reaches more than 14.9 billion kilowatts by 2015; the total installed capacity of the whole country reaches 20 hundred million by 2020; meanwhile, new energy construction is vigorously developed in China, including the construction of vigorously developing wind power, nuclear power and solar power, the construction of a smart power grid is vigorously carried out, the transformation of a national distribution network is improved, and the construction of a smart substation enters the development period. The scale of the construction and transformation of the corresponding foreign market power grid is also very huge.
At present, an intelligent substation network logically consists of a station control layer network, an interval layer network and a process layer network, and two layers, namely the station control layer and the process layer, are physically configured. The in-station automation equipment carries out unified modeling according to the IEC61850 standard, and information sharing and interaction are realized through station control layer MMS (multimedia messaging service) network exchange equipment and process layer GOOSE (generic object oriented substation event) and SV (space vector) network exchange equipment by applying a unified data interface model based on IEC61850 definition. The in-station information network bears functional services such as protection, measurement and control, metering, phasor measurement, fault recording and the like, the information sharing level is greatly improved, the foundation for realizing advanced applications such as total-station information digitization, automatic control, intelligent regulation, online decision analysis and the like is formed, and the performance of secondary systems and equipment of the intelligent substation is greatly supported by a process layer network switch.
According to the research and discovery of mainstream industrial switch products used in the current power system, the current mainstream industrial ethernet switches all use commercial packages as core devices for data exchange, the message forwarding processing flow is solidified, and too many unnecessary processes in the application of the transformer substation exist, so that the forwarding delay is relatively large. The hardware architecture is basically the same, and many used switching chip products are products 10 years ago, and even new chip versions only increase the bandwidth and the number of interfaces.
With the development of the intelligent power grid technology, a technical scheme of integrating three networks of a station control layer network, an interval layer network and a process layer network and a scheme of on-site protection of a transformer substation are provided. The main technical schemes can measure the forwarding delay of the network equipment, and the redundancy protection real-time performance of the network is high. The requirements of network topology and network state information visualization are put forward in the aspects of engineering implementation and substation maintenance. Under the application requirements, the function support of the switching chip of the industrial switch applied to the power system is lagged, and the realization of a new intelligent substation technical scheme cannot be completely supported. As for an industrial switch supporting a new power grid technology, a plurality of peripheral devices are added around a switch chip to support a new technical scheme applied in the industry, which results in a complex hardware scheme of a corresponding switch product, difficulty in circuit board routing, reduced product reliability and greatly increased product cost.
The most ideal state in the industrial control network of the transformer substation is that the network is never disconnected and does not lose packets. However, in practical applications, network anomalies often occur, the existing ring network protection protocol has link switching time of tens of milliseconds, the message in the time is not communicated, and the influence is large if the key message is lost. The HSR/PRP is used as a new industrial redundancy network protocol, and can ensure that the network does not lose packet when abnormal. However, no corresponding chip product exists at present, and products with corresponding functions are all realized through FPGA chip programming. The product cost is high.
In summary, the main disadvantages of the industrial switch switching chip applied in the existing power system are as follows: lack of unique functionality for the industry domain; the low integration level of the chip leads to the increase of a plurality of peripheral devices, and the circuit board is complex and has high power consumption.
Disclosure of Invention
The invention aims to provide a substation process layer network switching chip system, which is provided with an Ethernet redundant interface based on an HSR/PRP protocol and combines a message forwarding delay measurement and calculation technology to ensure that no packet loss occurs when a network is abnormal. The single chip integration level is higher, can greatly reduced peripheral circuit density and hardware cost, solves the current situation that present single exchange chip can't satisfy and support follow-up intelligent substation's demand.
The technical scheme adopted by the invention is as follows: a transformer substation process layer network switching chip system comprises an application control CPU subsystem, a network processor subsystem, a storage unit subsystem and a clock unit subsystem;
the clock unit subsystem is connected with other subsystems through a clock bus to provide clock information;
the network processor subsystem comprises a storage controller module, and a network processor module, a time measurement marking module and a physical layer interface which are sequentially connected, wherein the physical layer interface consists of an HSR/PRP module and a PHY module; the network processor module is connected with the storage controller module, the time measurement marking module, the HSR/PRP module and the PHY module through an internal control bus; the network processor module and the time measurement marking module are connected with the storage unit subsystem through the storage controller module so as to transmit forwarding table item information of a message to be transmitted or a received message;
the application control CPU subsystem is connected with a network processor module in the network processor subsystem through a high-speed DMA bus so as to transmit network messages;
the application control CPU subsystem is respectively connected with the network processor module, the time measurement marking module and the physical layer interface through a control bus so as to transmit control signals; the control signal sent by the time measurement marking module comprises a message characteristic configuration signal needing to carry out time measurement marking;
the application control CPU subsystem is connected with the storage unit subsystem through a read-write control bus so as to control the data read-write state switching of the storage unit subsystem;
in the network processor subsystem: the PHY module is connected with an external physical link to transmit network messages; the PHY module transmits the received HSR/PRP message to the HSR/PRP module for processing; the HSR/PRP module and the PHY module are respectively connected with a time measurement marking module; the time measurement marking module is configured according to message characteristics, and is used for marking an entering timestamp and an emitting timestamp of the network message measurement so as to obtain forwarding delay data; the network processor module carries out message forwarding processing according to forwarding table item information corresponding to the network message, and forwards the network message to be sent and corresponding forwarding delay data to an external link port corresponding to the forwarding table item information through a physical layer interface by the time measurement marking module.
In the invention, the clock unit subsystem is realized by the prior art, and each functional module in the network processor subsystem can be respectively realized by adopting an FPGA or other programmable controllers.
The network processor subsystem also comprises an HSR/PRP functional register, a PHY functional register, a time measurement functional register and a time measurement message information register which respectively correspond to the corresponding functional module and are connected with the corresponding functional module; each register is used for storing data, messages and the like generated by the corresponding functional module during operation.
The application control CPU subsystem also comprises a display module, and the application control CPU subsystem acquires the related information of the network message from each register and then displays the information through the display module. The related information of the network message includes network state information, such as forwarding delay data. The display module can also be used for displaying a network topology structure for network information transmission.
Furthermore, the application control CPU subsystem is provided with an external interface, and the external interface comprises a FLASH access control NAND/QSPI/NOR interface, a general IO interface, a UART serial port, a CAN bus interface and an Ethernet port. The NAND/QSPI/NOR interface is used for storing an application program and BSP; the external 16 general IO interfaces are used for managing the switch equipment, and the external 2 UART serial ports and 2 CAN bus interfaces are used for expanding application; and the 1 external Ethernet port is used for debugging diagnosis and chip control management.
Preferably, the application control CPU subsystem comprises a core processor, and the core processor adopts ARM.
The invention also provides a message forwarding processing method based on the transformer substation process layer network switching chip system, which comprises the following steps:
s11, a PHY module in the physical layer interface receives the network message of the external link, and transmits the network message to a time measurement marking module for the non-HSR/PRP message; for the HSR/PRP message, transmitting the network message to the HSR/PRP module, and turning to S12;
s12, the HSR/PRP module processes the network message, and then transmits the processed network message to the time measurement marking module;
s13, the time measurement marking module judges whether the network message needs time measurement according to the message feature configuration of the application control CPU subsystem, if so, the network message is measured and marked with an entering timestamp, then the network message is sent to the network processor module, if not, the network message is directly sent to the network processor module;
s14, the network processor module processes the legality of the network message, then searches the corresponding forwarding table information of the network message, processes the network message according to the searching result of the forwarding table information, and turns to S15 for the data needing network forwarding processing;
s15, carrying out multicast or unicast processing on the network message to be forwarded, carrying out message encapsulation on the network message, and then sending the network message to the time measurement marking module;
s16, the time measurement marking module measures and marks the sending timestamp of the network message to the network message needing time measurement, and then calculates to obtain the network message forwarding delay data; the time measurement marking module transmits the network message and the corresponding forwarding delay data to a physical layer interface;
s17, for the network message to be sent being HSR/PRP message, the HSR/PRP module processes the network message, then sends it to the corresponding port of the external link through the PHY module; otherwise, the PHY module directly sends the network message to be sent and the forwarding delay information thereof to the corresponding port of the external link.
In the invention, the application control CPU subsystem configures the message characteristics needing time measurement to the time measurement marking module through the control bus, and the messages needing time measurement generally comprise GOOSE/SV messages of 61850 protocol of intelligent substation measurement and control protection, IEC1588 time synchronization protocol messages or some general service messages. The configuration enables the time measurement marking module to carry out identification and judgment according to the mac address and the protocol type of the network message.
In step S13, the message validity processing includes CRC check of the message, validity check of the MAC address and IP address of the message, DoS security check, validity check of the message length, and the like, all of which are in the prior art.
Further, in step S14, the processing of the network packet by the network processor module further includes discarding or sending to the application control CPU subsystem for processing. Judging whether the message is a network message needing to be discarded according to the characteristic information of the message, such as multicast address, protocol type value and the like; and judging whether the network message needs to be uploaded to the application control CPU subsystem or not according to the forwarding table item information corresponding to the message.
Further, in step S15, it is determined whether the multicast network packet is a multicast packet or a broadcast packet, and the multicast packet needs to be copied and sent, and the unknown multicast, unknown unicast, and broadcast packets are copied to other interfaces in the broadcast domain except the ingress port for broadcast and sent. Specifically, the determination may be performed according to the message type, for example, the message type is a multicast message, or the broadcast in the vlan is also multicast processed.
Further, step S15 further includes performing QOS (Quality of Service) processing on the encapsulated network packet. When the network is overloaded or congested, QoS can ensure that important traffic is not delayed or dropped while ensuring efficient operation of the network.
The invention also provides a message time measurement marking method based on the transformer substation process layer network exchange chip system, which comprises the following steps:
s21, the application control CPU subsystem sends message feature configuration data to the time measurement marking module to define the feature of the network message needing time measurement;
s22, for the network message received from the physical layer interface, the time measurement marking module extracts the message characteristic data of the corresponding field from the received network message according to the message characteristic configuration data, and matches with the network message characteristic needing time measurement: for the non-IEC 1588 protocol message, if matching is successful, marking the time of the message entering, and meanwhile, carrying out time measurement on the marked message, and then transmitting the marked message to a network processor module; if the matching is unsuccessful, directly transmitting the data to a network processor module;
s23, for the network message received from the network processor module, the time measurement marking module transmits the network message to be transmitted without time measurement to the physical layer interface according to the characteristics of the network message or the time measurement marking of the network message in the step S22; a sending timestamp is marked on a network message needing time measurement;
s24, the time measurement module subtracts the entering time stamp and the sending time stamp of the network message to obtain the forwarding delay data, and then transmits the network message and the corresponding forwarding delay data to the physical layer interface;
s25, after receiving the network message to be sent, the physical layer interface processes the HSR/PRP message through the HSR/PRP module, then sends the HSR/PRP message to the PHY module, and sends the network message and the corresponding forwarding delay data to the external link port corresponding to the forwarding table information through the PHY module; and for the non-HSR/PRP message, directly sending the network message and the corresponding forwarding delay data thereof to the external link port corresponding to the forwarding table information through the PHY module. The HSR message and the common Ethernet message have different formats, and can identify and distinguish messages with different formats.
In step S22, the IEC1588 protocol packet is processed according to the protocol specification.
In step S24, for a goose/sv packet of IEEE61850, the forwarding delay data is written into the time delay reserved field of the packet; processing the IEC1588 protocol message according to the protocol specification; for other messages, the result is added to the message tail or to a time measurement result register. The method is more suitable for the characteristics and the requirements of the current intelligent power grid network data transmission.
Advantageous effects
According to the development requirement of the current intelligent power grid, the time measurement marking module and the HSR/PRP are integrated in the network exchange chip, so that the purposes of measuring the forwarding delay of network equipment and improving the real-time performance of network redundancy protection are achieved. The packet loss rate when the network is abnormal is reduced, the hardware circuit complexity of the substation process layer network switch is reduced, the number of hardware circuit devices is reduced, and the product cost is reduced. The method can adapt to and meet the requirements of the recent intelligent substation measurement and control protection scheme, promote the promotion and accumulation of chip technologies in the power system industry and promote the development of industry technologies.
Drawings
FIG. 1 is a schematic block diagram of the present invention;
FIG. 2 is a diagram illustrating a data flow of forwarding control information according to the present invention;
FIG. 3 is a schematic diagram illustrating a network data messaging flow;
FIG. 4 is a diagram illustrating a network protocol messaging flow;
FIG. 5 is a schematic diagram of a message forwarding process according to the present invention;
FIG. 6 is a schematic diagram of a time measurement process according to the present invention.
Detailed Description
The following further description is made in conjunction with the accompanying drawings and the specific embodiments.
In a protection measurement and control system of a transformer substation, when a protection device and a measurement and control device calculate information in a goose/sv message, the calculation accuracy depends on whether forwarding time delays of the messages participating in calculation on the network are consistent or not. However, in an actual network, the forwarding delay value of each packet is uncertain due to the storage and forwarding manner of the network device, and particularly when burst traffic exists on the network, the error of test calculation is large, and the accuracy of the protection action has a false action or a slow action. If the forwarding time delay of the goose/sv in the network can be measured and can participate in the calculation, the precision of the calculation result can be greatly improved, and the accuracy and timeliness of the corresponding protection action are improved.
Referring to fig. 1, the substation process level network switching chip system of the present invention includes an application control CPU subsystem, a network processor subsystem, a storage unit subsystem, and a clock unit subsystem;
the clock unit subsystem is connected with other subsystems through a clock bus to provide clock information;
the network processor subsystem comprises a storage controller module, and a network processor module, a time measurement marking module and a physical layer interface which are sequentially connected, wherein the physical layer interface consists of an HSR/PRP module and a PHY module; the network processor module is connected with the storage controller module, the time measurement marking module, the HSR/PRP module and the PHY module through an internal control bus so as to control the work of each module; the network processor module and the time measurement marking module are connected with the storage unit subsystem through the storage controller module so as to transmit forwarding table item information of a message to be transmitted or a received message;
the application control CPU subsystem is connected with a network processor module in the network processor subsystem through a high-speed DMA bus so as to transmit network messages;
the application control CPU subsystem is respectively connected with the network processor module, the time measurement marking module and the physical layer interface through a control bus so as to transmit control signals; the control signal sent by the time measurement marking module comprises a message characteristic configuration signal needing to carry out time measurement marking;
the application control CPU subsystem is connected with the storage unit subsystem through a read-write control bus so as to control the data read-write state switching of the storage unit subsystem;
in the network processor subsystem: the PHY module is connected with an external physical link to transmit network messages; the PHY module transmits the received HSR/PRP message to the HSR/PRP module for processing; the HSR/PRP module and the PHY module are respectively connected with a time measurement marking module; the time measurement marking module is configured according to message characteristics, and is used for marking an entering timestamp and an emitting timestamp of the network message measurement so as to obtain forwarding delay data; the network processor module carries out message forwarding processing according to forwarding table item information corresponding to the network message, and forwards the network message to be sent and corresponding forwarding delay data to an external link port corresponding to the forwarding table item information through a physical layer interface by the time measurement marking module.
Example 1
With reference to fig. 1 to 4, in the present real-time example, the core processor of the application control CPU subsystem employs an ARM, the clock unit subsystem is implemented by the prior art, and each functional module in the network processor subsystem is implemented by an FPGA.
Referring to fig. 2, the network processor module includes a network switching function register, an HSR/PRP function register, a PHY function register, a time measurement function register, and a time measurement packet information register. Each register is respectively used for temporarily storing data when the network processor module realizes internal control, and is respectively used for storing data, messages and the like generated in the realization process of corresponding functions. The network switching function register is used for storing data bits of a process control data of switching processing, such as controlling whether a certain function module is started or not. The time measurement function register is used for controlling whether to carry out time measurement or not and controlling the storage of data bits when which message is subjected to time measurement. The time measurement message information register is used for storing message rule information needing time measurement marking, such as specific values of specified message fields. The network processor module can obtain required data or messages from each register for self application or for the application control CPU subsystem to look up.
The storage unit subsystem comprises a message cache unit and a cache table entry storage unit, wherein the message cache unit is used for caching network data messages or network protocol messages, and the cache table entry storage unit is used for caching forwarding table entry information of the network messages.
The application control CPU subsystem also comprises a display module, and the application control CPU subsystem acquires the related information of the network message from each register and then displays the information through the display module. The related information of the network message includes network state information, such as forwarding delay data. The display module can also be used for displaying a network topology structure for network information transmission so as to adapt to the requirements of network topology and network state information visualization, which are provided in the aspects of engineering implementation and substation maintenance at present.
The application control CPU subsystem is provided with a plurality of external interfaces including a FLASH access control NAND/QSPI/NOR interface, a universal IO interface, a UART serial port, a CAN bus interface and an Ethernet port. The NAND/QSPI/NOR interface is used for storing an application program and BSP; the external 16 general IO interfaces are used for managing the switch equipment, and the external 2 UART serial ports and 2 CAN bus interfaces are used for expanding application; and the 1 external Ethernet port is used for debugging diagnosis and chip control management.
The control signals transmitted by the application control CPU subsystem to the functional modules in each subsystem respectively comprise configuration signals. The message feature configuration of the time measurement marking module is realized by defining field features of network messages, for example, the message is configured for goose/sv messages of IEC61850 or messages specified by application, mac address features and protocol type features of the messages are defined, and the time measurement module can identify and judge according to the mac address features and the protocol type features after receiving the network messages.
Example 2
Referring to fig. 3 and 4, for network data packets, the processing is only transmitted and forwarded in the network processor subsystem, and for network protocol packets, the processing is transmitted and forwarded between the application control CPU subsystem and the network processor subsystem.
Specifically, referring to fig. 5, the method for forwarding and processing a packet based on the substation process level network switching chip system includes the steps of:
s11, a PHY module in the physical layer interface receives the network message of the external link, and transmits the network message to a time measurement marking module for the non-HSR/PRP message; for the HSR/PRP message, transmitting the network message to the HSR/PRP module, and turning to S12;
s12, the HSR/PRP module processes the network message, and then transmits the processed network message to the time measurement marking module; the HSR/PRP module can adopt the HSR/PRP module technology realized by the existing FPGA;
s13, the time measurement marking module judges whether the network message needs time measurement according to the message feature configuration of the application control CPU subsystem, if so, the network message is measured and marked with an entering timestamp, then the network message is sent to the network processor module, if not, the network message is directly sent to the network processor module;
s14, the network processor module processes the legality of the network message, then searches the corresponding forwarding table information of the network message in the forwarding table storage unit of the storage unit subsystem through the storage controller, processes the network message according to the searching result of the forwarding table information, and turns to S15 for the data needing network forwarding processing; searching the forwarding table item information according to the key information field of the network message to perform corresponding message forwarding, which is the prior art;
the message validity processing comprises CRC (cyclic redundancy check) of the message, validity check of a message MAC (media access control) address and an IP (Internet protocol) address, DoS (security operating system) safety check, message length validity check and the like, which are all the prior art.
The processing of the network message by the network processor module also comprises discarding processing or sending the processing to an application control CPU subsystem for processing. Judging whether the message is a network message needing to be discarded according to the characteristic information of the message, such as multicast address, protocol type value and the like; and judging whether the network message needs to be uploaded to the application control CPU subsystem or not according to the forwarding table item information corresponding to the message.
S15, multicast or unicast process is carried out to the network message to be forwarded, the network message is packaged, and QOS (Quality of Service) process is carried out to the packaged network message, so as to prevent important traffic from being delayed or discarded when the network is overloaded or congested; then sending the network message to a time measurement marking module;
and judging whether the multicast network message is a multicast message or a broadcast message, wherein the multicast message needs to be multicast, copied and sent, and the unknown multicast, unknown unicast and broadcast messages are copied to other broadcast domain interfaces except the input port for broadcast and sent. Specifically, the determination may be performed according to the message type, for example, the message type is a multicast message, or the broadcast in the vlan is also multicast processed.
S16, the time measurement marking module measures and marks the sending timestamp of the network message to the network message needing time measurement, and then calculates to obtain the network message forwarding delay data; the time measurement marking module transmits the network message and the corresponding forwarding delay data to a physical layer interface;
in the invention, the application control CPU subsystem configures the message characteristics needing time measurement to the time measurement marking module through the control bus, and the messages needing time measurement generally comprise GOOSE/SV messages of 61850 protocol of intelligent substation measurement and control protection, IEC1588 time synchronization protocol messages or some general service messages. The configuration enables the time measurement marking module to carry out identification and judgment according to the mac address and the protocol type of the network message.
For the received network message, when the received network message passes through the time measurement marking module, the network message needing time measurement is marked with the required time measurement besides the entering timestamp, and in the process of forwarding the message back to the external link, when the received network message passes through the time measurement marking module, the time measurement marking module can mark the network message with the sending timestamp according to whether the network message needs the time measurement mark, so that the forwarding delay is calculated. Or judging whether the network message to be forwarded needs time measurement according to the message field characteristics which need time measurement and are configured by the application control CPU subsystem.
S17, for the network message to be sent being HSR/PRP message, the HSR/PRP module processes the network message, then sends it to the corresponding port of the external link through the PHY module; otherwise, the PHY module directly sends the network message to be sent and the forwarding delay information thereof to the corresponding port of the external link.
Example 3
The message time measurement marking method based on the transformer substation process layer network exchange chip system comprises the following steps:
s21, the application control CPU subsystem sends message feature configuration data to the time measurement marking module to define the feature of the network message needing time measurement;
s22, for the network message received from the physical layer interface, the time measurement marking module extracts the message characteristic data of the corresponding field from the received network message according to the message characteristic configuration data, and matches with the network message characteristic needing time measurement: for the non-IEC 1588 protocol message, if matching is successful, marking the time of the message entering, and meanwhile, carrying out time measurement on the marked message, and then transmitting the marked message to a network processor module; if the matching is unsuccessful, directly transmitting the data to a network processor module; processing the IEC1588 protocol message according to the protocol specification;
s23, for the network message received from the network processor module, the time measurement marking module transmits the network message to be transmitted without time measurement to the physical layer interface according to the characteristics of the network message or the time measurement marking of the network message in the step S22; a sending timestamp is marked on a network message needing time measurement;
s24, the time measurement module subtracts the entering time stamp and the sending time stamp of the network message to obtain the forwarding delay data, and then transmits the network message and the corresponding forwarding delay data to the physical layer interface; for a goose/sv message of IEEE61850, writing forwarding delay data into a time delay reserved field of the message; processing the IEC1588 protocol message according to the protocol specification; for other messages, the result is added to the message tail or to a time measurement result register. The method is more suitable for the characteristics and requirements of the current intelligent power grid network data transmission;
s25, after receiving the network message to be sent, the physical layer interface processes the HSR/PRP message through the HSR/PRP module, then sends the HSR/PRP message to the PHY module, and sends the network message and the corresponding forwarding delay data to the external link port corresponding to the forwarding table information through the PHY module; and for the non-HSR/PRP message, directly sending the network message and the corresponding forwarding delay data thereof to the external link port corresponding to the forwarding table information through the PHY module.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (9)

1. A transformer substation process layer network switching chip system is characterized by comprising an application control CPU subsystem, a network processor subsystem, a storage unit subsystem and a clock unit subsystem;
the clock unit subsystem is connected with other subsystems through a clock bus to provide clock information;
the network processor subsystem comprises a storage controller module, and a network processor module, a time measurement marking module and a physical layer interface which are sequentially connected, wherein the physical layer interface consists of an HSR/PRP module and a PHY module; the network processor module is connected with the storage controller module, the time measurement marking module, the HSR/PRP module and the PHY module through an internal control bus; the network processor module and the time measurement marking module are connected with the storage unit subsystem through the storage controller module so as to transmit forwarding table item information of a message to be transmitted or a received message;
the application control CPU subsystem is connected with a network processor module in the network processor subsystem through a high-speed DMA bus so as to transmit network messages;
the application control CPU subsystem is respectively connected with the network processor module, the time measurement marking module and the physical layer interface through a control bus so as to transmit control signals; the control signal sent by the time measurement marking module comprises a message characteristic configuration signal needing to carry out time measurement marking;
the application control CPU subsystem is connected with the storage unit subsystem through a read-write control bus so as to control the data read-write state switching of the storage unit subsystem;
in the network processor subsystem: the PHY module is connected with an external physical link, and the message forwarding processing method of the network processor subsystem comprises the following steps:
s11, a PHY module in the physical layer interface receives the network message of the external link, and transmits the network message to a time measurement marking module for the non-HSR/PRP message; for the HSR/PRP message, transmitting the network message to the HSR/PRP module, and turning to S12;
s12, the HSR/PRP module processes the network message, and then transmits the processed network message to the time measurement marking module;
s13, the time measurement marking module judges whether the network message needs time measurement according to the message feature configuration of the application control CPU subsystem, if so, the network message is measured and marked with an entering timestamp, then the network message is sent to the network processor module, if not, the network message is directly sent to the network processor module; the time measurement marking module judges according to the mac address and the protocol type of the network message;
s14, the network processor module processes the legality of the network message, then searches the corresponding forwarding table information of the network message, processes the network message according to the searching result of the forwarding table information, and turns to S15 for the data needing network forwarding processing;
s15, carrying out multicast or unicast processing on the network message to be forwarded, carrying out message encapsulation on the network message, and then sending the network message to the time measurement marking module;
s16, the time measurement marking module measures and marks the sending timestamp of the network message to the network message needing time measurement, and then calculates to obtain the network message forwarding delay data; the time measurement marking module transmits the network message and the corresponding forwarding delay data to a physical layer interface;
s17, for the network message to be sent being HSR/PRP message, the HSR/PRP module processes the network message, then sends it to the corresponding port of the external link through the PHY module; otherwise, the PHY module directly sends the network message to be sent and the forwarding delay information thereof to the corresponding port of the external link.
2. The substation process level network switch chip system of claim 1, wherein the network processor module comprises a network switch function register, an HSR/PRP function register, a PHY function register, a time measurement function register, and a time measurement packet information register.
3. A substation process level network switch chip system according to claim 2, wherein the application control CPU subsystem further comprises a display module, and the application control CPU subsystem obtains information related to the network messages from the registers and displays the information via the display module.
4. A substation process level network switch chip system according to claim 1, wherein the application control CPU subsystem is provided with external interfaces including FLASH access control NAND/QSPI/NOR interfaces, a general IO interface, a UART serial port, a CAN bus interface and an ethernet port.
5. A substation process level network switch chip system according to claim 1, wherein the application control CPU subsystem comprises an ARM core processor.
6. A substation process layer network switching chip system according to claim 1, wherein in step S15, it is determined whether the multicast network packet is a multicast packet or a broadcast packet, and the multicast packet needs to be copied and sent, and the unknown multicast, unknown unicast and broadcast packets are copied to other broadcast domain interfaces except the ingress port for broadcast and sent.
7. The substation process level network switch chip system of claim 1, wherein step S15 further comprises performing quality of service (QOS) processing on the encapsulated network packet.
8. The substation process level network switching chip system of claim 1, wherein the time measurement tagging of the message by the time measurement tagging module comprises the steps of:
s21, the application control CPU subsystem sends message feature configuration data to the time measurement marking module to define the feature of the network message needing time measurement;
s22, for the network message received from the physical layer interface, the time measurement marking module extracts the message characteristic data of the corresponding field from the received network message according to the message characteristic configuration data, and matches with the network message characteristic needing time measurement: for the non-IEC 1588 protocol message, if matching is successful, marking the time of the message entering, and meanwhile, carrying out time measurement on the marked message, and then transmitting the marked message to a network processor module; if the matching is unsuccessful, directly transmitting the data to a network processor module;
s23, for the network message received from the network processor module, the time measurement marking module transmits the network message to be transmitted without time measurement to the physical layer interface according to the characteristics of the network message or the time measurement marking of the network message in the step S22; a sending timestamp is marked on a network message needing time measurement;
s24, the time measurement module subtracts the entering time stamp and the sending time stamp of the network message to obtain the forwarding delay data, and then transmits the network message and the corresponding forwarding delay data to the physical layer interface;
s25, after receiving the network message to be sent, the physical layer interface processes the HSR/PRP message through the HSR/PRP module, then sends the HSR/PRP message to the PHY module, and sends the network message and the corresponding forwarding delay data to the external link port corresponding to the forwarding table information through the PHY module; and for the non-HSR/PRP message, directly sending the network message and the corresponding forwarding delay data thereof to the external link port corresponding to the forwarding table information through the PHY module.
9. A substation process level network switching chip system according to claim 8, wherein in step S24, for a goose/sv packet of IEEE61850, the forwarding delay data is written into the time delay reserved field of the packet; processing the IEC1588 protocol message according to the protocol specification; for other messages, the result is added to the message tail or to a time measurement result register.
CN201710130118.XA 2017-03-07 2017-03-07 Transformer substation process layer network switching chip system, message forwarding processing method thereof and time measurement marking method Active CN106953814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710130118.XA CN106953814B (en) 2017-03-07 2017-03-07 Transformer substation process layer network switching chip system, message forwarding processing method thereof and time measurement marking method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710130118.XA CN106953814B (en) 2017-03-07 2017-03-07 Transformer substation process layer network switching chip system, message forwarding processing method thereof and time measurement marking method

Publications (2)

Publication Number Publication Date
CN106953814A CN106953814A (en) 2017-07-14
CN106953814B true CN106953814B (en) 2020-06-05

Family

ID=59466927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710130118.XA Active CN106953814B (en) 2017-03-07 2017-03-07 Transformer substation process layer network switching chip system, message forwarding processing method thereof and time measurement marking method

Country Status (1)

Country Link
CN (1) CN106953814B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110661588B (en) * 2018-06-28 2022-04-22 中兴通讯股份有限公司 Message transmission method, switching device, wireless communication equipment and storage medium
CN109639505B (en) * 2019-01-07 2021-08-27 南京南瑞继保电气有限公司 Substation process layer network equipment and mirror image function implementation method thereof
CN110492965B (en) * 2019-09-05 2021-05-28 南京南瑞继保电气有限公司 Method and device for synchronizing time of serial messages in master-slave system
CN112952997A (en) * 2019-12-10 2021-06-11 国网上海市电力公司 Total station integrated digital measurement and control device and method
CN115996205B (en) * 2023-03-21 2023-05-16 北京智芯微电子科技有限公司 TSN Ethernet switching module and electric power Internet of things message processing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036893A (en) * 2012-12-21 2013-04-10 国电南瑞科技股份有限公司 One-layer network data processing method suitable for intelligent substation
CN103888320A (en) * 2014-04-14 2014-06-25 北京四方继保自动化股份有限公司 Switch device and method for measuring transmission delay through FPGA
CN104158687A (en) * 2014-08-21 2014-11-19 国电南瑞科技股份有限公司 Dual-network-redundancy device hardware architecture in transformer substation and implementation method
CN106209694A (en) * 2016-07-25 2016-12-07 国电南瑞科技股份有限公司 A kind of industrial ethernet switch of integrated PRP/HSR redundancy protocol

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9537776B2 (en) * 2013-03-15 2017-01-03 Innovasic, Inc. Ethernet traffic management apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036893A (en) * 2012-12-21 2013-04-10 国电南瑞科技股份有限公司 One-layer network data processing method suitable for intelligent substation
CN103888320A (en) * 2014-04-14 2014-06-25 北京四方继保自动化股份有限公司 Switch device and method for measuring transmission delay through FPGA
CN104158687A (en) * 2014-08-21 2014-11-19 国电南瑞科技股份有限公司 Dual-network-redundancy device hardware architecture in transformer substation and implementation method
CN106209694A (en) * 2016-07-25 2016-12-07 国电南瑞科技股份有限公司 A kind of industrial ethernet switch of integrated PRP/HSR redundancy protocol

Also Published As

Publication number Publication date
CN106953814A (en) 2017-07-14

Similar Documents

Publication Publication Date Title
CN106953814B (en) Transformer substation process layer network switching chip system, message forwarding processing method thereof and time measurement marking method
CN103616592B (en) A kind of relay protection real-time digital dynamic simulation test system based on IEC61850
CN103312037B (en) Device and method for testing pressure of intelligent substation
CN103346616B (en) Transforming plant protecting and TT&C system and aided detection method thereof and device
CN105573239A (en) High speed backboard bus communication control device and method
CN101316051A (en) Internetwork communication log analysis system and method based on IEC61850 transforming plant automatization system
CN106953749A (en) A kind of transformer station process layer network method of real-time
US20120278421A1 (en) Providing a data sample in a measurement and control system
CN104038383A (en) Switch based process level network message analysis method
CN112436601B (en) Information flow processing method of intelligent substation, computer equipment and storage medium
CN105186697A (en) Remote diagnosis system of IED operating conditions of IEC61850 intelligent substation
CN102014027A (en) On-line breaker monitoring device based on quick massage frame aggregation technology
CN103001820B (en) Latency online measuring alarming method based on intelligent substation switch
CN104730397B (en) Interoperability test system and method between a kind of distribution power automation terminal
CN111030910A (en) Method and system for monitoring communication state of ring network node, measurement and control device and local module
Gao et al. Study on communication service strategy for congestion issue in smart substation communication network
CN104483564B (en) Automatic power-measuring terminal fault data recording equipment and recording method
CN109688040A (en) In conjunction with the intelligent substation static multicast configuration method of physical topology and virtual terminator
Das et al. Comparison study of various factors affecting end-to-end delay in IEC 61850 substation communications using OPNET
CN204244203U (en) A kind of system of testing relay-protection tester Time delay
CN201877891U (en) Circuit breaker online monitoring device based on quick message frame aggregation technology
CN105388395A (en) GOOSE-based traction network fault distance measurement system and data transmission method thereof
CN203406678U (en) Networked automatic throw-in equipment of emergency power supply
Li et al. Performance testing on GOOSE and MSV transmission in one network
CN103427483B (en) Networking backup auto-activating device and information processing thereof and method of testing

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