Summary of the invention
Technical problem to be solved by this invention provides a kind of information transferring method, reduces redundant data, practices thrift communication channel resources, improves efficiency of transmission.
For solving the problems of the technologies described above; The present invention proposes a kind of information transferring method, be applied in communication channel, repeat the communication system of the information that transmits, the information that repeats to transmit is optimized processing at the arrival end of communication channel; Transmit through communication channel again; Said optimization process comprises the filtering redundant information, and said communication system is the grid automation communication system, and then said optimization process comprises:
A) judge according to the information number of words of control word in the information frame whether information frame complete, be then store into this information frame type corresponding memory space in, get into next step, otherwise the said information frame of filtering;
B) judge frame data headed by said information frame whether, if then said information frame is saved in memory space, and send said information frame, otherwise get into next step;
C) judge whether said information frame is invalid or overflow data, if the said information frame of filtering then, otherwise get into next step;
D) judge that whether said information frame is self-defined frame or does not contain the information word frame, if the said information frame of transparent transmission then, otherwise get into next step;
E) judge whether contain interleave information in the information frame,, otherwise get into next step if the then said information frame of transparent transmission is arranged;
F) according to the transmitting switch parameter state that is provided with in advance this information frame is carried out handled.
Further, said method also can have following characteristics, in the said step f), if the transmitting switch parameter state is a transparent transmission, then said information frame is carried out transparent transmission.
Further, said method also can have following characteristics, in the said step f), if the transmitting switch parameter state is for closing, and the said information frame of filtering then.
Further, said method also can have following characteristics, in the said step f); If the transmitting switch parameter state is control; Then receive next similar information frame, with this information frame contrast, according to comparing result and different information frame classifications; Branch's state is handled under being in corresponding when opening according to this state of a control respectively, and the affiliated branch state of this state of a control comprises following three kinds:
" control-threshold value ": if the content of new, old two information frames is identical; The content difference and the information change amount of perhaps new, old two information frames are less than or equal to setting threshold, then at memory space deletion old information frame, preserve the fresh information frame; Promptly replace the old information frame, do not send with the fresh information frame; If the content difference of new, old two information frames and information change amount are then sent the fresh information frame once immediately greater than setting threshold, at memory space deletion old information frame, preserve the fresh information frame simultaneously;
" control-transmission ": if the content of new, old two information frames is identical, then, preserve the fresh information frame, do not send at memory space deletion old information frame; If the content of two information frames is different, then send the fresh information frame immediately once, at memory space deletion old information frame, preserve the fresh information frame simultaneously;
" control-time-delay ": if the content of new, old two information frames is identical, then, preserve the fresh information frame, do not send at memory space deletion old information frame; If the content of two information frames is different, then send the fresh information frame at interval once by the delayer setting-up time, at memory space deletion old information frame, preserve the fresh information frame simultaneously.
Information transferring method of the present invention can reduce redundant data effectively, practices thrift communication channel resources, improves efficiency of transmission.
Embodiment
Main design of the present invention is, at the arrival end of communication channel the information that repeats to transmit is optimized processing, transmits through communication channel again, and wherein optimization process comprises the filtering redundant information.The present invention is applicable to that all repeat the communication system of the information that transmits in communication channel, like the communication system of grid automation system, weather monitoring system, production of energy and conveying system, water project operation system, hydrologic monitoring system etc.
Through accompanying drawing and embodiment technical scheme of the present invention is done further to introduce in detail below.
Present embodiment is an example with the grid automation communication system, and information transferring method of the present invention is described.In the grid automation system, the main information that transmits between terminal unit and the higher level's dispatcher is as shown in table 1.
The main information that transmits between terminal and the higher level's dispatcher in the table 1 grid automation system
Main information category |
The information content |
Transmission direction |
Remote measurement |
Voltage, electric current, electrical power etc. |
Each terminal → higher level's scheduling |
Remote signalling |
Device motion, switch changed position etc. |
Each terminal → higher level's scheduling |
Electric flux |
Meritorious, reactive energy |
Each terminal → higher level's scheduling |
Remote control |
The order of each item ACTIVE CONTROL |
Higher level scheduling → each terminal |
Remote regulating |
Equipment is dynamically adjusted order |
Higher level scheduling → each terminal |
Remote viewing |
The live video monitor message |
Transmitted in both directions |
It is thus clear that remote measurement, remote signalling, electric energy data stream are upstream data.Wherein telemetry intelligence (TELINT) generally is divided into three of important remote measurement, less important remote measurement and general remote measurements by its significance level.In up remote measurement, remote signalling, electric energy data stream: telemetry intelligence (TELINT) accounts for 80% of total amount, and central " less important remote measurement " and " generally remote measurement " information can account for wherein 60%; Electric energy data accounts for 15% of gross information content; The remote signalling amount then only accounts for about 5% of gross information content.Press CDT stipulations regulation, above-mentioned information sends in cycles in communication channel.Thus it is clear that, have a large amount of redundant datas in the communication channel.Up remote measurement, remote signalling, electric energy data transmit in communication channel with the form of following information frame: important telemetry intelligence (TELINT) frame, less important telemetry intelligence (TELINT) frame, general telemetry intelligence (TELINT) frame, important telemetry intelligence (TELINT) frame, less important telemetry intelligence (TELINT) frame, general telemetry intelligence (TELINT) frame, remote signalling Status Information Frame, displacement remote signalling information frame, the electrical energy pulse numerical information frame of always adding of always adding of always adding.Except that above-mentioned 9 kinds of information frames, the upstream data in the grid automation communication system also has SOE (Sequence OfEvent, sequence of events recording) information frame and other information frames.
As shown in Figure 1, the information transferring method flow chart in the grid automation communication system comprises:
Step 101 receives information frame;
Step 102 judges according to the information number of words in the information frame control word whether information frame is complete, if imperfect, then this information frame of filtering is not preserved, and does not send this information frame yet, if complete then carry out next step;
Step 103, with the complete information frame according to the information frame type stores to this information frame type corresponding memory space in, and get into and this information frame type corresponding processing process;
Here, the information frame type refers to above-mentioned important telemetry intelligence (TELINT) frame, less important telemetry intelligence (TELINT) frame, general telemetry intelligence (TELINT) frame, important telemetry intelligence (TELINT) frame, less important telemetry intelligence (TELINT) frame, general telemetry intelligence (TELINT) frame, remote signalling Status Information Frame, displacement Status Information Frame, electrical energy pulse numerical information frame, SOE information frame and other information frames of always adding of always adding of always adding.The corresponding treatment progress of every type information frame.The pairing treatment progress of various types of information frames is identical substantially, and following steps 103-107 is the total step of treatment progress of various types of information frame, and step 108 is different distinct because of the information frame type.
Step 104 is judged frame data headed by this information frame whether, if then send this information frame, otherwise carries out next step;
This step guarantees that complete first frame data can preferentially send.
Step 105 judges that whether this information frame is invalid or overflow data, if then this information frame of filtering is not preserved, does not send this information frame yet, otherwise carries out next step;
Invalid or overflow data can be according to the b in the information frame control word
15, b
14The position is judged.
Step 106 judges whether information frame is self-defined frame or does not contain the information word frame, if transparent transmission information frame then, otherwise carry out next step;
Self-defined frame or do not contain the information word frame and can judge according to the information of the E position in the information frame control word, L position.
Step 107 judges whether contain interleave information in the information frame, if then this information frame of transparent transmission is arranged, do not influenced by the transmitting switch parameter state this moment, otherwise carry out next step;
The judgement of interleave is foundation with the function code, and the function code of interleave is E1 or E5.
Step 108 is carried out handled according to the transmitting switch parameter state that is provided with in advance to this information frame.
The transmitting switch parameter state of information frame can be confirmed according to the information frame type and the transmitting switch parameter state corresponding relation that are provided with in advance.
(1) if the transmitting switch parameter state is " transparent transmission ", this information frame of transparent transmission immediately then;
(2) if the transmitting switch parameter state is " closing ", then this information frame of filtering does not send;
(3) if the transmitting switch parameter state is " control ", then receive next similar information frame,, handle according to comparing result then with this information frame contrast.
Branch's state under " control " state further is divided into following three kinds:
" control-threshold value ": Fig. 2 has provided the flow chart of " control-threshold value " branch state; Visible by Fig. 2, if the content of new, old two information frames is identical, the content difference and the information change amount of perhaps new, old two information frames are less than or equal to setting threshold; Then at memory space deletion old information frame; Preserve the fresh information frame, promptly replace the old information frame, do not send with the fresh information frame; If the content difference of new, old two information frames and information change amount are then sent the fresh information frame once immediately greater than setting threshold, at memory space deletion old information frame, preserve the fresh information frame simultaneously;
" control-transmission ": Fig. 3 has provided the flow chart of " control-transmission " branch state, and is visible by Fig. 3, if the content of new, old two information frames is identical, then at memory space deletion old information frame, preserves the fresh information frame, do not send; If the content of two information frames is different, then send the fresh information frame immediately once, at memory space deletion old information frame, preserve the fresh information frame simultaneously;
" control-time-delay ": Fig. 4 has provided the flow chart of " control-time-delay " branch state, and is visible by Fig. 4, if the content of new, old two information frames is identical, then at memory space deletion old information frame, preserves the fresh information frame, do not send; If the content of two information frames is different, then send the fresh information frame at interval once by the delayer setting-up time, at memory space deletion old information frame, preserve the fresh information frame simultaneously.
Above-mentioned three control branch state porch are equipped with soft switch, and when switch was made as " leading to ", the control of Frame information follow procedure was sent; When switch was made as " breaking ", information was not sent, but memory space deletion old information frame is preserved fresh information frame work follow procedure and proceeded.
In practical application; Important telemetry intelligence (TELINT) frame is set usually, the important transmitting switch parameter state that always adds telemetry intelligence (TELINT) frame, displacement remote signalling information frame, SOE information frame is " transparent transmission "; Because the priority of these information is high, can guarantee that the electrical network significant data in time uploads to Dispatch and Command Center; Less important telemetry intelligence (TELINT) frame is set usually, the less important transmitting switch parameter state that always adds the telemetry intelligence (TELINT) frame is " control-thresholding "; The transmitting switch parameter state that general telemetry intelligence (TELINT) frame, electrical energy pulse numerical information frame are set usually is " control-time-delay ", and the transmitting switch parameter state that the remote signalling Status Information Frame is set usually is " control-transmission ".
For other information in the grid automation communication system, then adopt the form of direct transparent transmission to transmit, other transmission of Information switch parameter states are set are " transparent transmission ".
By on can find out that the principle of information transferring method of the present invention is: guarantee higher level's dispatching of power netwoks, do not destroy the information frame structure, important information priority is uploaded, secondary information packet is waited in line, the no change information filtering; Then handle by following for electric flux and less important general information: two cycles of gathering, interior identical data group information frame content contrasted one by one, and the constant person of data removes former preservation data, deposits the fresh information frame in, does not upload; And find to have micro-change information frame through contrast, and by the significance level of its delta data and the needs of higher level's scheduling, the transmission of delaying time.Through on-the-spot test, after processing like this, the actual data traffic of uploading in the passage has reduced nearly 30%-60% than in the past.
In communication channel, repeat the communication system of the information that transmits for other; Like weather monitoring system, production of energy and conveying system, water project operation system, hydrologic monitoring system etc.; The information transmission process of information transmission process and grid automation communication system is similar, repeats no more at this.
Through above-mentioned processing; Have only complete information frame just to be sent out away; Promptly be admitted in the communication channel and transmit; And each information frame only transmits once, thereby avoided a large amount of imperfect information frames in communication channel, to send circularly and waste communication channel resources, reduces efficiency of transmission.
Therefore information transferring method of the present invention can reduce redundant data effectively, practices thrift communication channel resources, improves efficiency of transmission.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.