CN101944986A - Double network hot standby method - Google Patents

Double network hot standby method Download PDF

Info

Publication number
CN101944986A
CN101944986A CN 200910032146 CN200910032146A CN101944986A CN 101944986 A CN101944986 A CN 101944986A CN 200910032146 CN200910032146 CN 200910032146 CN 200910032146 A CN200910032146 A CN 200910032146A CN 101944986 A CN101944986 A CN 101944986A
Authority
CN
China
Prior art keywords
data
network
data number
network interface
sent
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.)
Pending
Application number
CN 200910032146
Other languages
Chinese (zh)
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.)
NR Electric Co Ltd
NR Engineering Co Ltd
Original Assignee
NR Electric Co Ltd
NR Engineering 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 NR Electric Co Ltd, NR Engineering Co Ltd filed Critical NR Electric Co Ltd
Priority to CN 200910032146 priority Critical patent/CN101944986A/en
Publication of CN101944986A publication Critical patent/CN101944986A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a double network hot standby method. The party to which data are to sent, namely a data receiver, of a data sender adopts two network connection channels which both are in work state, data to be sent of the data sender is queued to be sent, a data sending module of the data sender takes out the data in sequence and sends the data to the two network connection channels; the data receiver receives the data simultaneously through the two network connection channels; and data transmission is not influenced when data receiving of any one of the two network connection channels is interrupted alone, and the data transmission is interrupted only after both the two network connection channels are interrupted. The method provided by the invention is simple and feasible and effectively and reliably solves the problems of data loss and repetition in double network data transmission treatment process, so that the time interval-less double network switching is realized, and the double network can be called interval-less switching double network.

Description

