CN112272387B - Low-scheduling time delay and high-speed access method, module, terminal and power secondary equipment based on 5G - Google Patents

Low-scheduling time delay and high-speed access method, module, terminal and power secondary equipment based on 5G Download PDF

Info

Publication number
CN112272387B
CN112272387B CN202011001174.1A CN202011001174A CN112272387B CN 112272387 B CN112272387 B CN 112272387B CN 202011001174 A CN202011001174 A CN 202011001174A CN 112272387 B CN112272387 B CN 112272387B
Authority
CN
China
Prior art keywords
real
message
time service
time
module
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
CN202011001174.1A
Other languages
Chinese (zh)
Other versions
CN112272387A (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 CN202011001174.1A priority Critical patent/CN112272387B/en
Priority to PCT/CN2020/124597 priority patent/WO2022062052A1/en
Publication of CN112272387A publication Critical patent/CN112272387A/en
Application granted granted Critical
Publication of CN112272387B publication Critical patent/CN112272387B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • H04W28/0236Traffic management, e.g. flow control or congestion control based on communication conditions radio quality, e.g. interference, losses or delay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/06Transport layer protocols, e.g. TCP [Transport Control Protocol] over wireless

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a low-scheduling time delay and high-speed access method, a module, a terminal and power secondary equipment based on 5G, wherein the method comprises the steps of receiving a real-time service message forwarded by a real-time service physical channel; performing TCP/IP protocol encapsulation processing on the real-time service message to obtain a real-time service TCP/IP message; and sending the real-time service TCP/IP message to the 5G communication transceiver module at the moment of scheduled interruption and fixed time delay, so that the 5G communication transceiver module sends the real-time service TCP/IP message to a 5G wireless network. The invention realizes that a real-time service processor in the power secondary equipment does not need to deploy a TCP/IP protocol stack, can reduce the total time delay of real-time service messages in the whole 5G transmission link, realizes the quick synchronization of differential protection electric quantity, and improves the quick action of relay protection.

Description

Low-scheduling time delay and high-speed access method, module, terminal and power secondary equipment based on 5G
Technical Field
The invention particularly relates to a low-scheduling time delay and high-speed access method based on 5G, a module, a terminal and power secondary equipment.
Background
The power secondary equipment such as line differential protection, distributed feeder automation systems and the like needs to realize low-delay data communication between local equipment and remote equipment, is used for transmitting information such as electric quantity, switch state and disconnecting link state and the like, and realizes functions of quick fault judgment, quick fault removal, quick fault recovery after fault and the like. The traditional method is to lay a special optical cable as a data transmission channel between devices, and the method has the problems that some devices do not have optical fiber laying conditions, the workload of laying the optical cable is large, the workload of later maintenance is large, the maintenance cost is high and the like.
With the gradual maturity of 5G communication technology, its characteristic such as high reliability, ultralow time delay make applications such as differential protection, distributed feeder automation system based on 5G communication become possible. The low-delay 5G communication is used for replacing optical cable communication among equipment, so that a large number of optical cables can be prevented from being laid; meanwhile, later maintenance is only needed to be carried out at the equipment end, and maintenance is convenient.
The 5G communication technology is a fifth generation mobile communication technology, which is the latest generation cellular mobile communication technology, and is also an extension following 4G, 3G, 2G systems. The performance goals of 5G are to increase data rates, reduce latency, save energy, reduce cost, increase system capacity, and enable large-scale device connections. The first phase of the 5G specification in Release-15 was to accommodate early commercial deployments. The second phase of Release-16 will be completed in month 4 of 2020 and will be submitted to the International Telecommunications Union as a candidate for IMT-2020 technology. The ITU IMT-2020 specification requires speeds up to 20Gbit/s, and can implement wide channel bandwidth and large capacity MIMO.
In order to adapt to the demands of different services in the future, 5G networks are placing a very high expectation. The ITU generalizes the 5G era services into three typical types, Mobile Ultra wide band (eMBB), Ultra Reliable and Low Latency Communication (urrllc), and Massive internet of things (mtc). The eMB application scene mainly comprises a wide-area coverage and a hot spot area with high user density, and is characterized in that special Quality of Service (QoS) guarantee is not needed, the bandwidth is required to be as large as possible, the extremely high throughput is realized, and the time delay is reduced as much as possible. The optimization aims at minimizing physical resource consumption and ensuring higher throughput rate. The uRLLC application scene mainly has more severe requirements on throughput and time delay, such as remote medical treatment, traffic safety and the like, and is characterized by strict QoS guarantee and low transmission time delay. The optimization goal is to minimize the number of link transmission hops to reduce transmission delay. The mMTC application scene mainly realizes the connection of mass equipment, and non-delay sensitive data with relatively low transmission capacity among the equipment is characterized by needing higher data processing capacity and lower blocking rate. The optimization objective is to minimize resource consumption of link bandwidth to avoid congestion of transmitted data.
Among the three types of 5G services, the urrllc service has the characteristics of strict QoS guarantee, low transmission delay (air interface delay <1ms, end-to-end delay <5ms), and the like, and is very suitable for replacing an optical cable to realize applications such as line differential protection and distributed FA.
In the scheme, digital protection devices are respectively connected to corresponding 5G wireless terminals, and a virtual server is arranged in the 5G wireless terminals, so that data of the digital protection devices connected with the 5G wireless terminals at opposite ends can be forwarded to the digital protection device at the local end, and data interaction of the two digital protection devices is realized. When data are transmitted between the digital protection devices, the digital protection devices need to be deployed with TCP/IP protocol software based on a TCP/IP protocol. The digital protection device firstly sends the encapsulated TCP/IP data to the opposite terminal 5G wireless terminal through the local terminal 5G wireless terminal, and then the opposite terminal 5G wireless terminal forwards the encapsulated TCP/IP data to the connected digital protection device through a wire.
In the prior art, the digital protection devices are based on a TCP/IP protocol when sending data, the 5G wireless terminal only realizes transparent transmission between wired data and 5G data, and only TCP/IP messages can be sent and received between the digital protection devices and the 5G wireless terminal, which requires that a TCP/IP protocol stack needs to be deployed on the digital protection devices.
For the application with low communication delay requirement, the TCP/IP protocol stack carried by the operating system can be used to process the message. However, for services with very high requirements on communication real-time performance and synchronization, such as differential protection, an operating system cannot be used for processing a TCP/IP protocol, scheduling delay of the operating system has large discrete uncertainty, total delay of information transmission is also relatively large, performance requirements of the differential protection on data delay and synchronization cannot be met, requirements on quick action performance of relay protection cannot be met, and safe operation of a power grid is affected.
In addition, a light-weight TCP/IP protocol stack can be deployed in a hard real-time scheduling system (no operating system) environment of the application processor on the digital protection device. However, when the deployment protocol stack affects the structure of the protection algorithm application program and affects the response engine of the real-time service of the application processor, the real-time performance and reliability of the whole device system are seriously affected, which may cause the error of the protection function and affect the operation of the power grid protection.
Disclosure of Invention
In view of the above problems, the present invention provides a 5G access method, a module, a terminal and a secondary power device suitable for a power scenario, which does not require a real-time service processor in the secondary power device to deploy a TCP/IP protocol stack, and can reduce the total delay of real-time service messages in the whole 5G transmission link, implement the fast synchronization of differential protection electrical quantities, and improve the fast action of relay protection.
In order to achieve the technical purpose and achieve the technical effects, the invention is realized by the following technical scheme:
in a first aspect, the present invention provides a low-scheduling delay and high-speed access method based on 5G, including:
receiving a real-time service message forwarded by a real-time service physical channel;
performing TCP/IP protocol encapsulation processing on the real-time service message to obtain a real-time service TCP/IP message;
and sending the real-time service TCP/IP message to a 5G communication transceiver module at the moment of scheduled interruption and fixed time delay, so that the 5G communication transceiver module sends the real-time service TCP/IP message to a 5G wireless network.
Optionally, the method further comprises:
receiving a non-real-time service message forwarded by a non-real-time service physical channel;
when judging that no real-time service TCP/IP message needs to be sent currently, directly forwarding the non-real-time service message to a 5G communication transceiver module, so that the 5G communication transceiver module sends the non-real-time service message to a 5G wireless network;
when the real-time service TCP/IP message needing to be sent is judged to be available at present, the non-real-time service message is directly forwarded to the 5G communication transceiver module after the real-time service TCP/IP message is sent, so that the 5G communication transceiver module sends the non-real-time service message to the 5G wireless network.
Optionally, the method further comprises:
after receiving data sent by the 5G communication transceiving module, filtering the received data based on a preset rule to obtain filtered data;
for the real-time service message in the filtered data, performing TCP/IP (transmission control protocol/Internet protocol) unpacking processing on the real-time service message to obtain original message data, and finally sending the original message data to the power secondary equipment through a real-time service physical channel;
and for the non-real-time service message in the filtered data, transparently forwarding the non-real-time service message, and finally sending the non-real-time service message to the power secondary equipment through a non-real-time service physical channel.
Optionally, the sending the real-time service TCP/IP packet to the 5G communication transceiver module at the time of the predetermined interruption and the fixed delay includes:
and at a preset fixed moment after the interruption edge, sending the real-time service TCP/IP message to the 5G communication transceiving module, and attaching a time scale of the actual sending moment of the real-time service TCP/IP message to the tail of the message to realize the calculation of the absolute path delay under the time synchronization of the 5G system.
In a second aspect, the invention provides a low-scheduling delay and high-speed access module based on 5G, which comprises a TCP/IP data packet processing module, a message processing module and a 5G communication transceiving module;
the TCP/IP data packet processing module carries out TCP/IP protocol encapsulation processing on the received real-time service message to obtain a real-time service TCP/IP message and sends the real-time service TCP/IP message to the message processing module;
and the message processing module sends the real-time service TCP/IP message to the 5G communication transceiving module at the moment of scheduled interruption and fixed time delay, and the 5G communication transceiving module sends the real-time service TCP/IP message to a 5G wireless network.
Optionally, the TCP/IP packet processing module fills a real-time service TCP/IP packet to be sent into a real-time sending buffer of the packet processing module before a preset interrupt edge; and the message processing module automatically sends the real-time service TCP/IP message to a physical port connected with the 5G communication transceiving module at a set time delay moment after a preset interruption edge, and attaches a time mark of the actual sending moment of the real-time service TCP/IP message to the tail of the message, so that the calculation of the absolute path delay under the time synchronization of the 5G system is realized.
Optionally, after the message processing module receives data sent by the 5G communication transceiver module, filtering the received data based on a preset rule to obtain filtered data;
and for the real-time service message in the filtered data, the message processing module forwards the real-time service message to the TCP/IP data packet processing module, and the TCP/IP data packet processing module carries out TCP/IP protocol unpacking processing on the real-time service message to obtain original message data, and finally the original message data is sent to the power secondary equipment through a real-time service physical channel.
Optionally, the 5G-based low-scheduling delay and high-speed access module further includes a real-time service physical channel, and the real-time service physical channel receives the real-time service packet and sends the real-time service packet to the TCP/IP packet processing module.
Optionally, the 5G-based low-scheduling delay and high-speed access module further includes a non-real-time service physical channel and a non-real-time transparent forwarding module;
the non-real-time service physical channel receives a non-real-time service message and sends the non-real-time service message to the non-real-time transparent forwarding module;
the message processing module receives the non-real-time service message forwarded by the non-real-time transparent forwarding module, and when the message processing module judges that no real-time service TCP/IP message needing to be sent currently exists, the message processing module directly forwards the non-real-time service message to the 5G communication transceiving module, and the 5G communication transceiving module sends the non-real-time service message to the 5G wireless network; when the real-time service TCP/IP message needing to be sent is judged to exist currently, the message processing module firstly sends the real-time service TCP/IP message to the 5G communication transceiving module at the moment of scheduled interruption and fixed time delay, and after the real-time service TCP/IP message is sent completely, the non-real-time service message is sent to the 5G communication transceiving module, and the 5G communication transceiving module sends the non-real-time service message to the 5G wireless network.
Optionally, the non-real-time transparent forwarding module transparently forwards the acquired original non-real-time data packet to a non-real-time sending buffer of the packet processing module, and the packet processing module determines whether there is a real-time service TCP/IP packet to be sent currently, and sends the non-real-time service packet to the 5G communication transceiver module after the real-time service TCP/IP packet is sent if there is a real-time service TCP/IP packet, and directly sends the non-real-time service packet to the 5G communication transceiver module if there is no real-time service TCP/IP packet.
Optionally, after the message processing module receives data sent by the 5G communication transceiver module, filtering the received data based on a preset rule to obtain filtered data;
and forwarding the non-real-time service message in the filtered data to a non-real-time transparent forwarding module, transparently forwarding the non-real-time service message by the non-real-time transparent forwarding module, and finally sending the non-real-time service message to the power secondary equipment through a non-real-time service physical channel.
Optionally, the 5G-based low-scheduling delay and high-speed access module further includes a PPS synchronization signal line, an INT interrupt synchronization physical signal line, a system time management module, and an interrupt synchronization module;
one end of the PPS synchronization signal line is connected with the system time management module, the other end of the PPS synchronization signal line is used for being connected with secondary power equipment, and the PPS synchronization signal line is utilized to realize synchronization of the secondary power equipment on the time second edge of the 5G-based low-scheduling time delay and the high-speed access module;
one end of the INT interrupt synchronous physical signal line is connected with the interrupt synchronous module, the other end of the INT interrupt synchronous physical signal line is used for being connected with secondary power equipment, and an interrupt signal of the secondary power equipment is accessed into the interrupt synchronous module by the INT interrupt synchronous physical signal line and is used as an interrupt signal of the 5G-based low-scheduling time delay and high-speed access module.
In a third aspect, the present invention provides a low-scheduling delay and high-speed access terminal based on 5G, including: the 5G-based low-scheduling delay and high-speed access module and the real-time network port; and the real-time network port receives the real-time service message and sends the real-time service message to the TCP/IP data packet processing module.
Optionally, the TCP/IP packet processing module fills a real-time service TCP/IP packet to be sent into a real-time sending buffer of the packet processing module before a preset interrupt edge; and the message processing module automatically sends the real-time service TCP/IP message to a physical port connected with the 5G communication transceiving module at a set time delay moment after a preset interruption edge, and attaches a time mark of the actual sending moment of the real-time service TCP/IP message to the tail of the message, so that the calculation of the absolute path delay under the time synchronization of the 5G system is realized.
Optionally, after the message processing module receives data sent by the 5G communication transceiver module, filtering the received data based on a preset rule to obtain filtered data;
and for the real-time service message in the filtered data, the message processing module forwards the real-time service message to the TCP/IP data packet processing module, and the TCP/IP data packet processing module carries out TCP/IP protocol unpacking processing on the real-time service message to obtain original message data, and finally the original message data is sent to the power secondary equipment through a real-time service physical channel.
Optionally, the 5G-based low-scheduling delay and high-speed access terminal further includes a plurality of non-real-time ports, an ethernet switching chip, and a non-real-time transparent forwarding module;
each non-real-time network port is respectively connected with the Ethernet switching chip, receives a non-real-time service message and sends the non-real-time service message to the non-real-time transparent forwarding module through the Ethernet switching chip;
the message processing module receives the non-real-time service message forwarded by the non-real-time transparent forwarding module;
when judging that no real-time service TCP/IP message needs to be sent currently, the message processing module directly forwards the non-real-time service message to the 5G communication transceiver module, and the 5G communication transceiver module sends the non-real-time service message to a 5G wireless network;
when the real-time service TCP/IP message needing to be sent is judged to exist currently, the message processing module firstly sends the real-time service TCP/IP message to the 5G communication transceiving module at the moment of scheduled interruption and fixed time delay, and after the real-time service TCP/IP message is sent completely, the non-real-time service message is sent to the 5G communication transceiving module, and the 5G communication transceiving module sends the non-real-time service message to the 5G wireless network.
Optionally, after the message processing module receives data sent by the 5G communication transceiver module, filtering the received data based on a preset rule to obtain filtered data;
and transmitting the non-real-time service message in the filtered data to a non-real-time transparent transmitting module, transmitting the non-real-time service message to a corresponding non-real-time network port by the non-real-time transparent transmitting module, transmitting the non-real-time service message to the corresponding non-real-time network port by an Ethernet switching chip, and finally transmitting the non-real-time service message to the electric power secondary equipment.
Optionally, the 5G-based low-scheduling delay and high-speed access terminal further includes a time management module and an interrupt synchronization module; the power secondary equipment sends SYNC messages with time information to the access terminal at equal intervals through a real-time network port; the interruption synchronization module restores interruption through SYNC messages, and the time management module carries out time synchronization through analyzing time information in the SYNC messages.
In a fourth aspect, the present invention provides an electric power secondary device, which is characterized by comprising a main processor board and the 5G-based low-scheduling delay and high-speed access module in any one of the second aspects, wherein the main processor board and the 5G-based low-scheduling delay and high-speed access module are connected to implement communication.
Compared with the prior art, the invention has the beneficial effects that:
the invention realizes that a real-time service processor in the power secondary equipment does not need to deploy a TCP/IP protocol stack, can reduce the total time delay of real-time service messages in the whole 5G transmission link, realizes the quick synchronization of differential protection electric quantity, improves the quick action of relay protection, and improves the operation reliability of a power grid.
Furthermore, the invention can realize that the electric power secondary equipment realizes 5G real-time communication extension through a 5G low-scheduling time delay and a real-time high-speed access module or an access terminal, a TCP/IP protocol stack is arranged in the 5G access module or the terminal, and a real-time service processor in the electric power secondary equipment does not need to arrange the TCP/IP protocol stack, thereby not influencing the structure of a real-time service program of the electric power secondary equipment and the real-time performance and the function of a system.
Furthermore, the invention supports the coexistence of real-time service and non-real-time service in one access module or access terminal, avoids the arrangement of a plurality of 5G access devices on the power secondary device with the communication requirements of real-time service and non-real-time service, and reduces the hardware cost and the system complexity.
The invention supports a plurality of power secondary devices to realize non-real-time 5G communication service expansion through the same access terminal, can reduce the number of 5G access devices and switches in a power distribution room or a transformer substation, and saves construction investment.
Drawings
In order that the present disclosure may be more readily and clearly understood, reference is now made to the following detailed description of the present disclosure taken in conjunction with the accompanying drawings, in which:
fig. 1 is a block diagram of a power secondary device implementing low-scheduling delay 5G access through a 5G access device;
fig. 2 is a schematic diagram of time delay calculation when the power secondary equipment transmits a 5G real-time service message;
fig. 3 is a diagram illustrating an interruption synchronization relationship between the power secondary equipment and the 5G access device via the network;
FIG. 4 is a timing sequence for prioritized transmission of messages by the 5G access device;
fig. 5 is a diagram of a specific embodiment of a 5G low-scheduling delay and real-time high-speed access implemented by a power secondary device integrated 5G access apparatus;
fig. 6 is a proprietary message format between the power secondary equipment and the 5G access device;
fig. 7 is a format of a 5G message of the real-time service 5G on the transmitting side when the 5G access device increases a transmission time scale;
fig. 8 is a format of a receiving-side real-time service 5G packet with a receiving time stamp added by the 5G access device;
FIG. 9 is a 5G interaction message format between two non-real time applications;
fig. 10 is a specific embodiment example of implementing 5G low-scheduling delay and real-time high-speed access by the power secondary device and the independent external 5G access device.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the scope of the invention.
The following detailed description of the principles of the invention is provided in connection with the accompanying drawings.
Example 1
The embodiment of the invention provides a low-scheduling time delay and high-speed access method based on 5G, which comprises the following steps:
(1) receiving a real-time service message forwarded by a real-time service physical channel;
(2) performing TCP/IP protocol encapsulation processing on the real-time service message to obtain a real-time service TCP/IP message;
(3) the real-time service TCP/IP message is sent to a 5G communication transceiver module at the moment of scheduled interruption and fixed time delay, so that the 5G communication transceiver module sends the real-time service TCP/IP message to a 5G wireless network;
(4) receiving a non-real-time service message forwarded by a non-real-time service physical channel, and when judging that no real-time service TCP/IP message needs to be sent currently exists, directly forwarding the non-real-time service message to a 5G communication transceiver module, so that the 5G communication transceiver module sends the non-real-time service message to a 5G wireless network; when the real-time service TCP/IP message needing to be sent is judged to be available at present, the non-real-time service message is directly forwarded to the 5G communication transceiver module after the real-time service TCP/IP message is sent, so that the 5G communication transceiver module sends the non-real-time service message to the 5G wireless network.
In a specific implementation manner of the embodiment of the present invention, the method further includes:
after receiving data sent by the 5G communication transceiving module, filtering the received data based on a preset rule to obtain filtered data;
for the real-time service message in the filtered data, performing TCP/IP (transmission control protocol/Internet protocol) unpacking processing on the real-time service message to obtain original message data, and finally sending the original message data to the power secondary equipment through a real-time service physical channel;
and for the non-real-time service message in the filtered data, transparently forwarding the non-real-time service message, and finally sending the non-real-time service message to the power secondary equipment through a non-real-time service physical channel.
As shown in fig. 1, the system is a low-scheduling time delay and high-speed access system based on 5G, and comprises a power secondary device, a data processing unit, a 5G communication transceiver module and a 5G base station; the data processing unit is implanted with a program capable of realizing the low-scheduling time delay and high-speed access method based on 5G in the embodiment of the invention;
the power secondary equipment generates a real-time service message and a non-real-time service message, and the real-time service message is forwarded to the data processing unit through a real-time service physical channel; the non-real-time service message is forwarded to a data processing unit through a non-real-time service physical channel;
the data processing unit comprises a TCP/IP data packet processing module, a non-real-time transparent forwarding module and a message processing module; the TCP/IP data packet processing module carries out TCP/IP protocol encapsulation processing on the real-time service message to obtain a real-time service TCP/IP message and sends the real-time service TCP/IP message to the message processing module; the non-real-time transparent forwarding module transparently forwards the non-real-time service message to a message processing module;
the message forwarding module judges whether a real-time service TCP/IP message which needs to be sent exists at present, and when the real-time service TCP/IP message which needs to be sent does not exist, the non-real-time service message is directly forwarded to the 5G communication transceiving module, so that the 5G communication transceiving module sends the non-real-time service message to a 5G wireless network; when the real-time service TCP/IP message needing to be sent is judged to be available at present, the non-real-time service message is directly forwarded to the 5G communication transceiver module after the real-time service TCP/IP message is sent, so that the 5G communication transceiver module sends the non-real-time service message to the 5G wireless network.
The data processing unit is a data bridge between the power secondary equipment and the 5G communication transceiving module, and realizes the function of performing different logic processing according to the real-time requirement of transceiving data. Real-time and non-real-time communication between the data processing unit and the power secondary equipment uses different physical interface channels, and real-time and non-real-time services coexist creatively through a real-time and non-real-time service fusion control technology on the data processing unit.
Example 2
The embodiment of the invention provides a power secondary device which is used for realizing 5G low-scheduling delay and real-time high-speed access through a low-scheduling delay and high-speed access device based on 5G, and the technical scheme is shown in figure 1.
The 5G access equipment can be divided into a low-scheduling delay and high-speed access module based on 5G and a low-scheduling delay and high-speed access terminal based on 5G based on different existence forms, but the low-scheduling delay and high-speed access module based on 5G and the low-scheduling delay based on 5G are consistent with the essential functions of the high-speed access terminal. The low-scheduling time delay and high-speed access module based on 5G is used for being integrated into the power secondary equipment and is in the form of an access module integrated in the power secondary equipment; the low scheduling time delay and the high-speed access terminal based on 5G are independently arranged outside the power secondary equipment and are in the form of an external access terminal.
The connection between the power secondary device and the 5G-based low-latency and high-speed access module or access terminal is not limited, and may be a wired or wireless channel, typically a high-speed ethernet channel, as long as the channel is capable of transmitting data. The data processing unit is a core component of a low-scheduling time delay and high-speed access module or an access terminal based on 5G, is a data bridge between the power secondary equipment and the 5G communication transceiver module, and realizes the function of performing different logic processing according to the real-time and synchronization requirements of the transceiver data. Real-time and non-real-time communication between the data processing unit and the power secondary equipment uses different physical interface channels, and the coexistence of real-time and non-real-time services in a low-scheduling delay and high-speed access module or an access terminal based on 5G is creatively realized through a real-time and non-real-time service fusion control technology on the data processing unit.
When real-time service data are transmitted, the data processing unit converts original data and TCP/IP messages of the transmitted real-time service messages, and transmits the converted real-time service TCP/IP messages to the 5G communication transceiving module at a fixed time after the hard interruption edge of the power secondary equipment, so that the consistency of the interval and the consistency of scheduling response between the actual messages transmitted each time are ensured; meanwhile, the received data from the 5G communication transceiving module is filtered through a real-time service white list, TCP/IP protocol unpacking processing is carried out on the real-time service message, and then the original electric power service data is sent to a real-time application service program of the electric power secondary equipment through a real-time service physical channel.
When non-real-time service data are transmitted, the electric power secondary equipment uses a device operating system with a TCP/IP protocol stack to analyze and package message data, a low-scheduling delay and high-speed access module based on 5G or a data processing unit of an access terminal only transparently forwards the message and does not process the message content, and a plurality of local non-real-time service physical channels can realize 5G communication expansion through the low-scheduling delay and high-speed access module based on 5G or the access terminal.
The data processing unit is not limited in form and can be a processor, a programmable logic device or an SoC and the like. And a data channel is arranged between the data processing unit and the 5G communication transceiving module. The 5G communication transceiver module is connected to the management module through a management channel, and the management channel is responsible for setting the working mode of the 5G communication transceiver module by using an AT instruction and acquiring various state information of the 5G communication transceiver module; the data channel realizes the transmission of the real service data message.
The data processing unit also has the functions of parameter configuration and storage, the data processing unit is responsible for establishing TCP/IP connection with real-time opposite-end electric power secondary equipment needing communication, required parameters such as an IP address and a port number of the opposite-end equipment are configured in the data processing unit, the electric power secondary equipment does not need to care about, and the electric power secondary equipment is insensitive to the parameters.
In addition, the electric power secondary equipment and the low-scheduling time delay based on 5G keep time system synchronization with the high-speed access module or the access terminal, the low-scheduling time delay based on 5G and the high-speed access module or the access terminal can be synchronized through the electric power secondary equipment, and the electric power secondary equipment and the low-scheduling time delay based on 5G and the high-speed access module or the access terminal can also be respectively synchronized through external time synchronization sources (such as GPS or Beidou) to ensure the consistency of the system time between the electric power secondary equipment and the low-scheduling time delay based on 5G and the high-speed access module or the access terminal.
In particular: the power secondary equipment and the 5G-based low-scheduling time delay and high-speed access module or the access terminal also keep the synchronization of hard real-time interruption of the control period, and are used for realizing the functions of sending time and time delay control of real-time service messages.
The function of controlling the sending time of the real-time service message adopts a sending control mechanism synchronous with the main interruption of the electric power secondary equipment device, namely, the sending time of each message is different from the interruption by a fixed time difference, and the main application processing service module of the electric power secondary equipment can set the time delay parameter of the sent message through a private protocol. The data processing unit of the low-scheduling delay and high-speed access module or the access terminal based on 5G fills data to be sent into a sending buffer area before the main interruption edge of the system, automatically sends a message to a physical port connected with a 5G communication transceiving module at a set delay time after the interruption edge, attaches a time scale of the actual sending time of the message to the tail of the message, and realizes the calculation of the absolute path delay under the time synchronization of the 5G system.
The data transmission flow of the power secondary equipment is as follows:
real-time service messages: the power secondary equipment is connected to a low-scheduling delay and high-speed access module or an access terminal based on 5G, a main application processing service module sends a self-defined original real-time service message to a data processing unit, the data processing unit finishes the real-time processing of a TCP/IP protocol, the data processing unit sends the real-time service TCP/IP message to a 5G communication transceiving module at the moment of scheduled interruption and fixed delay after the processing is finished, and the 5G communication transceiving module sends the message to a 5G wireless network;
non-real-time service message: the electric power secondary equipment is connected to a low-scheduling time delay and high-speed access module or an access terminal based on 5G, the main processing application service module completes data packaging by using a self-contained TCP/IP protocol and then sends the data to the data processing unit, the data processing unit transparently forwards the message to the 5G communication transceiver module, and the 5G communication transceiver module sends the message to a 5G wireless network.
The data receiving flow of the power secondary equipment comprises the following steps:
the 5G communication transceiving module receives a message from a 5G wireless network and transmits the message to a data processing unit connected to a low-scheduling delay and high-speed access module based on 5G or an access terminal, and the data processing unit judges whether the message belongs to a real-time service message or not according to a source address of an MAC (media access control) in a received message frame. And the white list of the real-time service source address marks a receiving time mark at the tail of the message aiming at the real-time message through parameter configuration. The data processing unit analyzes the TCP/IP protocol of the received real-time service message and sends the analyzed original message data to a relay protection real-time application program of the power secondary equipment through a real-time channel according to a custom format; and the received non-real-time service message is directly and transparently forwarded to a non-real-time application program of the power secondary equipment through a non-real-time channel.
When real-time service message transceiving is performed, the total delay of the message transmission path may be calculated, as shown in fig. 2. The 4 time information is related in the calculation, the sending side writes original message data into a time T1 of a TCP/IP protocol stack sending buffer area when the sending side sends a message to the 5G communication transceiver module based on the data processing unit, and the actual sending time T2 is after the IP data packet is packaged; the receiving side covers 4 key nodes on a transmission path based on the actual receiving time T3 of a link layer and the unpacked time T4 of an IP data packet when the receiving side is connected to a low-scheduling delay based on 5G and a high-speed access module or an access terminal to receive the message, and the 4 time can obtain the delay between each node. Of these 4 pieces of node time information, T1 and T4 are written by the data processing unit, and T2 and T3 are inserted by hardware time stamp in the data processing unit.
The internal integration of the power secondary equipment is realized through a physical hardware IO synchronous signal based on the synchronization of the low-scheduling time delay and the high-speed access module based on the connection to the 5G. When the low-scheduling delay and high-speed access terminal based on 5G is externally connected, the interruption synchronization relationship is established between the power secondary equipment and the low-scheduling delay and high-speed access terminal connected to the power secondary equipment based on 5G in a network mode, as shown in fig. 3. The method comprises the following steps: the power secondary equipment sends a Synchronization (SYNC) message when interrupting INT1, and the INT1 is earlier than the main interruption INT0 of the power secondary equipment by a certain time t1 and is used for compensating the sending time required by SYNC message transmission. And after receiving the SYNC message, the low-scheduling delay and high-speed access terminal based on 5G recovers the local interruption INT, and the synchronization with the power secondary equipment INT0 is realized.
When the low-scheduling time delay and the high-speed access terminal based on the 5G are externally connected, the time synchronization relation is established between the power secondary equipment and the low-scheduling time delay and the high-speed access terminal based on the 5G in a network mode. When the power secondary equipment sends the SYNC message, local time information (century seconds) is embedded into the message, and the time information on the power secondary equipment is obtained by analyzing the message content based on the low scheduling delay of 5G and the recovery interruption of the high-speed access terminal, so that time synchronization is established. In particular: the SYNC message sent by the power secondary (differential protection) equipment and the SYNC message analyzed by the low-scheduling time delay and high-speed access terminal based on 5G are cooperatively processed by adopting an FPGA device, so that better synchronization performance can be obtained.
The method is connected to a low-scheduling delay and high-speed access module or an access terminal based on 5G, and after synchronization with the power secondary equipment is achieved, messages are sent according to a synchronization signal, a real-time message is sent preferentially at the beginning of each synchronization, and one packet is interrupted every time, as shown in fig. 4. And after the real-time message is sent, calculating the remaining time, and sending other non-real-time messages in the interval. The non-real-time message is sent out according to the principle of 'best effort', the message to be sent is sent out as much as possible, if the remaining time of the interruption is not enough to send a complete frame of non-real-time message, the message is delayed to the next interruption, so that the prior sending of the real-time message when the next interruption starts is not influenced.
In a specific implementation manner of the embodiment of the present invention, as shown in fig. 1 and 5, the 5G-based low-latency and high-speed access module includes: the system comprises a real-time service physical channel, a TCP/IP data packet processing module, a message processing module, a 5G communication transceiving module, a non-real-time service physical channel and a non-real-time transparent forwarding module;
the real-time service physical channel receives a real-time service message and sends the real-time service message to the TCP/IP data packet processing module;
the TCP/IP data packet processing module carries out TCP/IP protocol encapsulation processing on the real-time service message to obtain a real-time service TCP/IP message and sends the real-time service TCP/IP message to the message processing module; and the message processing module sends the real-time service TCP/IP message to the 5G communication transceiving module at the moment of scheduled interruption and fixed time delay, and the 5G communication transceiving module sends the real-time service TCP/IP message to a 5G wireless network. Specifically, the TCP/IP packet processing module fills a real-time service TCP/IP packet to be sent into a real-time sending buffer of the packet processing module before a preset interrupt edge; the message processing module automatically sends the real-time service TCP/IP message to a physical port connected with the 5G communication transceiving module at a preset time delay moment after a preset interruption edge, attaches a time mark of the actual sending moment of the real-time service TCP/IP message to the tail of the message, realizes the calculation of the absolute path delay under the time synchronization of the 5G system, and realizes the sending of real-time service message data by the power secondary equipment.
After the message processing module receives the data sent by the 5G communication transceiving module, filtering the received data based on a preset rule to obtain filtered data; and for the real-time service message in the filtered data, the message processing module forwards the real-time service message to the TCP/IP data packet processing module, the TCP/IP data packet processing module carries out TCP/IP protocol unpacking processing on the real-time service message to obtain original message data, and finally the original message data is sent to the electric power secondary equipment through the real-time service physical channel to realize that the electric power secondary equipment receives the real-time service message data.
The non-real-time service physical channel receives a non-real-time service message and sends the non-real-time service message to the non-real-time transparent forwarding module;
the message processing module receives the non-real-time service message forwarded by the non-real-time transparent forwarding module, and when the message processing module judges that no real-time service TCP/IP message needing to be sent currently exists, the message processing module directly forwards the non-real-time service message to the 5G communication transceiving module, and the 5G communication transceiving module sends the non-real-time service message to the 5G wireless network; when the real-time service TCP/IP message needing to be sent is judged to exist currently, the message processing module firstly sends the real-time service TCP/IP message to the 5G communication transceiving module at the moment of scheduled interruption and fixed time delay, and after the real-time service TCP/IP message is sent completely, the non-real-time service message is sent to the 5G communication transceiving module, and the 5G communication transceiving module sends the non-real-time service message to the 5G wireless network. Specifically, the non-real-time transparent forwarding module transparently forwards the acquired original non-real-time data packet to a non-real-time sending buffer area of the packet processing module, and the packet processing module judges whether a real-time service TCP/IP packet to be sent currently exists or not, if so, the non-real-time service packet is sent to the 5G communication transceiving module after the real-time service TCP/IP packet is sent, and if not, the non-real-time service packet is directly sent to the 5G communication transceiving module, so that the power secondary device sends non-real-time service packet data.
After the message processing module receives the data sent by the 5G communication transceiving module, filtering the received data based on a preset rule to obtain filtered data; and transmitting the non-real-time service message in the filtered data to a non-real-time transparent transmitting module, transparently transmitting the non-real-time service message by the non-real-time transparent transmitting module, and finally transmitting the non-real-time service message to the power secondary equipment through a non-real-time service physical channel to realize that the power secondary equipment receives the non-real-time service message data.
The low-scheduling time delay and high-speed access module based on 5G further comprises a PPS synchronous signal line, an INT interrupt synchronous physical signal line, a system time management module and an interrupt synchronous module; one end of the PPS synchronization signal line is connected with the system time management module, the other end of the PPS synchronization signal line is used for being connected with secondary power equipment, and the PPS synchronization signal line is used for realizing synchronization of a time signal of the secondary power equipment and a time-second edge between the 5G-based low-scheduling time delay and the high-speed access module;
one end of the INT interrupt synchronous physical signal line is connected with the interrupt synchronous module, the other end of the INT interrupt synchronous physical signal line is used for being connected with secondary power equipment, and an interrupt signal of the secondary power equipment is accessed into the interrupt synchronous module by the INT interrupt synchronous physical signal line and is used as an interrupt signal of the 5G-based low-scheduling time delay and high-speed access module.
As shown in fig. 5, in order to provide a schematic structural diagram when the 5G access device in the embodiment of the present invention is integrated inside the power secondary device in the form of an access module, that is, a main processor board and a 5G access device (i.e., a low-latency and high-speed access module based on 5G) are both inside one power secondary device, and are connected through a backplane bus. The main processor board is connected with the 5G access device through two paths of CAN, and configuration, management and operation information monitoring of the access device are achieved. Two paths of Ethernet channels are arranged between the main processor board and the access device, are directly connected through the LVDS differential pair of the backboard, do not need an Ethernet PHY and a transformer, and are respectively used for transmitting real-time service data and non-real-time service data. Meanwhile, a PPS synchronization signal line is reserved on the back plate and used for realizing the time-second edge synchronization of the main processor board to the access device; an INT interrupt synchronization physical signal line is also reserved on the back plate and used for realizing the main interrupt synchronization of the main processor plate to the access device.
The 5G access device mainly comprises a data processing unit, a 5G communication transceiving module and a GPS time synchronization module.
The data processing unit adopts a fully programmable SoC processor and comprises two ARM processors and 1 FPGA logic unit.
The two ARM processors can be divided into a CORE 0 and a CORE 1, wherein the CORE 0 runs a no-operating-system program and is mainly used for functions of managing the 5G communication transceiver module, establishing network connection and the like; the CORE 1 runs an operating-system-free program and deploys an Lwip lightweight TCP/IP protocol stack thereon for processing raw power data messages from the power secondary devices.
The main processor board realizes the management function of the access device through managing the CAN, and the access device does not need to deploy the parameter management function locally. The power-on initialization information is issued by the main processor board through the management CAN in the power-on stage, so that the initialization of variables and parameters required by the access device is realized, and all the parameters are stored on the main processor board, thereby facilitating the operation and maintenance of the system. And the main processor board is supported to perform online updating on all programs of the access device through the management CAN.
The FPGA logic unit is used for expanding real-time and non-real-time service Ethernet ports of the main processor board and data Ethernet ports connected with the 5G communication transceiver module.
And the time management module on the FPGA logic unit supports two modes of a second pulse of a backboard and an external GPS module, and realizes the local time synchronization and maintenance functions of the 5G access device. And an interrupt synchronization module on the FPGA realizes the main interrupt synchronization between the access device and the main processor board through a back board INT signal, and is used for realizing the function of controlling the sending time of the real-time service message.
Synchronization needs to be achieved between the main processor board and the 5G access device, and the synchronization is divided into two aspects of interrupt synchronization and time synchronization. The interrupt synchronization is used for realizing the synchronous sending of the message, and the time synchronization is used for realizing the synchronization of the message receiving time scale. Because the main processor board and the 5G access device are in the same device, an Interrupt (INT) signal of the main processor board can be directly connected with the access device through the backboard to serve as an interrupt signal of the access device, and therefore interrupt synchronization between the main processor board and the access device is achieved. The main processor board carries out century second time synchronization on the access device through the CAN bus in the device, and realizes second edge synchronization between the main processor board and the access device through the PPS signal, so that the time synchronization target is achieved.
The message filtering and priority control module realized on the FPGA logic unit is responsible for carrying out priority and timing transmission control on the transmitted data, the real-time service message can be preferentially transmitted at fixed time after interruption, and the fixed time parameter is configured by the main processor board and is issued when the system is initialized; the message filtering and priority control module on the FPGA also realizes the function of real-time and non-real-time filtering of the received message, only the real-time service message is transmitted to the CORE 1 for TCP/IP unpacking processing, and the non-real-time service message is directly transmitted to a non-real-time service network port of the access device and then is directly transmitted to a non-real-time management CORE of the main processor board through a non-real-time service channel for relevant processing.
The FPGA judges whether the received 5G data is real-time service data or non-real-time service data, and whether a source address field in the received MAC message accords with a white list of real-time service equipment connected with the access device is required to be judged, wherein the white list is also issued by a main processor board through a management CAN in a power-on initialization stage. If the source address exists in the white list of the real-time service equipment, the received 5G data is considered as real-time service data.
The 5G communication transceiver module adopts a standard module with dual interfaces of UART and RGMII. Two communication interfaces are arranged between the data processing unit and the 5G communication transceiving module, and the CORE 0 is connected with the 5G communication transceiving module by using a UART serial interface of the processor, so that the functions of management, network connection, state information acquisition and the like of the 5G communication transceiving module are realized; the CORE 1 is connected with a 5G transceiving module through a gigabit Ethernet port extended by an FPGA and is used for transmitting real-time and non-real-time service data messages, the data type is standard TCP/IP messages, and an RGMII interface is adopted.
The management functions of the 5G communication transceiver module are as follows:
1: the system is mainly used for sending AT instructions and realizing functions of dialing, inquiring and the like;
2: firmware upgrading of the 5G communication transceiver module is realized;
3: and 5G fault diagnosis, when the module has a problem, module debugging information can be transmitted out through a USB channel according to the requirement of a manufacturer for problem analysis.
And (3) data sending flow: the main processor board of the electric power secondary equipment is connected to the 5G access device through a backboard LVDS Ethernet, the data message is sent to an FPGA expansion network port in the 5G access device, and the FPGA program distinguishes whether the data is real-time or non-real-time service data by judging the network port number.
The real-time service message between the main processor board and the 5G access device adopts an internal private message, the function of controlling a real-time message receiving and sending channel is realized through the FPGA, and the format of the message is shown in FIG. 6. The message is a 6-byte target address, a 6-byte source address, a 2-byte message type (a 1-byte real-time port number, corresponding to opposite real-time equipment of different MAC addresses), reference relay protection differential protection HDLC protocol maximum 192-byte real-time service message data and a tail 4-byte FCS symbol.
After the 5G access device receives the private message, the CORE 1 in the data processing unit replaces the real-time port number in the private message with 28-byte UDP header data including the IP address of the opposite side device of the communication, and attaches a time scale (including 32-bit century second and 32-bit nanosecond time scale) of the current time to the tail of the transmitted message, recalculates the message length and the message CRC value, and transmits the message length and the message CRC value to the 5G communication transceiver module through the RGMII interface port and transmits the message length and the message CRC value to the 5G network, and the 5G access device adds the format of the transmission-side real-time service 5G message of the transmission time scale as shown in fig. 7.
After receiving the real-time service 5G packet, the opposite-end 5G access device attaches a receiving time scale (including 32-bit century second and 32-bit nanosecond time scales) and a main operation interruption counter (32-bit cycle counter) to the tail of the packet, and the format of the receiving-side real-time service 5G packet in which the 5G access device increases the receiving time scale is shown in fig. 8. Because the 5G access devices at the transmitting side and the receiving side are kept synchronous with the GPS time, the time scale of the receiving time is different from the time scale of the sending time, and the time delay value of the real-time service 5G message transmitted in the 5G network can be measured.
When the non-real-time service data message is sent, the format of the message is as shown in fig. 9, the data processing unit does not perform any processing on the content of the message, and directly submits the message to the non-real-time sending buffer area of the message filtering and priority control module; the message filtering and priority control module judges whether a real-time service message needing to be sent exists at present, if so, the non-real-time service data message is sent after the real-time message is sent, and if not, the non-real-time service data message is directly sent without waiting.
When a real-time service data message is sent, the data processing unit can directly submit the message to an Lwip protocol stack and a data packet analysis/encapsulation module on a CORE 1 processor, and the original data message is converted into an IP data message by the CORE 1 processor and then written into a message filtering and priority control module of an FPGA; the message filtering and priority control module writes the real-time message into a real-time sending buffer area, and sends the message to the 5G communication transceiver module through GMAC and RGMII interfaces preferentially in fixed delay time after the interrupt time, and fixed delay time parameters can be configured on a main processor board.
The implementation method in the message receiving data flow comprises the following steps: when a 5G communication transceiving module receives a message from a 5G wireless network, the message is transparently forwarded to a GMAC network port of an FPGA through an RGMII kilomega network port, the FPGA marks a receiving time scale on the message, then the message is quickly forwarded to a message filtering and priority control module to judge an MAC packet source address of the received message, real-time service data is delivered to CORE 1 to be subjected to IP unpacking after the message passes the receiving time scale, and the CORE 1 transmits the unpacked data to a real-time application processing CORE of a main processor board through an Ethernet and a real-time service channel according to a private protocol; the non-real-time service data can be directly transmitted to the non-real-time management core through the non-real-time service channel.
In another specific implementation manner of the embodiment of the present invention, the low scheduling delay and high speed access terminal based on 5G includes: the system comprises a real-time network port, a TCP/IP data packet processing module, a message processing module, a 5G communication transceiving module, a plurality of non-real-time network ports, an Ethernet switching chip and a non-real-time transparent forwarding module;
the real-time network port receives the real-time service message and sends the real-time service message to the TCP/IP data packet processing module;
the TCP/IP data packet processing module carries out TCP/IP protocol unpacking processing on the real-time service message to obtain a real-time service TCP/IP message and sends the real-time service TCP/IP message to the message processing module; and the message processing module sends the real-time service TCP/IP message to the 5G communication transceiving module at the moment of scheduled interruption and fixed time delay, and the 5G communication transceiving module sends the real-time service TCP/IP message to a 5G wireless network. Specifically, the TCP/IP packet processing module fills a real-time service TCP/IP packet to be sent into a real-time sending buffer of the packet processing module before a preset interrupt edge; and the message processing module automatically sends the real-time service TCP/IP message to a physical port connected with the 5G communication transceiving module at a set time delay moment after a preset interruption edge, and attaches a time mark of the actual sending moment of the real-time service TCP/IP message to the tail of the message, so that the calculation of the absolute path delay under the time synchronization of the 5G system is realized.
After the message processing module receives the data sent by the 5G communication transceiving module, filtering the received data based on a preset rule to obtain filtered data; and for the real-time service message in the filtered data, the message processing module forwards the real-time service message to the TCP/IP data packet processing module, the TCP/IP data packet processing module carries out TCP/IP protocol unpacking processing on the real-time service message to obtain original message data, and finally the original message data is sent to the electric power secondary equipment through the real-time service physical channel to realize that the electric power secondary equipment sends the real-time service message data.
Each non-real-time network port is respectively connected with the Ethernet switching chip, receives a non-real-time service message and sends the non-real-time service message to the non-real-time transparent forwarding module through the Ethernet switching chip; the message processing module receives the non-real-time service message forwarded by the non-real-time transparent forwarding module, and when the message processing module judges that no real-time service TCP/IP message needing to be sent currently exists, the message processing module directly forwards the non-real-time service message to the 5G communication transceiving module, and the 5G communication transceiving module sends the non-real-time service message to the 5G wireless network; when the real-time service TCP/IP message needing to be sent is judged to exist currently, the message processing module firstly sends the real-time service TCP/IP message to the 5G communication transceiving module at the moment of scheduled interruption and fixed time delay, after the real-time service TCP/IP message is sent completely, the non-real-time service message is sent to the 5G communication transceiving module, and the 5G communication transceiving module sends the non-real-time service message to the 5G wireless network, so that the power secondary equipment sends non-real-time service message data.
After the message processing module receives the data sent by the 5G communication transceiving module, filtering the received data based on a preset rule to obtain filtered data; and transmitting the non-real-time service message in the filtered data to a non-real-time transparent transmitting module, transmitting the non-real-time service message by the non-real-time transparent transmitting module, transmitting the non-real-time service message to a corresponding non-real-time network port through an Ethernet switching chip, and finally transmitting the non-real-time service message to the electric secondary equipment to realize that the electric secondary equipment receives the non-real-time service message data.
The low-scheduling time delay and high-speed access terminal based on the 5G further comprises a time management module and an interrupt synchronization module, and the power secondary equipment sends SYNC messages with time information to the access terminal at equal intervals through a real-time network port; the interruption synchronization module restores interruption through SYNC messages, and the time management module carries out time synchronization through analyzing time information in the SYNC messages. In particular: the SYNC message sent by the power secondary (differential protection) equipment and the SYNC message analyzed by the 5G access terminal are cooperatively processed by adopting an FPGA device, so that better synchronization performance can be obtained.
As shown in fig. 10, in order to make the 5G access device in the embodiment of the present invention exist outside the power secondary device in an independent manner, the 5G access device mainly includes an ethernet switch interface for non-real-time services, a dedicated ethernet interface for real-time services, a data processing unit, a 5G communication transceiver module, and a GPS/beidou time synchronization module.
The Ethernet exchange interface for the non-real-time service is mainly used for expanding 4 paths of non-real-time service network interfaces (can be directly expanded by the FPGA or expanded by an exchange chip) from a non-real-time service network port processed by a 1-path FPGA (field programmable gate array), can be provided for a plurality of power secondary devices to be used together, and reduces the number of 5G access devices of a station.
The special Ethernet interface for real-time service is directly expanded and realized by the FPGA, and is specially used for relay protection differential high-performance protection scenes.
The data processing unit can adopt a fully programmable SoC processor, and typically comprises two ARM processors and 1 FPGA logic unit.
The two ARM processors are named as CORE 0 and CORE 1 respectively, the CORE 0 runs a Linux operating system and is mainly used for parameter management, 5G communication transceiver module management, network connection establishment and other functions; the CORE 1 runs an operating-system-free program (real-time scheduling task processing) and deploys an Lwip lightweight TCP/IP protocol stack thereon for processing raw data packets from the power secondary equipment.
Different from the 5G access module, the access device is in an independent terminal form and can be used as independent equipment to be matched with power secondary equipment engineering. The parameters of the access device are stored in the terminal device, and program upgrading and parameter and configuration file updating are carried out through the local debugging serial port and the debugging network port.
The access device is hardware-free of PPS and INT signals, so its time and interrupt synchronization modes are different from those of the access module. The 5G access device realizes real-time application core time and system interrupt synchronization with the accessed power secondary relay protection equipment in a hard real-time and equal-interval message control mode through a real-time network port.
The access device hardware of this embodiment has 4 non-real-time service ports and one real-time service port, the real-time service port is directly extended by the FPGA on the data processing unit, and the 4 non-real-time service ports are obtained by the FPGA port through ethernet SWITCH extension. The Ethernet SWITCH internally divides a port VLAN, 4 paths of non-real-time service network ports cannot send data to each other, and only data communication interaction between the non-real-time service network ports and the FPGA network ports can be realized.
The real-time service transceiving logic of the 5G access device is the same as that of the 5G access module, the transceiving logic of the non-real-time service is slightly different from that of the 5G access module, the 5G access device expands 4 non-real-time service network ports through an Ethernet SWITCH chip, and the 5G access module integrated in the power secondary equipment generally only expands 1 non-real-time service network port through an FPGA.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
The foregoing shows and describes the general principles and broad features of the present invention and advantages thereof. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (19)

1. A low-scheduling delay and high-speed access method based on 5G is characterized by comprising the following steps:
receiving a real-time service message forwarded by a real-time service physical channel;
performing TCP/IP protocol encapsulation processing on the real-time service message to obtain a real-time service TCP/IP message;
and sending the real-time service TCP/IP message to a 5G communication transceiver module at the moment of scheduled interruption and fixed time delay, so that the 5G communication transceiver module sends the real-time service TCP/IP message to a 5G wireless network.
2. The method of claim 1, wherein the method comprises: the method further comprises the following steps:
receiving a non-real-time service message forwarded by a non-real-time service physical channel;
when judging that no real-time service TCP/IP message needs to be sent currently, directly forwarding the non-real-time service message to a 5G communication transceiver module, so that the 5G communication transceiver module sends the non-real-time service message to a 5G wireless network;
when the real-time service TCP/IP message needing to be sent is judged to be available at present, the non-real-time service message is directly forwarded to the 5G communication transceiver module after the real-time service TCP/IP message is sent, so that the 5G communication transceiver module sends the non-real-time service message to the 5G wireless network.
3. The method of claim 2, wherein the method comprises: the method further comprises the following steps:
after receiving data sent by the 5G communication transceiving module, filtering the received data based on a preset rule to obtain filtered data;
for the real-time service message in the filtered data, performing TCP/IP (transmission control protocol/Internet protocol) unpacking processing on the real-time service message to obtain original message data, and finally sending the original message data to the power secondary equipment through a real-time service physical channel;
and for the non-real-time service message in the filtered data, transparently forwarding the non-real-time service message, and finally sending the non-real-time service message to the power secondary equipment through a non-real-time service physical channel.
4. The method of claim 1, wherein the method comprises: the sending of the real-time service TCP/IP message to the 5G communication transceiver module at the moment of the scheduled interruption and the fixed time delay specifically comprises the following steps:
and at a preset fixed moment after the interruption edge, sending the real-time service TCP/IP message to the 5G communication transceiving module, and attaching a time scale of the actual sending moment of the real-time service TCP/IP message to the tail of the message to realize the calculation of the absolute path delay under the time synchronization of the 5G system.
5. The utility model provides a low scheduling time delay and high-speed access module based on 5G which characterized in that: the system comprises a TCP/IP data packet processing module, a message processing module and a 5G communication transceiving module;
the TCP/IP data packet processing module carries out TCP/IP protocol encapsulation processing on the received real-time service message to obtain a real-time service TCP/IP message and sends the real-time service TCP/IP message to the message processing module;
and the message processing module sends the real-time service TCP/IP message to the 5G communication transceiving module at the moment of scheduled interruption and fixed time delay, and the 5G communication transceiving module sends the real-time service TCP/IP message to a 5G wireless network.
6. The 5G-based low-scheduling delay and high-speed access module according to claim 5, wherein the TCP/IP packet processing module fills a real-time service TCP/IP packet to be transmitted into a real-time transmission buffer of the packet processing module before a preset interrupt edge; and the message processing module automatically sends the real-time service TCP/IP message to a physical port connected with the 5G communication transceiving module at a set time delay moment after a preset interruption edge, and attaches a time mark of the actual sending moment of the real-time service TCP/IP message to the tail of the message, so that the calculation of the absolute path delay under the time synchronization of the 5G system is realized.
7. The 5G-based low-scheduling delay and high-speed access module according to claim 5, wherein after the message processing module receives data sent by the 5G communication transceiver module, the received data is filtered based on a preset rule to obtain filtered data;
and for the real-time service message in the filtered data, the message processing module forwards the real-time service message to the TCP/IP data packet processing module, and the TCP/IP data packet processing module carries out TCP/IP protocol unpacking processing on the real-time service message to obtain original message data, and finally the original message data is sent to the power secondary equipment through a real-time service physical channel.
8. The 5G-based low-scheduling delay and high-speed access module according to claim 5, further comprising a real-time service physical channel, wherein the real-time service physical channel receives the real-time service packet and sends the real-time service packet to the TCP/IP packet processing module.
9. The 5G-based low-scheduling delay and high-speed access module according to claim 5, further comprising a non-real-time service physical channel and a non-real-time transparent forwarding module;
the non-real-time service physical channel receives a non-real-time service message and sends the non-real-time service message to the non-real-time transparent forwarding module;
the message processing module receives the non-real-time service message forwarded by the non-real-time transparent forwarding module, and when the message processing module judges that no real-time service TCP/IP message needing to be sent currently exists, the message processing module directly forwards the non-real-time service message to the 5G communication transceiving module, and the 5G communication transceiving module sends the non-real-time service message to the 5G wireless network; when the real-time service TCP/IP message needing to be sent is judged to exist currently, the message processing module firstly sends the real-time service TCP/IP message to the 5G communication transceiving module at the moment of scheduled interruption and fixed time delay, and after the real-time service TCP/IP message is sent completely, the non-real-time service message is sent to the 5G communication transceiving module, and the 5G communication transceiving module sends the non-real-time service message to the 5G wireless network.
10. The 5G-based low-scheduling delay and high-speed access module according to claim 9, wherein the non-real-time transparent forwarding module transparently forwards the acquired original non-real-time data packet to a non-real-time transmission buffer of the packet processing module, the packet processing module determines whether there is a real-time service TCP/IP packet that needs to be transmitted currently, and if so, sends the non-real-time service packet to the 5G communication transceiver module after the real-time service TCP/IP packet is transmitted, and if not, directly sends the non-real-time service packet to the 5G communication transceiver module.
11. The module according to claim 9 or 10, wherein after the packet processing module receives the data from the 5G communication transceiver module, the packet processing module filters the received data based on a preset rule to obtain filtered data;
and forwarding the non-real-time service message in the filtered data to a non-real-time transparent forwarding module, transparently forwarding the non-real-time service message by the non-real-time transparent forwarding module, and finally sending the non-real-time service message to the power secondary equipment through a non-real-time service physical channel.
12. The 5G-based low-scheduling delay and high-speed access module according to claim 5, further comprising a PPS synchronization signal line, an INT interrupt synchronization physical signal line, a system time management module and an interrupt synchronization module;
one end of the PPS synchronization signal line is connected with the system time management module, the other end of the PPS synchronization signal line is used for being connected with secondary power equipment, and the PPS synchronization signal line is utilized to realize synchronization of the secondary power equipment on the time second edge of the 5G-based low-scheduling time delay and the high-speed access module;
one end of the INT interrupt synchronous physical signal line is connected with the interrupt synchronous module, the other end of the INT interrupt synchronous physical signal line is used for being connected with secondary power equipment, and an interrupt signal of the secondary power equipment is accessed into the interrupt synchronous module by the INT interrupt synchronous physical signal line and is used as an interrupt signal of the 5G-based low-scheduling time delay and high-speed access module.
13. A low-latency high-speed access terminal based on 5G, comprising: the 5G-based low-latency and high-speed access module and real-time portal of claim 5; and the real-time network port receives the real-time service message and sends the real-time service message to the TCP/IP data packet processing module.
14. The 5G-based low-latency high-speed access terminal according to claim 13, wherein the TCP/IP packet processing module fills a real-time service TCP/IP packet to be transmitted into a real-time transmission buffer of the packet processing module before a preset interrupt edge; and the message processing module automatically sends the real-time service TCP/IP message to a physical port connected with the 5G communication transceiving module at a set time delay moment after a preset interruption edge, and attaches a time mark of the actual sending moment of the real-time service TCP/IP message to the tail of the message, so that the calculation of the absolute path delay under the time synchronization of the 5G system is realized.
15. The 5G-based low-scheduling delay and high-speed access terminal according to claim 13, wherein after the message processing module receives data sent from the 5G communication transceiver module, the received data is filtered based on a preset rule to obtain filtered data;
and for the real-time service message in the filtered data, the message processing module forwards the real-time service message to the TCP/IP data packet processing module, and the TCP/IP data packet processing module carries out TCP/IP protocol unpacking processing on the real-time service message to obtain original message data, and finally the original message data is sent to the power secondary equipment through a real-time service physical channel.
16. The 5G-based low-latency high-speed access terminal according to claim 13, further comprising a plurality of non-real-time ports, Ethernet switch chips and non-real-time transparent forwarding modules;
each non-real-time network port is respectively connected with the Ethernet switching chip, receives a non-real-time service message and sends the non-real-time service message to the non-real-time transparent forwarding module through the Ethernet switching chip;
the message processing module receives the non-real-time service message forwarded by the non-real-time transparent forwarding module;
when judging that no real-time service TCP/IP message needs to be sent currently, the message processing module directly forwards the non-real-time service message to the 5G communication transceiver module, and the 5G communication transceiver module sends the non-real-time service message to a 5G wireless network;
when the real-time service TCP/IP message needing to be sent is judged to exist currently, the message processing module firstly sends the real-time service TCP/IP message to the 5G communication transceiving module at the moment of scheduled interruption and fixed time delay, and after the real-time service TCP/IP message is sent completely, the non-real-time service message is sent to the 5G communication transceiving module, and the 5G communication transceiving module sends the non-real-time service message to the 5G wireless network.
17. The 5G-based low-scheduling delay and high-speed access terminal according to claim 16, wherein after the message processing module receives data sent from the 5G communication transceiver module, the received data is filtered based on a preset rule to obtain filtered data;
and transmitting the non-real-time service message in the filtered data to a non-real-time transparent transmitting module, transmitting the non-real-time service message to a corresponding non-real-time network port by the non-real-time transparent transmitting module, transmitting the non-real-time service message to the corresponding non-real-time network port by an Ethernet switching chip, and finally transmitting the non-real-time service message to the electric power secondary equipment.
18. The 5G-based low-latency and high-speed access terminal of claim 13, further comprising a time management module and an interrupt synchronization module; the power secondary equipment sends SYNC messages with time information to the access terminal at equal intervals through a real-time network port; the interruption synchronization module restores interruption through SYNC messages, and the time management module carries out time synchronization through analyzing time information in the SYNC messages.
19. An electric power secondary device, comprising a main processor board and the 5G-based low-scheduling delay and high-speed access module set of any one of claims 5-12, wherein the main processor board and the 5G-based low-scheduling delay and high-speed access module set are connected for communication.
CN202011001174.1A 2020-09-22 2020-09-22 Low-scheduling time delay and high-speed access method, module, terminal and power secondary equipment based on 5G Active CN112272387B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011001174.1A CN112272387B (en) 2020-09-22 2020-09-22 Low-scheduling time delay and high-speed access method, module, terminal and power secondary equipment based on 5G
PCT/CN2020/124597 WO2022062052A1 (en) 2020-09-22 2020-10-29 5g-based method, module and terminal for realizing low scheduling latency and high speed access, and secondary electrical device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011001174.1A CN112272387B (en) 2020-09-22 2020-09-22 Low-scheduling time delay and high-speed access method, module, terminal and power secondary equipment based on 5G

Publications (2)

Publication Number Publication Date
CN112272387A CN112272387A (en) 2021-01-26
CN112272387B true CN112272387B (en) 2022-03-11

Family

ID=74349076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011001174.1A Active CN112272387B (en) 2020-09-22 2020-09-22 Low-scheduling time delay and high-speed access method, module, terminal and power secondary equipment based on 5G

Country Status (2)

Country Link
CN (1) CN112272387B (en)
WO (1) WO2022062052A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113054749A (en) * 2021-05-11 2021-06-29 国网信息通信产业集团有限公司 Distribution network differential protection method, device and system based on 5G remote communication
CN113853033B (en) * 2021-08-31 2024-03-26 国网新疆电力有限公司电力科学研究院 Power distribution network differential protection terminal communication module and communication method based on 5G technology
CN114552543A (en) * 2021-12-31 2022-05-27 国网江苏省电力有限公司电力科学研究院 Differential protection method and system for power distribution network and power distribution terminal
CN114884859B (en) * 2022-04-19 2024-01-09 西安大衡天成信息科技有限公司 Network state control device and method supporting command communication simulation training
CN115134431B (en) * 2022-05-27 2023-10-20 江苏金智科技股份有限公司 UDP differential message extraction method and system for power distribution automation 5G differential protection
CN115103037A (en) * 2022-06-23 2022-09-23 贵州电网有限责任公司 Method for realizing communication between real-time system and non-real-time system
CN115314467B (en) * 2022-06-28 2023-10-27 国网信息通信产业集团有限公司 Data communication system and method based on distribution network differential protection
CN117459915B (en) * 2023-10-24 2024-07-09 国网上海市电力公司 5G direct transmission-based distribution network remote real-time distributed synchronous test method and system
CN118647041A (en) * 2024-03-13 2024-09-13 福建时代星云科技有限公司 Network card compatible method and equipment based on LwIP and SPI protocol

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067270A (en) * 2013-01-08 2013-04-24 杭州华三通信技术有限公司 Virtual machine exchange visit safety control method and device
CN104468310A (en) * 2014-11-14 2015-03-25 国家电网公司 Power communication system and method
CN108964264A (en) * 2018-06-22 2018-12-07 国电南瑞科技股份有限公司 The wireless realization of debugging method of intelligent substation site device
WO2020024721A1 (en) * 2018-08-03 2020-02-06 中兴通讯股份有限公司 Service transmission method, device, and computer storage medium
WO2020043201A1 (en) * 2018-08-31 2020-03-05 中兴通讯股份有限公司 Message transmission method and device and computer storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100473047C (en) * 2004-12-29 2009-03-25 中兴通讯股份有限公司 Method of transmission control for adaptation layer 2 in asynchronous transfer mode
CN101141375B (en) * 2006-09-05 2010-12-22 华为技术有限公司 Packet transmission method, transmission apparatus and system within LAN
CN101986594B (en) * 2010-11-18 2015-06-03 中兴通讯股份有限公司 Method and device for realizing communication between single boards
CN105530697B (en) * 2015-12-15 2019-02-01 重庆大学 A kind of supporting industry internet of things service method for synchronizing time
CN110545152B (en) * 2019-09-10 2020-12-04 清华大学 Upper computer with real-time transmission function in Ethernet and Ethernet system
CN110854798A (en) * 2019-10-31 2020-02-28 国网山东省电力公司济宁供电公司 Differential relay protection communication device, system and method based on 5G communication
CN110838713B (en) * 2019-11-26 2021-01-01 山东大学 5G network-based distributed differential protection method and system for power distribution network
CN111030058B (en) * 2019-11-28 2023-03-31 南京国电南自电网自动化有限公司 Power distribution network partition protection method based on 5G communication

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067270A (en) * 2013-01-08 2013-04-24 杭州华三通信技术有限公司 Virtual machine exchange visit safety control method and device
CN104468310A (en) * 2014-11-14 2015-03-25 国家电网公司 Power communication system and method
CN108964264A (en) * 2018-06-22 2018-12-07 国电南瑞科技股份有限公司 The wireless realization of debugging method of intelligent substation site device
WO2020024721A1 (en) * 2018-08-03 2020-02-06 中兴通讯股份有限公司 Service transmission method, device, and computer storage medium
WO2020043201A1 (en) * 2018-08-31 2020-03-05 中兴通讯股份有限公司 Message transmission method and device and computer storage medium

Also Published As

Publication number Publication date
CN112272387A (en) 2021-01-26
WO2022062052A1 (en) 2022-03-31

Similar Documents

Publication Publication Date Title
CN112272387B (en) Low-scheduling time delay and high-speed access method, module, terminal and power secondary equipment based on 5G
DK2523397T3 (en) Method and device for operating the wind farm-interconnectors with improved data transfer protocol
CN101917316B (en) Communication method and device for high-speed real-time industrial Ethernet
CN111565073B (en) Wireless optical difference synchronization method and system based on 5G communication and 5G communication module
US20240214323A1 (en) Packet transmission method and apparatus
CN109995675B (en) Self-adaptive industrial Ethernet gateway system and method based on software definition
CN113347065A (en) Flow scheduling test device and method in time-sensitive network
CN106300678B (en) A kind of digital protective relay system for supporting unification of three nets network
CN110191032B (en) Method for accessing non-standard real-time Ethernet to time-sensitive network
US20160338099A1 (en) Multi-hop radio communication method
CN101924702A (en) Service data transmission method and device
Simon et al. Design aspects of low-latency services with time-sensitive networking
CN112769514A (en) Time-sensitive based communication device
CN110446275A (en) A kind of method, terminal and the system of E1 point-to-point communication
CN103346866B (en) The method of 1588v2 message is transmitted in microwave system
CN115996205A (en) TSN Ethernet switching module and electric power Internet of things message processing method
CN107835109B (en) Method and system for testing packet transport network defined by software
CN214627023U (en) Switching equipment compatible with definable deterministic communication Ethernet
CN114827056A (en) System and method based on time-sensitive network transmission in 5G mobile communication
Liu et al. Software defined network based 5G and time-sensitive network fusion for power services with ultra-low latency requirements
CN114553356A (en) Device and method for realizing transparent transmission clock in wireless HUB
CN113810256A (en) Industrial communication method, system and readable storage medium
CN113225768A (en) 4G/5G transmission network synchronization method
CN118488104B (en) CUNOS-based deterministic UPF implementation method and system
CN110519137A (en) Switching device

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