CN110519016A - A kind of unification of three nets data transmission method for uplink based on real-time priority dynamic adjustment - Google Patents

A kind of unification of three nets data transmission method for uplink based on real-time priority dynamic adjustment Download PDF

Info

Publication number
CN110519016A
CN110519016A CN201910826626.0A CN201910826626A CN110519016A CN 110519016 A CN110519016 A CN 110519016A CN 201910826626 A CN201910826626 A CN 201910826626A CN 110519016 A CN110519016 A CN 110519016A
Authority
CN
China
Prior art keywords
data
priority
register
goose
time
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.)
Granted
Application number
CN201910826626.0A
Other languages
Chinese (zh)
Other versions
CN110519016B (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.)
Integrated Electronic Systems Lab Co Ltd
Original Assignee
Integrated Electronic Systems Lab 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 Integrated Electronic Systems Lab Co Ltd filed Critical Integrated Electronic Systems Lab Co Ltd
Priority to CN201910826626.0A priority Critical patent/CN110519016B/en
Publication of CN110519016A publication Critical patent/CN110519016A/en
Application granted granted Critical
Publication of CN110519016B publication Critical patent/CN110519016B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0015Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/245Traffic characterised by specific attributes, e.g. priority or QoS using preemption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Communication Control (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of unification of three nets data transmission method for uplink based on real-time priority dynamic adjustment; the present invention is based on fpga chips; it can be used in electric system being especially protection and automation equipment in intelligent substation and be total to the application that mouth sends the network datas such as SV, GOOSE, MMS; by configuring division multipriority; dynamic adjustment priority simultaneously can invert in real time, seize transmit queue, realize that all types of network datas are total to mouth transmission.This method transmitting efficiency is high, meets the publication discreteness of SV data and the release quickly performance of GOOSE data, and configure flexibly, transplantability is good, and this method is also expansible to be applied in the similar application of other field.

Description

A kind of unification of three nets data transmission method for uplink based on real-time priority dynamic adjustment
Technical field
The present invention relates to technical field of electric power communication, especially a kind of unification of three nets based on real-time priority dynamic adjustment Data transmission method for uplink.
Background technique
Currently, power electronic technique and the communication technology are constantly progressive, and promote the continuous development of Protection Technology, state Family's power grid proposes protective device of new generation: site protective device.As site protective device is in intelligent substation pilot Successful application and relevant industries standard maturation, the popularization and application of site protective device will more extensively.Site is protected Protection unit is installed on the spot using miniaturization, high protection and low power dissipation design, realization, ensures the independence and quick-action of main protection Property.In order to achieve the above objectives, device uses the design that SV, GOOSE, MMS unification of three nets are total to mouth transmitting-receiving, building whole station protection Private network is to realize the information exchange between secondary device.It is sent compared to traditional mono- network interface of SV, GOOSE, MMS, unification of three nets Complexity is improved in design and implementation, to protection private network network work reliability and network forward delay interval, send from Dissipating property, more stringent requirements are proposed.
Since secondary equipment of intelligent converting station is sent, SV, GOOSE, MMS data demand are different, and the discrete performance for sending SV is wanted Ask deviation no more than ± 10us, it is current to realize that upper mainstay is completed using fpga chip;When sending GOOSE data, work as data It requires to send as soon as possible when displacement, usual forward delay interval requires to be less than 1ms, and sends by the rhythm of GOOSE displacement burst, commonly uses Be displacement after be respectively separated 2ms, 2ms, 4ms, 8ms, 5000ms rhythm send, 5000ms be finally stabilised heartbeat report Text;When sending MMS message, since MMS is based on ICP/IP protocol, network connection time-out has retransmission mechanism, to the sensibility of time Not as good as SV and GOOSE high, but the delay sent normally results in the decline of MMS data transmission efficiency.When unification of three nets is total to mouth hair When sending, the transmission delay of the publication discreteness and GOOSE that need to guarantee SV is the smaller the better;Requirement to MMS be meet SV and Efficient transmission under the premise of GOOSE sending performance.The transmission realization mechanism of current unification of three nets mainly guarantees that SV is preferential It sends, after SV transmission, whether there is GOOSE or MMS data in timing scan buffer area, in the presence of, it reads data and sends, every time A frame is sent, guarantees data Lothrus apterus.The advantages of mechanism, is design and realizes that simply program is easy to maintain, the disadvantage is that sending What is transmitted is inefficient, and adaptability is poor, cannot deal with complicated application scenarios, for example need to send multiple GOOSE control blocks In the case where, it is understood that there may be biggish transmission delay is unsatisfactory for sending requirement.
Summary of the invention
The object of the present invention is to provide a kind of unification of three nets data transmission method for uplink based on real-time priority dynamic adjustment, purports Solving the problems, such as that unification of three nets data transmission efficiency is low in the prior art and bad adaptability, realization improve data transfer are imitated Rate is adapted to different application scene.
To reach above-mentioned technical purpose, the present invention provides a kind of unification of three nets numbers based on real-time priority dynamic adjustment According to sending method, the method includes following operations:
Configuration file is parsed, the relevant configured parameter that data are sent is obtained;
According to relevant configured parameter, all types of buffer areas are written into SV, GOOSE, MMS Framed Data, pass through resident timing Device determines GOOSE, MMS data priority;
The output bus that the buffer area SV is switched in SV sending time window, switches in non-SV sending time window The output bus of the buffer area GOOSE, MMS;
Transmission for SV data sends intervalometer by SV and determines whether SV sending time window mark is effective, When window mark is effective, it is sent to after waiting SV data, SV data to arrive and sends buffer area;
Transmission for GOOSE, MMS data, poll scanning buffer compare priority and filter out data to be sent, lead to It crosses time ruler register and judges whether that current SV transmission gap, which can be inserted, transfers data to transmission when can be inserted Buffer area;
The data sent in buffer area are sent to object module.
Preferably, the operation of SV Framed Data write-in buffer area is as follows:
According to the SV sending cycle of configuration, FPGA respectively generates sampling pulse by synchronous or punctual pulse per second (PPS);
According to the configuration template of SV in sampling pulse instance sample framing, the buffer area SV, juxtaposition bit buffering are write data into Area's effective marker, while transmitting SV length parameter information.
Preferably, when the resident timer reaches overflow value, the priority of GOOSE or MMS data is promoted.
Preferably, the transmission concrete operations of the SV data are as follows:
Start SV and send intervalometer, when SV, which sends intervalometer, to be overflowed, it is effective to set SV transmission window mark;
After SV transmission window is effectively detected, waits next frame SV data simultaneously to remove SV and send window effective marker, when When next frame SV data arrive, resets SV and send intervalometer and start reclocking.
Preferably, it is customized setting that the SV, which sends the overflow value of intervalometer,.
Preferably, it is as follows to filter out data concrete operations to be sent for the comparison priority:
The data buffer zone poll GOOSE and the data buffer zone MMS, when the buffer area in need for sending data is arrived in scanning, It latches the priority of the buffer area, residence time, length, hang up mark, buffering area code parameter to temporary register;
Temporary register is compared with the priority of priority register, when the priority stored in temporary register is high When priority register, by temporary register each data update to priority register, residence time latch register, Length register and buffering area code register;
When the priority stored in temporary register is equal with the value in priority register, then residence time is compared, If the dwell time values stored in temporary register are big, update priority register, residence time latch register, length and post Storage and buffering area code register, on the contrary it does not update;
When the priority stored in temporary register is less than priority register, the registers such as priority are not updated.
Preferably, described to judge whether that current SV, which can be inserted, sends gap concrete operations by time ruler register Are as follows:
According to the length computation of data to be sent, it sends holding time, by data in this time and time ruler register Value judges whether numerical value enters SV sending time window after being added, if into transmission condition is unsatisfactory for;If do not entered SV sending time window will buffer the corresponding data transmission of area code to buffer area is sent, and the result that will add up is updated to time ruler Register.
Preferably, the method also includes the transmission of data preemptive type, concrete operations are as follows:
After poll selectes a certain GOOSE data or MMS data according to current priority, need to delay data from corresponding It rushes area and is transferred to transmission buffer area, during this period if having monitored that priority data more higher than current selected data arrives, Current data transmission is then interrupted, restores to send parameter, poll scans high-priority data again;
When the displacement of the GOOSE data of same control block, corresponding heartbeat frame is not sent or is currently written into transmission buffering Area, then the GOOSE heartbeat data that currently displacement data can seize same control block are sent.
The effect provided in summary of the invention is only the effect of embodiment, rather than invents all whole effects, above-mentioned A technical solution in technical solution have the following advantages that or the utility model has the advantages that
Compared with prior art, the present invention is based on fpga chip, can be used in electric system being especially in intelligent substation Protection and automation equipment are total to the application that mouth sends the network datas such as SV, GOOSE, MMS, how preferential by configuring division Grade, dynamic adjust priority and can invert in real time, seize transmit queue, realize that all types of network datas are total to mouth transmission.This method Transmitting efficiency is high, meets the publication discreteness of SV data and the release quickly performance of GOOSE data, and configures flexibly, transplantability Good, this method is also expansible to be applied in the similar application of other field.
Detailed description of the invention
Fig. 1 is unification of three nets module diagram inside FPGA provided in the embodiment of the present invention;
Fig. 2 is that FPGA network data provided in the embodiment of the present invention sends dynamic dispatching logical flow chart.
Specific embodiment
In order to clearly illustrate the technical characterstic of this programme, below by specific embodiment, and its attached drawing is combined, to this Invention is described in detail.Following disclosure provides many different embodiments or example is used to realize different knots of the invention Structure.In order to simplify disclosure of the invention, hereinafter the component of specific examples and setting are described.In addition, the present invention can be with Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated Relationship between various embodiments and/or setting is discussed.It should be noted that illustrated component is not necessarily to scale in the accompanying drawings It draws.Present invention omits the descriptions to known assemblies and treatment technology and process to avoid the present invention is unnecessarily limiting.
It is provided for the embodiments of the invention a kind of three net conjunctions based on real-time priority dynamic adjustment with reference to the accompanying drawing One data transmission method for uplink is described in detail.
As shown in Figure 1, 2, the embodiment of the invention discloses a kind of unification of three nets numbers based on real-time priority dynamic adjustment According to sending method, the method includes following operations:
Configuration file is parsed, the relevant configured parameter that data are sent is obtained;
According to relevant configured parameter, all types of buffer areas are written into SV, GOOSE, MMS Framed Data, pass through resident timing Device determines GOOSE, MMS data priority;
The output bus that the buffer area SV is switched in SV sending time window, switches in non-SV sending time window The output bus of the buffer area GOOSE, MMS;
Transmission for SV data sends intervalometer by SV and determines whether SV sending time window mark is effective, When window mark is effective, it is sent to after waiting SV data, SV data to arrive and sends buffer area;
Transmission for GOOSE, MMS data, poll scanning buffer compare priority and filter out data to be sent, lead to It crosses time ruler register and judges whether that current SV transmission gap, which can be inserted, transfers data to transmission when can be inserted Buffer area;
The data sent in buffer area are sent to object module.
The real-time priority dynamic adjustment mechanism of the embodiment of the present invention is as follows:
Transmission priority in three network datas is with SV data highest, in order to guarantee the transmission delay of SV data and issue discrete Property stabilization, the stable feature of being spaced is sent according to SV, estimates SV sending time, 10us (configurable) is beaten before SV sending instant Open SV sending time window, wait SV network data to be sent, after having sent SV, into non-SV sending time window, be inserted into GOOSE and MMS data are sent.
Configuration file is parsed, the relevant configuration parameter of sending module is obtained, function is sent to unification of three nets according to system requirements It can be carried out configuration, SV, GOOSE, MMS data, which are sent, enables that configuration can be combined, and enables one or more.To GOOSE, The basic priority that MMS sends data is configured, i.e., configurable GOOSE difference control block priority is controlled in multiple GOOSE Basic priority high data frame is preferentially sent when block heartbeat data is effective simultaneously.Configuration sends relevant time parameter, includes The time parameter of Priority Inversion, the transmission rhythm of GOOSE data, SV sending time window allowance.
SV, GOOSE, MMS Framed Data are written by FPGA and send buffer area.
The buffer area SV is written into SV data, according to the SV sending cycle (usual 250us) of configuration, FPGA is by synchronizing or keeping When pulse per second (PPS), respectively generate sampling pulse, according to the configuration template of SV in sampling pulse instance sample framing, write data into SV Buffer area, juxtaposition bit buffering area effective marker, while transmitting the parameter informations such as SV length.
By the GOOSE data write-in buffer area GOOSE, it can be achieved that the common network of multiple GOOSE control blocks is sent.Utilize FPGA's The framing writing buffer operation of parallel processing feature, each GOOSE control block is mutually indepedent.FPGA goes to detect every the sampling time CPU incoming GOOSE data array, according to configuration information, is mapped to corresponding GOOSE control when detecting data variation Block controls corresponding control block displacement framing, and StNum parameter increases by 1, SqNum parameter and returns 0, and transmits GOOSE length, GOOSE class Framed Data is written its corresponding GOOSE data and delayed by parameters, each control blocks such as type (displacement, burst, heartbeat), interrupt identification Rush area.
Start two timers when GOOSE framing is completed, one is rhythm control timer, is used for the lower frame number of GOOSE According to framing, another resident timer promotes the excellent of current GOOSE data type when resident timer arrival overflow value First grade, achievees the purpose that transmission of trying to be the first, and the overflow value of resident timer is configurable to 2, and counter reaches biggish spilling Priority is promoted again when value, and when data are removed in the buffer area GOOSE, corresponding resident timer resets.When GOOSE number When according to variation, rhythm control timer directly overflows, and when GOOSE data do not change, rhythm control timer is according to current The corresponding Configuration Values of value dynamically load of SqNum are sent as overflow value, timer is resident and is always added according to the value of SqNum dynamic Configuration Values are carried as overflow value.Each GOOSE control block can be divided into following excellent according to GOOSE type and resident timer First grade:
GOOSE conjugate (height), GOOSE bursty data (height), GOOSE heartbeat data (height), GOOSE conjugate (common), GOOSE bursty data (common), GOOSE heartbeat data (common), when the overflow value of resident timer configuration is 2 grades, preferentially Grade can also have GOOSE to conjugate (urgent), GOOSE bursty data (urgent), GOOSE heartbeat data (urgent).
The sequence of priority can configure, and be usually arranged as GOOSE displacement (urgent) > GOOSE bursty data (urgent) > GOOSE heartbeat data (urgent) > GOOSE conjugates (height) > GOOSE bursty data (height) > GOOSE and conjugates (common) > GOOSE Heartbeat data (height) > GOOSE bursty data (common) > GOOSE heartbeat data (common).
The buffer area MMS is written into MMS data, the data for sending MMS pass through the data bus transmission of CPU and FPGA, FPGA A fifo buffer is arranged in side, and the MMS module of FPGA transmits frame idle count control in fifo buffer by shaking hands with CPU The MMS data for needing to be written.It is similar to GOOSE data processing in order to improve efficiency of transmission although MMS has retransmission mechanism, MMS Resident timer is also designed in every frame data buffer area in buffer area, and Priority Inversion also occurs when timer overflows, tries to be the first It sends.
Network data sends scheduler module according to the sending time window for whether being currently SV to switch the buffer area SV and its The output bus of the data buffer zone of his GOOSE, MMS.In non-temporal window, network data sends scheduler module and passes through poll The data buffer zone of GOOSE and MMS switches the output bus of the buffer area GOOSE, MMS, sends scheduler module by network data Control, play the role of variable connector switching bus.
In the data transmission procedure of unification of three nets, according to actual needs, it can decide whether that enabled SV is sent by configuring Function send the sending time window that GOOSE, MMS data without waiting for non-SV when not enabled SV is sent, do not need It calculates whether frame to be sent can be inserted above-mentioned time window, only need to carry out priority ratio to rear transmission;When configuring SV transmission, In Before SV sends configuration parameter completion, first scans GOOSE, MMS data and sent, do not influence the transmission function of GOOSE and MMS Can, it is run at this time according to the mechanism of not enabled SV function, after the completion of SV sends initialization, initialization module provides a SV hair After sending window useful signal, currently transmitted task idle, program goes that the write-in of first frame SV data is waited to send buffer area.
Transmission for SV data, in the buffer area SV data for the first time effectively after, starting SV sends intervalometer, works as SV Send intervalometer overflow when, set SV send window mark it is effective, usually configure SV send intervalometer overflow value be 240us, SV are sent after window is effectively detected, and control program goes to wait next frame SV data and removes SV to send window effective Mark, when next frame SV data arrive when, reset SV send intervalometer simultaneously start reclocking, it is ensured that SV send window without Accumulated error, the preferential stability for guaranteeing SV and sending.
Transmission for GOOSE, MMS data, in order to guarantee that GOOSE, MMS data can be normally inserted between two frame SV Time slot does not influence SV transmission, and creation time scale register, the register is for calculating GOOSE, MMS number to be sent According to whether having reliable sending time.When the SV to be sent such as each, resetting time scale register, after having sent SV data, root According to the frame length for sending SV data, the time required for the data are sent is calculated, by the write time time scale register, into Enter GOOSE, MMS data and send state, judges whether the data field GOOSE, MMS has data latency transmission.Poll GOOSE data are slow Area and the data buffer zone MMS are rushed, when the buffer area in need for sending data is arrived in scanning, the priority of the buffer area is latched, stays It stays time, length, hang up the parameters such as mark, buffering area code to temporary register.
When hang-up mark when buffer area is effective, skips the buffer area and continue poll scanning;When hang-up mark is invalid, temporarily Register is compared with the priority of priority register, when the priority stored in temporary register is deposited higher than priority When device, by temporary register each data update to priority register, residence time latch register, length register with And buffering area code register;When the priority stored in temporary register is equal with the value in priority register, then compare Residence time updates the registers such as priority if the dwell time values stored in temporary register are big, otherwise does not update;When When the priority stored in temporary register is less than priority register, the registers such as priority are not updated.The successively complete institute of poll After having register, buffering the data stored in area code register is the buffer area to be sent chosen at current time.
The data to be sent needs screened after being compared by poll scan priority judge whether that current SV can be inserted Gap is sent, first renewal time scale register after data is selected, if the value that SV sends intervalometer is greater than time ruler The SV value for sending intervalometer is then updated to time ruler register, otherwise not updated by the value of register.Update finishes Afterwards, according to the length computation of data to be sent, it sends holding time, by this time and data value phase in time ruler register Judge whether numerical value enters SV sending time window after adding, if into transmission condition being unsatisfactory for, by the number of the buffer area Mark is hung up according to being placed in, epicycle SV sends gap and do not retransmit the data, improves transmitting efficiency, hangs up mark and sends in SV data Shi Fuwei, if not entering SV sending time window, will buffer the corresponding data transmission of area code to send buffer area, the knot that will add up Fruit updates the poll transmission for starting next frame data to time ruler register.
When can not select transmission when GOOSE or MMS data since priority is lower, in certain time, Priority Inversion machine System can improve its priority, and preferentially send, to guarantee sending performance.When the resident timer overflow value of GOOSE displacement data When being configured to 300us, when GOOSE displacement data 300us is still not sent, then the priority of displacement GOOSE is improved, is guaranteed excellent First send.When the resident timer overflow value of GOOSE heartbeat data is configured to 1s, after GOOSE heartbeat data normal heartbeat When 1s is still not sent, then the priority of the heartbeat data is improved, guarantees its preferential transmission.The Priority Inversion of other data types Design method is same as mentioned above.
In order to enable sending more efficiently, which is arranged preemptive type and sends mechanism, and preemptive type transmission is only applicable to The transmission of GOOSE, MMS data, SV data can not be interrupted, including following two mode:
After poll selectes a certain GOOSE data or MMS data according to current priority, need to delay data from corresponding It rushes area and is transferred to transmission buffer area, during this period, if having monitored that priority data more higher than current selected data arrives, Current data transmission is then interrupted, restores to send parameter, poll scans high-priority data again, which, which sends, can guarantee height The transmission of priority data postpones;
Since the displacement of GOOSE data is asynchronous generation, can be conjugated at once after a GOOSE heartbeat data, this Last GOOSE heartbeat frame will affect the transmission delay of GOOSE displacement data in the case of kind, in order to improve sending performance and transmission Efficiency, when the displacement of the GOOSE data of same control block, corresponding heartbeat frame is not sent or is currently written into transmission buffer area, The GOOSE heartbeat data that then currently displacement data can seize same control block is sent.
Finally, MAC module is successively read the data sent in buffer area, meter when sending has valid data in buffer area CRC check is calculated, and transmits data to PHY chip or optical module is sent to by SEDER, unification of three nets frame is completed and sends.
The embodiment of the present invention is based on fpga chip, can be used in electric system being especially in intelligent substation protection and automatic Change equipment and be total to the application that mouth sends the network datas such as SV, GOOSE, MMS, by configuring division multipriority, dynamic is adjusted Priority simultaneously can invert in real time, seize transmit queue, realize that all types of network datas are total to mouth transmission.This method transmitting efficiency is high, Meet the publication discreteness of SV data and the release quickly performance of GOOSE data, and configure flexibly, transplantability is good, and this method is also It is expansible to be applied in the similar application of other field.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (8)

1. a kind of unification of three nets data transmission method for uplink based on real-time priority dynamic adjustment, which is characterized in that the method packet Include following operation:
Configuration file is parsed, the relevant configured parameter that data are sent is obtained;
According to relevant configured parameter, all types of buffer areas are written into SV, GOOSE, MMS Framed Data, are determined by resident timer Determine GOOSE, MMS data priority;
The output bus that the buffer area SV is switched in SV sending time window, switches in non-SV sending time window The output bus of the buffer area GOOSE, MMS;
Transmission for SV data sends intervalometer by SV and determines whether SV sending time window mark is effective, works as window When mouth mark is effective, it is sent to after waiting SV data, SV data to arrive and sends buffer area;
Transmission for GOOSE, MMS data, poll scanning buffer compare priority and filter out data to be sent, when passing through Between scale register judge whether to can be inserted current SV and send gap, when can be inserted, transfer data to transmission buffering Area;
The data sent in buffer area are sent to object module.
2. a kind of unification of three nets data transmission method for uplink based on real-time priority dynamic adjustment according to claim 1, It is characterized in that, the operation of SV Framed Data write-in buffer area is as follows:
According to the SV sending cycle of configuration, FPGA respectively generates sampling pulse by synchronous or punctual pulse per second (PPS);
According to the configuration template of SV in sampling pulse instance sample framing, the buffer area SV is write data into, juxtaposition bit buffering area has Valid flag, while transmitting SV length parameter information.
3. a kind of unification of three nets data transmission method for uplink based on real-time priority dynamic adjustment according to claim 1, It is characterized in that, when the resident timer reaches overflow value, promotes the priority of GOOSE or MMS data.
4. a kind of unification of three nets data transmission method for uplink based on real-time priority dynamic adjustment according to claim 1, It is characterized in that, the transmission concrete operations of the SV data are as follows:
Start SV and send intervalometer, when SV, which sends intervalometer, to be overflowed, it is effective to set SV transmission window mark;
After SV transmission window is effectively detected, waits next frame SV data simultaneously to remove SV and send window effective marker, when next When frame SV data arrive, resets SV and send intervalometer and start reclocking.
5. a kind of unification of three nets data transmission method for uplink based on real-time priority dynamic adjustment according to claim 4, It is characterized in that, the overflow value that the SV sends intervalometer is customized setting.
6. a kind of unification of three nets data transmission method for uplink based on real-time priority dynamic adjustment according to claim 1, It is characterized in that, it is as follows that the comparison priority filters out data concrete operations to be sent:
The data buffer zone poll GOOSE and the data buffer zone MMS are latched when the buffer area in need for sending data is arrived in scanning The priority of the buffer area, length, hangs up mark, buffering area code parameter to temporary register at residence time;
Temporary register is compared with the priority of priority register, when the priority stored in temporary register is higher than excellent When first grade register, each data in temporary register are updated to priority register, residence time latch register, length Register and buffering area code register;
When the priority stored in temporary register is equal with the value in priority register, then residence time is compared, if facing When register in the dwell time values that store it is big, then update priority register, residence time latch register, length register And buffering area code register, otherwise it does not update;
When the priority stored in temporary register is less than priority register, the registers such as priority are not updated.
7. a kind of unification of three nets data transmission method for uplink based on real-time priority dynamic adjustment according to claim 1, It is characterized in that, it is described to judge whether that current SV, which can be inserted, sends gap concrete operations by time ruler register are as follows:
According to the length computation of data to be sent, it sends holding time, by this time and data value phase in time ruler register Judge whether numerical value enters SV sending time window after adding, if into transmission condition is unsatisfactory for;If not entering SV hair Time window is sent, the corresponding data transmission of area code will be buffered to buffer area is sent, the result that will add up, which is updated to time ruler, to be deposited Device.
8. a kind of unification of three nets data transmission method for uplink based on real-time priority dynamic adjustment according to claim 1, It is characterized in that, the method also includes the transmission of data preemptive type, concrete operations are as follows:
After poll selectes a certain GOOSE data or MMS data according to current priority, need data from corresponding buffer area It is transferred to and sends buffer area, during this period if having monitored that priority data more higher than current selected data arrives, in Disconnected current data is sent, and restores to send parameter, poll scans high-priority data again;
When the displacement of the GOOSE data of same control block, corresponding heartbeat frame is not sent or is currently written into transmission buffer area, then The GOOSE heartbeat data that current displacement data can seize same control block is sent.
CN201910826626.0A 2019-09-03 2019-09-03 Three-in-one network data sending method based on real-time priority dynamic adjustment Active CN110519016B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910826626.0A CN110519016B (en) 2019-09-03 2019-09-03 Three-in-one network data sending method based on real-time priority dynamic adjustment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910826626.0A CN110519016B (en) 2019-09-03 2019-09-03 Three-in-one network data sending method based on real-time priority dynamic adjustment

Publications (2)

Publication Number Publication Date
CN110519016A true CN110519016A (en) 2019-11-29
CN110519016B CN110519016B (en) 2021-12-17

Family

ID=68629383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910826626.0A Active CN110519016B (en) 2019-09-03 2019-09-03 Three-in-one network data sending method based on real-time priority dynamic adjustment

Country Status (1)

Country Link
CN (1) CN110519016B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112068945A (en) * 2020-09-16 2020-12-11 厦门势拓御能科技有限公司 Priority reversal method in optimized embedded system
CN112242053A (en) * 2020-10-16 2021-01-19 中国飞机强度研究所 Multi-type test data optimized transmission system and method
CN117155796A (en) * 2023-10-25 2023-12-01 苏州元脑智能科技有限公司 Network address scanning method, device, equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640825A (en) * 2009-08-19 2010-02-03 刘文祥 Integration of three networks
WO2011098873A2 (en) * 2010-01-05 2011-08-18 Abb Technology Ltd A method and system for power management in substations
CN102185387A (en) * 2011-06-03 2011-09-14 云南电网公司普洱供电局 Triple play method of process layer in intelligent substation
CN104184679A (en) * 2013-05-23 2014-12-03 广州思唯奇计算机科技有限公司 Method of scheduling message in intelligent substation and device
CN106341296A (en) * 2016-09-14 2017-01-18 国家电网公司 Method of avoiding data message collision in communication network within transformer substation
CN108712349A (en) * 2018-04-27 2018-10-26 许继集团有限公司 Site protection unification of three nets is total to port transmitting method and site protection system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640825A (en) * 2009-08-19 2010-02-03 刘文祥 Integration of three networks
WO2011098873A2 (en) * 2010-01-05 2011-08-18 Abb Technology Ltd A method and system for power management in substations
US20130035800A1 (en) * 2010-01-05 2013-02-07 Abb Technology Ltd Method and system for power management in substations
CN102185387A (en) * 2011-06-03 2011-09-14 云南电网公司普洱供电局 Triple play method of process layer in intelligent substation
CN104184679A (en) * 2013-05-23 2014-12-03 广州思唯奇计算机科技有限公司 Method of scheduling message in intelligent substation and device
CN106341296A (en) * 2016-09-14 2017-01-18 国家电网公司 Method of avoiding data message collision in communication network within transformer substation
CN108712349A (en) * 2018-04-27 2018-10-26 许继集团有限公司 Site protection unification of three nets is total to port transmitting method and site protection system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
GAOLEI LI等: ""SDN based dynamic and autonomous bandwidth allocation as ACSI services of IEC61850 communications in smart grid"", 《2016 THE 4TH IEEE INTERNATIONAL CONFERENCE ON SMART ENERGY GRID ENGINEERING》 *
周华良等: ""面向智能变电站二次设备的网络报文管控技术"", 《电力系统自动化》 *
张辉: ""单片机中断多优先级的软件扩展方法"", 《国外电子元器件》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112068945A (en) * 2020-09-16 2020-12-11 厦门势拓御能科技有限公司 Priority reversal method in optimized embedded system
CN112068945B (en) * 2020-09-16 2024-05-31 厦门势拓御能科技有限公司 Priority reversing method in optimized embedded system
CN112242053A (en) * 2020-10-16 2021-01-19 中国飞机强度研究所 Multi-type test data optimized transmission system and method
CN117155796A (en) * 2023-10-25 2023-12-01 苏州元脑智能科技有限公司 Network address scanning method, device, equipment and readable storage medium
CN117155796B (en) * 2023-10-25 2024-02-13 苏州元脑智能科技有限公司 Network address scanning method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN110519016B (en) 2021-12-17

Similar Documents

Publication Publication Date Title
CN110519016A (en) A kind of unification of three nets data transmission method for uplink based on real-time priority dynamic adjustment
CN103095607B (en) A kind of real-time priority ethernet controller implementation method
CN110545152B (en) Upper computer with real-time transmission function in Ethernet and Ethernet system
CN112511376B (en) Method and terminal for measuring TSN network forwarding time characteristic
JP5157577B2 (en) Packet buffer management device for determining arrival packet discard and its discard determination method
CN202841192U (en) High-speed reliable one-way transmission system supporting wide area network
WO2023273385A1 (en) 5g and tsn joint scheduling method based on wireless channel information
EP1502397B1 (en) Flexible scheduling architecture for queues in a packet switched network
US20230179534A1 (en) Data packet scheduling method and related apparatus
Nikishin et al. Schedule time-triggered ethernet
Zhou et al. Analysis and implementation of packet preemption for time sensitive networks
CN110784415A (en) ECN quick response method and device
CN112769514A (en) Time-sensitive based communication device
CN101753584A (en) Method for improving rapid message processing speed of intelligent transformer substation under VxWorks system
CN107070815B (en) Synchronous message queuing delay control method and device in SDN network
CN109922537B (en) Wireless module and implementation method thereof
CN114124279A (en) Time-triggered Ethernet TT service time deterministic transmission design method
CN112615789A (en) Out-of-band flow control method and device
Loeser et al. Using switched Ethernet for hard real-time communication
CN106209691B (en) A kind of network port mirror method having independent mac source address
CN216599651U (en) Ethernet card supporting TSN characteristic
JP4930275B2 (en) Communication system, communication method, transmitter, receiver, rate calculation method, and program
Danzig et al. An evaluation of TCP Vegas by live emulation
Carvajal et al. Atacama: An open FPGA-based platform for mixed-criticality communication in multi-segmented Ethernet networks
CN115065646A (en) Message timing sending method and device based on software and hardware cooperation

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