A kind of pair of net stand-by heat method
Technical field
The present invention relates to the method for the two net stand-by heats of a kind of transfer of data, refer in particular to two two sending out of receiving, the identical numbering of identical data, and, mainly use transfer of data in the automation of transformation substations with the method for the validity of the mode judgment data of numbering.
Background technology
Comprehensive automation system of transformer substation is very high to the reliability requirement of transfer of data, and therefore how solving reliability of data transmission is very important problem in the communication process.Solve the data transmission credibility problem at present and mainly adopt two standby each other modes of net.How the data of two nets are handled, and how to guarantee that in network switching process data do not lose, do not repeat and be key problem in two net schemes.What at present existing two net schemes adopted all is that single net sends, carry out the mode ([1] that network switches after makeing mistakes, [2], [3]), this scheme just switches to the another one network behind a network error, wherein need the time about 10s at least switching time, in the time, may lose a large amount of bursty datas and real time data at the 10s that switches.If the network after it switches resends all data of not transmitting, will cause the recipient to need to handle lot of data at short notice, and can't judgment data whether repeat, therefore will cause a large amount of repeating datas to present to the terminal use.
The technical background list of references:
[1] Cao Junmin, Meng Xiangqun, Tang Houjun. the double-bus redundancy network of single-CAN controller is realized. microprocessor, in August, 2007, the 4th phase: 29~31.
[2] Luo Chao, Xue Fuzhen, Pang Guozhong. Redundant Dual-network DCS Communication Systems must design and realize. small-sized microcomputer system, 2004,25 (4): 579~581.
[3] Liu Lijun, Yang Gengjie, Guo Moufa. the design of Dual-Ethernet redundancy communication information and application .2005,18 (7): 15~16.
Summary of the invention
The objective of the invention is: provide a kind of pair of network data defeated method, adopt two two sending out of receiving, need not network switches, be that identical data adopts two nets to send simultaneously and numbers identical, the recipient adopts two nets to receive simultaneously, according to the validity of numbering judgment data, efficiently solve the problem that occurs loss of data and repetition in two net handoff procedures.
The technical solution used in the present invention is: the method for a kind of pair of net stand-by heat, it is characterized in that: during the network operate as normal, the data side that is sent out of data receiver adopts two network interface channels, article two, the network interface channel all is an operating state, data receiver to be sent out data queue etc. to be sent, the data receiver data transmission blocks is taken out data in order, sends data simultaneously to two network interface channels then; The data receiver receives data simultaneously by two network interface channels; Article two, any interface channel disconnects separately and accepts data and all can not influence transfer of data in the network interface channel, has only after two network interface channels all disconnect, and transfer of data just can be interrupted.It can be wired or wireless interface channel that described two networks connect.
Article two, the reception that connects of network and the identical data number of The data of transmission, carry out data number and numbering abnormality processing according to following rule:
(1) data number initialization: adopt identical primary data numbering (adopting 0) after receiving-transmitting sides connects as acquiescence, paired being connected is provided with data number when first connection is set up, article two, any one network interface channel disconnects separately the not influence of this data number in the network interface channel, single net still uses original data number after disconnecting and reconnecting, only after the connection of two network interface channels all disconnected, data number just is provided with restarted;
(2) send data number: transmit leg is when sending data, and after data were numbered, the passage that connects to two networks sent data (promptly two) simultaneously, then the data number order is added 1;
(3) Data Receiving is handled: the recipient receives the data of sending (promptly two the receipts) that two networks connect simultaneously, the recipient is after receiving data, whether the numbering of judging the data number of receiving and recipient oneself is consistent, if unanimity is then used data or is sent to upper level, data number with oneself adds 1 in proper order simultaneously, inconsistently then these data is abandoned;
(4) data number abnormality processing: recipient's data number long-time (can be arranged to any numerical value between 1 second to 10 seconds) can not get upgrading, and then disconnects two networks and connects, and rebulids to connect and the initialization numbering.
(5) when the data number that receives and send both sides was overflowed, both sides' data number returned 0 automatically.
The inventive method can be used for LonWork, any network that symmetrical modes such as Profibus, Can, Ethernet are communicated by letter.
It can be wired or wireless interface channel that two networks described in of the present invention connect; Two the sending out of the two receipts of data handled and can be realized by a CPU or two parallel CPU.
Beneficial effect of the present invention: two net stand-by heat methods that the present invention proposes are simple, effectively and solved the loss of data in the defeated processing procedure of two network datas and the problem of repetition reliably, thereby realized that two nets switch nothing any time at interval, can be described as two nets of seamless switching.
Description of drawings
For the invention will be further described, provide accompanying drawing:
Fig. 1 is the embodiment exemplary plot of transfer of data of the present invention and processing.
Embodiment
During the network operate as normal, it all is operating state that two networks connect, data receiver to be sent out data queue etc. to be sent, data transmission blocks is taken out data in order, sends data simultaneously to two nets then; The data receiver receives data simultaneously by two nets; Data are accepted in the independent disconnection that any one network connects in two nets can not influence transfer of data, has only after two net connections all disconnect, and transfer of data just can be interrupted.
Wherein, two connections of two nets are carried out data number and numbering abnormality processing to receiving and the identical numbering of The data that sends according to following rule:
(1) numbering initialization: adopt identical initial numbering (adopting 0) after receiving-transmitting sides connects as acquiescence, paired being connected is provided with data number when first connection is set up, the independent disconnection that any one network connects in two nets is to the not influence of this data number, single net still uses original data number after disconnecting and reconnecting, only after the connection of two nets all disconnected, data number was just restarted;
(2) send data number: transmit leg after data are numbered, sends data (promptly two) to the connection of two networks simultaneously when sending data, then number order is added 1;
(3) Data Receiving is handled: the recipient is receiving double-network data (promptly two the receipts) simultaneously, the recipient is after receiving data, judge whether data number and the numbering of oneself received be consistent, if unanimity is then used data and is sent to upper level, data number with oneself adds 1 in proper order simultaneously, inconsistently then these data is abandoned;
(4) data number abnormality processing: recipient's data number long-time (can be arranged to any numerical value between 1 second to 10 seconds) can not get upgrading, and then disconnects two networks and connects, and rebulids to connect and the initialization numbering.
(5) when the data number of receiving-transmitting sides was overflowed, both sides' numbering returned 0 automatically.
This method can be used for LonWork, any network that symmetrical modes such as Profibus, Can, Ethernet are communicated by letter.Be the talk various network protocols that can be applicable to of the present invention, as be used for LonWork, any network that symmetrical modes such as Profibus, Can, Ethernet are communicated by letter.It can be wired or wireless interface channel that two networks described in of the present invention connect; Two the sending out of the two receipts of data handled and can be realized by a CPU or two parallel CPU.
As shown in Figure 1, any moment that sends in data disconnected wherein any one network when two nets transmitted data, and its data can not lost, and the network of disconnection recovered normally also not influence the reception of data in any moment.This method can be used for LonWork, any network that symmetrical modes such as Profibus, Can, Ethernet are communicated by letter.
Provide one below and accept and send the numbering object lesson:
Data number is from the 0-65535 cycle count, and its legitimacy differentiation that receives the message data numbering is:
X is for newly receiving the data number of message; Y is the original data number that keeps:
X>Y is not if (X-Y)>10000 invalid this message of X numbering is handled; If (X-Y)<=10000 effectively this message processing of an X numbering refreshes the Y numbering simultaneously.
X<=Y is not if (Y-X)<45535 invalid this message of X numbering is handled; If (Y-X)>=45535 effectively this message processing of an X numbering refreshes the Y numbering simultaneously.

Claims (5)

1. the method for two net stand-by heats, it is characterized in that: during the network operate as normal, the data side that is sent out of data receiver is that the data receiver adopts two network interface channels, article two, the network interface channel all is an operating state, data receiver to be sent out data queue etc. to be sent, the data receiver data transmission blocks is taken out data in order, sends data simultaneously to two network interface channels then; The data receiver receives data simultaneously by two network interface channels; Article two, any interface channel disconnects separately and accepts data and all can not influence transfer of data in the network interface channel, has only after two network interface channels all disconnect, and transfer of data just can be interrupted.
2. the method for a kind of pair of net stand-by heat as claimed in claim 1 is characterized in that: the reception of two network connections and the identical data number of The data of transmission, carry out data number and numbering abnormality processing according to following rule:
(1) data number initialization: adopt identical primary data numbering (adopting 0) after receiving-transmitting sides connects as acquiescence, paired being connected is provided with data number when first connection is set up, article two, any one network interface channel disconnects separately the not influence of this data number in the network interface channel, single net still uses original data number after disconnecting and reconnecting, only after the connection of two network interface channels all disconnected, data number just is provided with restarted;
(2) send data number: transmit leg is when sending data, and after data were numbered, the passage that connects to two networks sent data (promptly two) simultaneously, then the data number order is added 1;
(3) Data Receiving is handled: the recipient receives the data of sending (promptly two the receipts) that two networks connect simultaneously, the recipient is after receiving data, whether the numbering of judging the data number of receiving and recipient oneself is consistent, if unanimity is then used data or is sent to upper level, data number with oneself adds 1 in proper order simultaneously, inconsistently then these data is abandoned;
(4) data number abnormality processing: recipient's data number long-time (can be arranged to any numerical value between 1 second to 10 seconds) can not get upgrading, and then disconnects two networks and connects, and rebulids to connect and the initialization numbering;
(5) when the data number that receives and send both sides was overflowed, both sides' data number returned 0 automatically.
3. the method for a kind of pair of net stand-by heat as claimed in claim 1 is characterized in that: be used for LonWork, any network that symmetrical modes such as Profibus, Can, Ethernet are communicated by letter.
4. the method for a kind of pair of net stand-by heat as claimed in claim 1 is characterized in that: it can be wired or wireless interface channel that two networks connect.
5. the method for a kind of pair of net stand-by heat as claimed in claim 1 is characterized in that: a CPU or parallel two processing of two two receipts of CPU realization data.
CN 200910032146 2009-07-09 2009-07-09 Double network hot standby method Pending CN101944986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910032146 CN101944986A (en) 2009-07-09 2009-07-09 Double network hot standby method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910032146 CN101944986A (en) 2009-07-09 2009-07-09 Double network hot standby method

Publications (1)

Publication Number Publication Date
CN101944986A true CN101944986A (en) 2011-01-12

Family

ID=43436773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910032146 Pending CN101944986A (en) 2009-07-09 2009-07-09 Double network hot standby method

Country Status (1)

Country Link
CN (1) CN101944986A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601611A (en) * 2013-10-30 2015-05-06 北京临近空间飞行器系统工程研究所 Browse issue system and method based on data real-time filtering
CN103780413B (en) * 2012-10-22 2017-05-17 北京临近空间飞行器系统工程研究所 Seamless-redundancy-switching data transmission system and realization method thereof
CN107168265A (en) * 2017-06-23 2017-09-15 国网新疆电力公司 Fixed value adjusting system and the automatic identification docking calculation for protecting letter system
CN109949561A (en) * 2019-03-29 2019-06-28 中海石油气电集团有限责任公司 A kind of LNG tank case data transmission method based on Beidou technology
CN110808878A (en) * 2019-10-31 2020-02-18 卡斯柯信号有限公司 Automatic updating test method based on redundant network topology
CN112666914A (en) * 2021-03-17 2021-04-16 浙江国利信安科技有限公司 Non-inductive switching redundant communication implementation method based on EPA bus
CN112947151A (en) * 2021-01-28 2021-06-11 中国人民解放军93114部队 Efficient filtering method and device based on vehicle double CAN buses

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103780413B (en) * 2012-10-22 2017-05-17 北京临近空间飞行器系统工程研究所 Seamless-redundancy-switching data transmission system and realization method thereof
CN104601611A (en) * 2013-10-30 2015-05-06 北京临近空间飞行器系统工程研究所 Browse issue system and method based on data real-time filtering
CN104601611B (en) * 2013-10-30 2017-11-28 北京临近空间飞行器系统工程研究所 It is a kind of that dissemination method is browsed based on data real time filtering
CN107168265A (en) * 2017-06-23 2017-09-15 国网新疆电力公司 Fixed value adjusting system and the automatic identification docking calculation for protecting letter system
CN109949561A (en) * 2019-03-29 2019-06-28 中海石油气电集团有限责任公司 A kind of LNG tank case data transmission method based on Beidou technology
CN110808878A (en) * 2019-10-31 2020-02-18 卡斯柯信号有限公司 Automatic updating test method based on redundant network topology
CN110808878B (en) * 2019-10-31 2022-08-16 卡斯柯信号有限公司 Automatic updating test method based on redundant network topology
CN112947151A (en) * 2021-01-28 2021-06-11 中国人民解放军93114部队 Efficient filtering method and device based on vehicle double CAN buses
CN112947151B (en) * 2021-01-28 2023-05-12 中国人民解放军93114部队 Efficient filtering method and device based on double CAN buses of vehicle
CN112666914A (en) * 2021-03-17 2021-04-16 浙江国利信安科技有限公司 Non-inductive switching redundant communication implementation method based on EPA bus

Similar Documents

Publication Publication Date Title
CN101944986A (en) Double network hot standby method
CN100469036C (en) An implementation method for industrial Ethernet fast-speed redundancy
CN105072021B (en) A kind of message forwarding method of dispatch automated system cross-network segment
CN101741674A (en) Method for realizing redundant ring and network recovery in Ethernet
CN102611598B (en) Bus redundancy system of controller local area network and method and device for switching redundancy
CN102325084B (en) Method and system for realizing data exchange in IEC104 (international electrotechnical commission 104) communication protocol forwarding
CN102594643B (en) A kind of Controller Area Network BUS communicating control method, Apparatus and system
CN105429814B (en) Method and equipment for protecting BFD (bidirectional forwarding detection) by using multiple board cards
CN104283658A (en) Method for realizing dual-network redundancy of protection device on the basis of PRP parallel redundancy
CN102143458A (en) Multi-protocol converter based on GSM (Global System for Mobile Communications) short message transmission in wireless communication network
CN102193543A (en) Control system based on profibus redundant network topological structure and switching method of control system
CN107248933A (en) A kind of method of the double main protection of rail traffic signal system
CN103067238A (en) Data collection method compatible with MODBUS bus
CN107992027A (en) A kind of DCS redundant communication modules switching method
CN202617154U (en) Train communication system
CN105183687A (en) Time-sharing serial communication method and system
CN206470580U (en) safety programmable logic controller communication system
CN101193409B (en) System and method for locating interruption failure type of base station in cascaded base station
CN112286041B (en) Switching method and switching control system for electrical equipment redundancy monitoring device
CN103067205B (en) Under same Host Administration, share the RT and backup RT changing method of same address
CN101686199B (en) Method, device and system for processing control message in Ethernet protection system
CN102510353A (en) Expansion processing method under international telecommunication union telecommunication standardization sector (ITU-T) G.8032/Y.1344 multi-point fault
CN109246021A (en) A kind of Point-to-Point Data reliable transmission system and method based on FPGA
CN201467148U (en) Mixed scheduling device and mixed scheduling system
CN202856779U (en) Network equipment used for automation network, safe module and automation network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110112