CN107819678A - Concatenate business datum channel abnormal link switching device, method and system - Google Patents
Concatenate business datum channel abnormal link switching device, method and system Download PDFInfo
- Publication number
- CN107819678A CN107819678A CN201710841993.9A CN201710841993A CN107819678A CN 107819678 A CN107819678 A CN 107819678A CN 201710841993 A CN201710841993 A CN 201710841993A CN 107819678 A CN107819678 A CN 107819678A
- Authority
- CN
- China
- Prior art keywords
- business datum
- link
- passage
- testing result
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
Abstract
The invention discloses one kind to concatenate business datum channel abnormal link switching device, including business datum input, business datum and special data processing and business datum output unit(A), Condition Monitoring Unit(B), state transfer unit(C)With link switching unit(D);And a kind of concatenation business datum channel abnormal link switch-over method and system, to solve after exception occurs in network, the handover delay for carrying out data link should be larger, it is impossible to detecting data link exception and the problem of carry out tandem link protection switching in time.
Description
Technical field
It is specifically a kind of based on ATCA integrations the present invention relates to concatenation business datum channel abnormal link switching field
Concatenation business datum channel abnormal link switch-over method, device and system.
Background technology
In the operator network, it is very high for the reliability requirement of data link, after exception occurs in network, carry out Data-Link
The handover delay on road should be larger, it is impossible to detecting data link exception and carrying out tandem link protection switching in time.
The content of the invention
In view of this, the present invention provides a kind of concatenation business datum channel abnormal link switch-over method, device and system, with
After exception occurs in solution network, the handover delay for carrying out data link should be larger, it is impossible to detecting that data link is gone forward side by side extremely
The problem of row tandem link protection switching in time.
In a first aspect, the present invention provides a kind of concatenation business datum channel abnormal link switching device, including:Business datum
Input, business datum and special data processing and business datum output unit, Condition Monitoring Unit, state transfer unit and link
Switch unit;The business datum input, business datum and special data processing and business datum output unit further comprise:
Business datum input module, business datum and special data processing module and business datum output module;The status monitoring list
Member further comprises:Special data injection module and probe messages monitoring modular;The state transfer unit further comprises:Chain
Line state judge module, status indication module;The link switching unit further comprises:Abnormal state processing module and state
Normal processing module;The business datum input module is connected with the business datum and special data processing module, the industry
Data and the special data processing module of being engaged in also respectively with the business datum output module, the special data injection module and institute
State the connection of probe messages monitoring modular;The business datum input module is used to obtain business datum, and sends the business number
According to the business datum and special data processing module;The special data injection module is used to produce special data, concurrently
The special data is sent to the business datum and special data processing module;The business datum and special data processing
Module obtains the business datum and the special data, and the business datum is sent to the business datum and exports mould
Block, and the special data is converted into probe messages by way of transparent transmission, and the probe messages are sent to the spy
Observe and predict literary monitoring modular;The business datum output module is used to export the business datum;The probe messages prison
Survey module to be also connected with the Link State judge module, the probe messages monitoring modular is used to carry out the probe messages
Detection, if the probe messages are consistent with setting message, the probe messages are abandoned, and set the first testing result, if institute
State probe messages and setting message is inconsistent, then retain the probe messages, and set the second testing result;The Link State
Judge module is also connected with the status indication module, and the line state judge module is according to first testing result and described
Second testing result, judge whether the link of the business datum passage is abnormal, if first testing result, then it is assumed that institute
It is normal to state the link of business datum passage, if second testing result, then it is assumed that the link of the business datum passage is different
Often;The link that the status indication module is used to set the business datum passage normally indicates and the business datum passage
Link abnormality mark, if the link of the business datum passage is normal, the link of the business datum passage is set normally to indicate,
If the link of the business datum passage is abnormal, the link abnormality mark of the business datum passage is set;The status indication
Module is also connected with the abnormal state processing module and the normal processing module of the state respectively;The abnormal state handles mould
Block does not perform handover operation to the business datum passage of stating, and the normal processing module of state, the business datum of stating is led to
Road performs handover operation.
Preferably, a kind of concatenation business datum channel abnormal link switching device, it is characterised in that the special number
The IPV4 UDP message messages of 64 bytes are constructed according to injection module, source mac addresses are:002145000001, destination-mac address
For:002145010001, source IP address:127.0.0.1;Target ip address is 127.0.0.1;Source port:FA;Target port
FA, filling field 5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A.
Preferably, the line state judge module also includes:First testing result and the second testing result add up submodule;
First testing result and the second testing result real-time update, the first testing result and the second testing result add up submodule
Block adds up within a certain period of time to first testing result and second testing result, as long as the second detection knot
Fruit is more than or equal to 1, then the line state judge module thinks that the link of the business datum passage is abnormal;Otherwise, it is described
Line state judge module thinks that the link of the business datum passage is normal.
Preferably, the special data injection module has transmission timer, sets interval N ms to send a spy
Different data, the span of N values is 1~10ms, and the N values are by user configuration;Have in the probe messages monitoring modular and post
Storage, the register are used to store first testing result and second testing result;The Link State judges mould
Root tuber periodically checks that first testing result of the register memory storage and second detection are tied according to the N values
Fruit, the status indication module have the first flag register and the second flag register, first flag register respectively
Link for storing the business datum passage normally indicates that second flag register is used to store the business datum
The link abnormality mark of passage;There is switching register, by changing the switching register in the link switching unit
Numerical value, it can be switched between the abnormal state processing module and the normal processing module of the state.
Second aspect, the present invention provide a kind of concatenation business datum channel abnormal link switch-over method, including:Acquisition business
Data and generation special data, the business datum exports by business datum passage, if the business datum passage is normal,
Then the business datum is exported by the business datum passage, and the special data is probe messages;To the probe messages
Detected, if the probe messages are consistent with setting message, abandon the probe messages, and set the first testing result,
If the probe messages and setting message are inconsistent, retain the probe messages, and set the second testing result;According to described
First testing result and second testing result, judge whether the link of the business datum passage is abnormal, if described the
One testing result, then it is assumed that the link of the business datum passage is normal, and sets the link of the business datum passage normal
Mark, if second testing result, then it is assumed that the link of the business datum passage is abnormal, and sets the business datum
The link abnormality mark of passage;Normally indicate the link with the business datum passage according to the link of the business datum passage
Abnormality mark judges whether the link of the business datum passage switches over, if described be masked as the business datum passage
Link abnormality mark, switch the business datum passage;If the link for being masked as the business datum passage normally indicates,
Switch the business datum passage without switching.
Preferably, a kind of concatenation business datum channel abnormal link switch-over method, it is characterised in that the generation is special
The method of different data is:The IPV4 UDP message messages of 64 bytes are constructed, source mac addresses are:002145000001, target
MAC Address is:002145010001, source IP address:127.0.0.1;Target ip address is 127.0.0.1;Source port:FA;Mesh
Mark port FA, filling field 5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A.
Preferably, whether abnormal method also includes the link for judging the business datum passage:
First testing result and the second testing result real-time update, to first testing result and second inspection
Survey result within a certain period of time to be added up, as long as second testing result is more than or equal to 1, then directly think the industry
The link for data channel of being engaged in is abnormal;Otherwise it is assumed that the link of the business datum passage is normal.
Preferably, N ms are spaced and generate a special data, the spans of N values is 1~10ms, the N values by
User configuration.
The third aspect, the present invention provide a kind of concatenation business datum channel abnormal link switching system, including:
A kind of concatenation business datum channel abnormal link switching device as described above, or a kind of concatenation business datum as described above
Channel abnormal link switch-over method;
The business datum input module, business datum and special data processing module and business datum output module, special number
It is integrated according to injection module, probe messages monitoring modular, Link State judge module and status indication module in FPGA;The shape
State exception processing module and the normal processing module of the state are integrated in CPLD;
Business datum and generation special data are obtained, the business datum exports by business datum passage, if the business
Data channel is normal, then the business datum is exported by the business datum passage, and the special data is probe messages;It is right
The probe messages are detected, if the probe messages are consistent with setting message, abandon the probe messages, and set the
One testing result, if the probe messages and setting message are inconsistent, retain the probe messages, and set the second detection knot
Fruit;According to first testing result and second testing result, judge whether the link of the business datum passage is abnormal,
If first testing result, then it is assumed that the link of the business datum passage is normal, and sets the business datum passage
Link normally indicate, if second testing result, then it is assumed that the link of the business datum passage is abnormal, and sets institute
State the link abnormality mark of business datum passage;The above method is realized by the FPGA;
According to the link of the business datum passage, normally the link abnormality mark of mark and the business datum passage judges institute
Whether the link for stating business datum passage switches over, if the link abnormality mark for being masked as the business datum passage,
Switch the business datum passage;If the link for being masked as the business datum passage normally indicates, switch the business
Data channel is without switching;The above method is realized by CPLD;
The FPGA is connected with the CPLD by PCIE, and the FPGA sends the chain of the business datum passage to the CPLD
The link of road abnormality mark and the business datum passage normally indicates that the CPLD receives the link of the business datum passage
The link of abnormality mark and the business datum passage normally indicates;The PCIE is abnormal to the link of the business datum passage
The normal mark of link of mark and the business datum passage is transmitted.
The present invention at least has the advantages that:
After exception occurs in network, the handover delay for carrying out data link should be small, can be to detecting data link exception and going here and there
Link protection is connect in time to switch.
Brief description of the drawings
By below with reference to description of the accompanying drawing to the embodiment of the present invention, above-mentioned and other purpose of the invention, feature and
Advantage is apparent, in the accompanying drawings:
Fig. 1 is a kind of concatenation business datum channel abnormal link switching device connection diagram of the embodiment of the present invention;
Fig. 2 is a kind of concatenation business datum channel abnormal link switch-over method schematic flow sheet of the embodiment of the present invention;
Fig. 3 is a kind of concatenation business datum channel abnormal link switching system connection diagram of the embodiment of the present invention.
Embodiment
Below based on embodiment, present invention is described, but what deserves to be explained is, the present invention is not limited to these realities
Apply example.Below to the present invention detailed description in, it is detailed to describe some specific detail sections.However, for not detailed
The part described to the greatest extent, those skilled in the art can also understand the present invention completely.
In addition, it should be understood by one skilled in the art that the accompanying drawing provided simply to illustrate that the purpose of the present invention,
Feature and advantage, accompanying drawing are not to be actually drawn to scale.
Meanwhile unless the context clearly requires otherwise, the otherwise " comprising " in entire disclosure and claims, "comprising" etc.
Similar word should be construed to the implication included rather than exclusive or exhaustive implication;That is, it is " including but not limited to "
Implication.
Fig. 1 is a kind of concatenation business datum channel abnormal link switching device connection diagram of the embodiment of the present invention.Such as
Shown in Fig. 1, a kind of device for concatenating business datum channel abnormal link switching includes:Business datum input, business datum and spy
Different data processing and business datum output unit A, Condition Monitoring Unit B, state transfer unit C and link switching cells D.It is described
Business datum input, business datum and special data processing and the business datum output unit A and Condition Monitoring Unit B connect
Connect, the Condition Monitoring Unit B is connected with the state transfer unit C, the state transfer unit C and the link switching list
First D connections.
In Fig. 1, the business datum input, business datum and special data processing and business datum output unit A enter one
Step includes:Business datum input module 1, business datum and special data processing module 2 and business datum output module 3;It is described
Condition Monitoring Unit B further comprises:Special data injection module 4 and probe messages monitoring modular 5;The state transfer unit
C further comprises:Link State judge module 6, status indication module 7;The link switching cells D further comprises:State
Exception processing module 8 and the normal processing module 9 of state;The business datum input module 1 and the business datum and special number
Connected according to processing module 2, the business datum and special data processing module 2 also respectively with the business datum output module 3,
The special data injection module 4 and the probe messages monitoring modular 5 connect;The business datum input module 1 is used to obtain
Business datum is taken, and sends the business datum to the business datum and special data processing module 2;The special data note
Enter module 4 to be used to produce special data, and send the special data to the business datum and special data processing module 2;
The business datum and special data processing module 2 obtain the business datum and the special data, and by the industry
Business data are sent to the business datum output module 3, and the special data is converted into detection report by way of transparent transmission
Text, and the probe messages are sent to the probe messages monitoring modular 5;The business datum output module 3 is used for institute
Business datum is stated to be exported;The probe messages monitoring modular 5 is also connected with the Link State judge module 6, the spy
Observe and predict literary monitoring modular 5 to be used to detect the probe messages, if the probe messages are consistent with setting message, abandon
The probe messages, and the first testing result is set, if the probe messages and setting message are inconsistent, retain the detection
Message, and set the second testing result;The Link State judge module 6 is also connected with the status indication module 7, the road
Condition judgment module 6 judges the chain of the business datum passage according to first testing result and second testing result
Whether road is abnormal, if first testing result, then it is assumed that the link of the business datum passage is normal, if described second
Testing result, then it is assumed that the link of the business datum passage is abnormal;The status indication module 7 is used to set the business number
Normally indicate the link abnormality mark with the business datum passage according to the link of passage, if the link of the business datum passage
Normally, the link of the business datum passage is set normally to indicate, if the link of the business datum passage is abnormal, described in setting
The link abnormality mark of business datum passage;The status indication module 7 also respectively with the abnormal state processing module 8 and institute
The normal processing module 9 of state is stated to connect;The abnormal state processing module 8 does not perform switching behaviour to the business datum passage of stating
Make, the normal processing module 9 of state, handover operation is performed to the business datum passage of stating.
The mode of the special data injection module 4 is:Construct the IPV4 UDP message messages of 64 bytes, source mac addresses
For:002145000001, destination-mac address is:002145010001, source IP address:127.0.0.1;Target ip address is
127.0.0.1;Source port:FA;Target port FA, filling field 5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A.
The line state judge module 6 also includes:First testing result and the second testing result add up submodule;Described
One testing result and the second testing result real-time update, the first testing result and the second testing result add up submodule to institute
State the first testing result and second testing result is added up within a certain period of time, as long as second testing result is more than
Or equal to 1, then the line state judge module 6 thinks that the link of the business datum passage is abnormal;Otherwise, the line state
Judge module 6 thinks that the link of the business datum passage is normal.
The special data injection module 4 has transmission timer, sets interval N ms to send a special data,
The span of N values is 1~10ms, and the N values are by user configuration;There is register, institute in the probe messages monitoring modular 5
State register to be used to store first testing result and second testing result, specifically, utilize the register
Content is stored, and by the register address, inquires the register address, and row write behaviour is entered to the register address
Make, such as:The value of write-in 0 represents first testing result(PASS);Value 1 represents second testing result(FAIL), it is described to post
The default value of storage is 0;The Link State judge module 6 periodically checks that the register memory stores up according to the N values
First testing result and second testing result, specifically, settable cycle detection number T (e.g., can set T
Default value for 3), PASS Count of Status I (can reset value be 0), at each N time point, carry out a probe messages
Testing result PASS/FAIL detection, if (5 in T N time interval>T>2), monitor to be more than 1 PASS state, it is believed that
The business datum channel link state is normal;If monitor 0 PASS state, it is believed that the business datum channel link shape
State is abnormal.The business datum channel link state conclusion that Link State judge module 6 judges, it is solid that another can be write
Determine register, by accessing another register address X, write operation can be carried out to another described register, such as:0 value
Represent that the business datum channel link state is normal, 1 value represents the business datum channel link abnormal state
The status indication module 7 has the first flag register and the second flag register, the first mark deposit respectively
The link that device is used to store the business datum passage normally indicates that second flag register is used to store the business number
According to the link abnormality mark of passage;There is switching register, by changing the switching register in the link switching cells D
Numerical value, can be switched between the abnormal state processing module 8 and the normal processing module 9 of the state.Such as, switch
When the value of register is 1, into abnormal state processing module 8,1 is revised as to the value for acting register;Switch the value of register
For 0 when, into the normal processing module 9 of state, 0 is revised as to the value for acting register Z.
Fig. 2 is a kind of concatenation business datum channel abnormal link switch-over method schematic flow sheet of the embodiment of the present invention.
In Fig. 2, step 201:Obtain business datum and generation special data, the business datum are led to by business datum
Road is exported, if the business datum passage is normal, the business datum is exported by the business datum passage, described special
Data are probe messages.
The method of the generation special data is:The IPV4 UDP message messages of 64 bytes are constructed, source mac addresses are:
002145000001, destination-mac address is:002145010001, source IP address:127.0.0.1;Target ip address is
127.0.0.1;Source port:FA;Target port FA, filling field 5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A.
It is spaced N ms and generates a special data, the span of N values is 1~10ms, and the N values are matched somebody with somebody by user
Put.
In Fig. 2, step 202:The probe messages are detected, if the probe messages are consistent with setting message,
The probe messages are abandoned, and set the first testing result, if the probe messages and setting message are inconsistent, described in reservation
Probe messages, and set the second testing result.
In Fig. 2, step 203:According to first testing result and second testing result, the business datum is judged
Whether the link of passage is abnormal, if first testing result, then it is assumed that the link of the business datum passage is normal, and sets
The link for putting the business datum passage normally indicates, if second testing result, then it is assumed that the business datum passage
Link it is abnormal, and the link abnormality mark of the business datum passage is set.
The whether abnormal method of the link for judging the business datum passage, in addition to:First testing result
With the second testing result real-time update, first testing result and second testing result are entered within a certain period of time
Row is accumulative, as long as second testing result is more than or equal to 1, then directly thinks that the link of the business datum passage is different
Often;Otherwise it is assumed that the link of the business datum passage is normal
In Fig. 2, step 204:Normally indicate the link with the business datum passage according to the link of the business datum passage
Abnormality mark judges whether the link of the business datum passage switches over, if described be masked as the business datum passage
Link abnormality mark, switch the business datum passage;If the link for being masked as the business datum passage normally indicates,
Switch the business datum passage without switching.
Fig. 3 is a kind of concatenation business datum channel abnormal link switching system connection diagram of the embodiment of the present invention, such as
Shown in Fig. 3, one kind concatenation business datum channel abnormal link switching system, including:FPGA, CPLD and PCIE.
Illustrated with reference to Fig. 1, Fig. 2 and Fig. 3, one kind concatenation business datum channel abnormal link switching system includes Fig. 1
A kind of concatenation business datum channel abnormal link switching device, or a kind of concatenation business datum channel abnormal described in Fig. 2
Link switch-over method.The business datum input module 1, business datum and special data processing module 2 and business datum output
Module 3, special data injection module 4, probe messages monitoring modular 5, Link State judge module 6 and status indication module 7 collect
Into in FPGA;The abnormal state processing module 8 and the normal processing module 9 of the state are integrated in CPLD;
Business datum and generation special data are obtained, the business datum exports by business datum passage, if the business
Data channel is normal, then the business datum is exported by the business datum passage, and the special data is probe messages;It is right
The probe messages are detected, if the probe messages are consistent with setting message, abandon the probe messages, and set the
One testing result, if the probe messages and setting message are inconsistent, retain the probe messages, and set the second detection knot
Fruit;According to first testing result and second testing result, judge whether the link of the business datum passage is abnormal,
If first testing result, then it is assumed that the link of the business datum passage is normal, and sets the business datum passage
Link normally indicate, if second testing result, then it is assumed that the link of the business datum passage is abnormal, and sets institute
State the link abnormality mark of business datum passage;The above method is realized by the FPGA;
According to the link of the business datum passage, normally the link abnormality mark of mark and the business datum passage judges institute
Whether the link for stating business datum passage switches over, if the link abnormality mark for being masked as the business datum passage,
Switch the business datum passage;If the link for being masked as the business datum passage normally indicates, switch the business
Data channel is without switching;The above method is realized by CPLD;
The FPGA is connected with the CPLD by PCIE, and the FPGA sends the chain of the business datum passage to the CPLD
The link of road abnormality mark and the business datum passage normally indicates that the CPLD receives the link of the business datum passage
The link of abnormality mark and the business datum passage normally indicates;The PCIE is abnormal to the link of the business datum passage
The normal mark of link of mark and the business datum passage is transmitted.
Obviously, those skilled in the art should be understood that above-mentioned each unit of the invention or each step can be with general
Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices compositions
On network, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to be stored in
Performed in storage device by computing device, they are either fabricated to each integrated circuit unit respectively or by them
Multiple units or step be fabricated to single integrated circuit unit to realize.So, the present invention is not restricted to any specific hard
Part and software combine.
Embodiment described above only expresses embodiments of the present invention, and its description is more specific and detailed, but can not
Therefore it is interpreted as the limitation to the scope of the claims of the present invention.It should be pointed out that to those skilled in the art,
On the premise of not departing from present inventive concept, some deformations, equal replacement can also be made, improved etc., these belong to the present invention
Protection domain.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (9)
1. one kind concatenation business datum channel abnormal link switching device, it is characterised in that including:Business datum input, business
Data and special data processing and business datum output unit(A), Condition Monitoring Unit(B), state transfer unit(C)And link
Switch unit(D);The business datum input, business datum and special data processing and business datum output unit(A)Enter one
Step includes:Business datum input module(1), business datum and special data processing module(2)With business datum output module
(3);The Condition Monitoring Unit(B)Further comprise:Special data injection module(4)With probe messages monitoring modular(5);Institute
State state transfer unit(C)Further comprise:Link State judge module(6), status indication module(7);The link switching
Unit(D)Further comprise:Abnormal state processing module(8)With the normal processing module of state(9);The business datum inputs mould
Block(1)With the business datum and special data processing module(2)Connection, the business datum and special data processing module
(2)Also respectively with the business datum output module(3), the special data injection module(4)Monitored with the probe messages
Module(5)Connection;The business datum input module(1)For obtaining business datum, and the business datum is sent described in
Business datum and special data processing module(2);The special data injection module(4)For producing special data, and send
The special data is to the business datum and special data processing module(2);At the business datum and special data
Manage module(2)The business datum and the special data are obtained, and the business datum is sent defeated to the business datum
Go out module(3), and the special data is converted into probe messages by way of transparent transmission, and by the probe messages send to
The probe messages monitoring modular(5);The business datum output module(3)For being exported to the business datum;Institute
State probe messages monitoring modular(5)Also with the Link State judge module(6)Connection, the probe messages monitoring modular(5)
For being detected to the probe messages, if the probe messages are consistent with setting message, the probe messages are abandoned, and
The first testing result is set, if the probe messages and setting message are inconsistent, retains the probe messages, and set second
Testing result;The Link State judge module(6)Also with the status indication module(7)Connection, the line state judge mould
Block(6)According to first testing result and second testing result, judge whether the link of the business datum passage is different
Often, if first testing result, then it is assumed that the link of the business datum passage is normal, is tied if the described second detection
Fruit, then it is assumed that the link of the business datum passage is abnormal;The status indication module(7)Lead to for setting the business datum
The link in road normally indicates and the link abnormality mark of the business datum passage, if the link of the business datum passage is just
Often, set the link of the business datum passage normally to indicate, if the link of the business datum passage is abnormal, the industry is set
The link abnormality mark for data channel of being engaged in;The status indication module(7)Also respectively with the abnormal state processing module(8)With
The normal processing module of state(9)Connection;The abnormal state processing module(8)The business datum passage of stating is not performed
Handover operation, the normal processing module of state(9), handover operation is performed to the business datum passage of stating.
A kind of 2. concatenation business datum channel abnormal link switching device according to claim 1, it is characterised in that the spy
Different data injection module(4)The IPV4 UDP message messages of 64 bytes are constructed, source mac addresses are:002145000001, target
MAC Address is:002145010001, source IP address:127.0.0.1;Target ip address is 127.0.0.1;Source port:FA;Mesh
Mark port FA, filling field 5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A.
A kind of 3. concatenation business datum channel abnormal link switching device according to claim 1, it is characterised in that the road
Condition judgment module(6)Also include:First testing result and the second testing result add up submodule;First testing result and
The second testing result real-time update, the first testing result and the second testing result add up submodule and the described first detection are tied
Fruit and second testing result are added up within a certain period of time, as long as second testing result is more than or equal to 1, then
The line state judge module(6)Think that the link of the business datum passage is abnormal;Otherwise, the line state judge module
(6)Think that the link of the business datum passage is normal.
A kind of 4. concatenation business datum channel abnormal link switching device according to claim 1, it is characterised in that the spy
Different data injection module(4)With transmission timer, interval N ms are set to send a special data, the value model of N values
Enclose for 1~10ms, the N values are by user configuration;The probe messages monitoring modular(5)It is interior that there is register, the register
For storing first testing result and second testing result;The Link State judge module(6)According to the N values
Periodically check first testing result of the register memory storage and second testing result, the status indication
Module(7)There is the first flag register and the second flag register respectively, first flag register is used to storing described
The link of business datum passage normally indicates that the link that second flag register is used to store the business datum passage is different
Often mark;The link switching unit(D)It is interior that there is switching register, can be with by changing the numerical value of the switching register
In the abnormal state processing module(8)With the normal processing module of the state(9)Between switch over.
5. one kind concatenation business datum channel abnormal link switch-over method, it is characterised in that including:Obtain business datum and life
Into special data, the business datum exports by business datum passage, if the business datum passage is normal, the business
Data are exported by the business datum passage, and the special data is probe messages;The probe messages are detected, if
The probe messages are consistent with setting message, then abandon the probe messages, and set the first testing result, if the detection report
Text and setting message are inconsistent, then retain the probe messages, and set the second testing result;According to first testing result
With second testing result, judge whether the link of the business datum passage is abnormal, if first testing result, then
Think that the link of the business datum passage is normal, and set the link of the business datum passage normally to indicate, if described
Second testing result, then it is assumed that the link of the business datum passage is abnormal, and sets the link of the business datum passage different
Often mark;According to the link of the business datum passage, normally the link abnormality mark of mark and the business datum passage judges
Whether the link of the business datum passage switches over, if the link for being masked as the business datum passage is marked extremely
Will, switch the business datum passage;If the link for being masked as the business datum passage normally indicates, switch the industry
Data channel of being engaged in is without switching.
A kind of 6. concatenation business datum channel abnormal link switch-over method according to claim 5, it is characterised in that the life
Method into special data is:The IPV4 UDP message messages of 64 bytes are constructed, source mac addresses are:002145000001, mesh
Marking MAC Address is:002145010001, source IP address:127.0.0.1;Target ip address is 127.0.0.1;Source port:FA;
Target port FA, filling field 5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A.
7. a kind of concatenation business datum channel abnormal link switch-over method according to claim 5, it is characterised in that described to sentence
Whether abnormal method also includes the link of the disconnected business datum passage:
First testing result and the second testing result real-time update, to first testing result and second inspection
Survey result within a certain period of time to be added up, as long as second testing result is more than or equal to 1, then directly think the industry
The link for data channel of being engaged in is abnormal;Otherwise it is assumed that the link of the business datum passage is normal.
A kind of 8. concatenation business datum channel abnormal link switch-over method according to claim 5, it is characterised in that:It is spaced N
Ms generates a special data, and the span of N values is 1~10ms, and the N values are by user configuration.
9. one kind concatenation business datum channel abnormal link switching system, it is characterised in that including:
A kind of concatenation business datum channel abnormal link switching device as described in claim any one of 1~claim 4, or
A kind of concatenation business datum channel abnormal link switch-over method as described in claim any one of 5~claim 8;
The business datum input module(1), business datum and special data processing module(2)With business datum output module
(3), special data injection module(4), probe messages monitoring modular(5), Link State judge module(6)With status indication module
(7)It is integrated in FPGA;The abnormal state processing module(8)With the normal processing module of the state(9)It is integrated in CPLD;
Business datum and generation special data are obtained, the business datum exports by business datum passage, if the business
Data channel is normal, then the business datum is exported by the business datum passage, and the special data is probe messages;It is right
The probe messages are detected, if the probe messages are consistent with setting message, abandon the probe messages, and set the
One testing result, if the probe messages and setting message are inconsistent, retain the probe messages, and set the second detection knot
Fruit;According to first testing result and second testing result, judge whether the link of the business datum passage is abnormal,
If first testing result, then it is assumed that the link of the business datum passage is normal, and sets the business datum passage
Link normally indicate, if second testing result, then it is assumed that the link of the business datum passage is abnormal, and sets institute
State the link abnormality mark of business datum passage;The above method is realized by the FPGA;
According to the link of the business datum passage, normally the link abnormality mark of mark and the business datum passage judges institute
Whether the link for stating business datum passage switches over, if the link abnormality mark for being masked as the business datum passage,
Switch the business datum passage;If the link for being masked as the business datum passage normally indicates, switch the business
Data channel is without switching;The above method is realized by CPLD;
The FPGA is connected with the CPLD by PCIE, and the FPGA sends the chain of the business datum passage to the CPLD
The link of road abnormality mark and the business datum passage normally indicates that the CPLD receives the link of the business datum passage
The link of abnormality mark and the business datum passage normally indicates;The PCIE is abnormal to the link of the business datum passage
The normal mark of link of mark and the business datum passage is transmitted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710841993.9A CN107819678B (en) | 2017-09-18 | 2017-09-18 | Device, method and system for switching abnormal links of serial service data channel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710841993.9A CN107819678B (en) | 2017-09-18 | 2017-09-18 | Device, method and system for switching abnormal links of serial service data channel |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107819678A true CN107819678A (en) | 2018-03-20 |
CN107819678B CN107819678B (en) | 2020-09-18 |
Family
ID=61607689
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710841993.9A Active CN107819678B (en) | 2017-09-18 | 2017-09-18 | Device, method and system for switching abnormal links of serial service data channel |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107819678B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108900877A (en) * | 2018-07-16 | 2018-11-27 | 广州辉群智能科技有限公司 | Control the method and service equipment of playing audio/video playing audio-video document |
CN112333091A (en) * | 2020-11-05 | 2021-02-05 | 中国联合网络通信集团有限公司 | Routing system, method and device |
CN116980463A (en) * | 2023-09-22 | 2023-10-31 | 湖南三湘银行股份有限公司 | Method for automatically switching transactions based on detection message system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1866766A (en) * | 2006-02-15 | 2006-11-22 | 华为技术有限公司 | Chain circuit heat backup method and system |
CN101114994A (en) * | 2006-07-28 | 2008-01-30 | 中兴通讯股份有限公司 | Method for detecting connectivity of multi-protocol label switching virtual private network |
CN101848114A (en) * | 2010-04-15 | 2010-09-29 | 华为技术有限公司 | Fault detection method and device |
CN102857366A (en) * | 2012-06-08 | 2013-01-02 | 北京和利时系统工程有限公司 | Trackside electronic device for transparent transmission of information of high-speed railway responder |
US20130151886A1 (en) * | 2011-12-09 | 2013-06-13 | Chih-Huang WU | Computing device and method for switching physical links of a sas expander of the computing device |
CN103200048A (en) * | 2013-04-02 | 2013-07-10 | 中兴通讯股份有限公司 | Method and device for abnormal detection of network processor and network processing equipment |
-
2017
- 2017-09-18 CN CN201710841993.9A patent/CN107819678B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1866766A (en) * | 2006-02-15 | 2006-11-22 | 华为技术有限公司 | Chain circuit heat backup method and system |
CN101114994A (en) * | 2006-07-28 | 2008-01-30 | 中兴通讯股份有限公司 | Method for detecting connectivity of multi-protocol label switching virtual private network |
CN101848114A (en) * | 2010-04-15 | 2010-09-29 | 华为技术有限公司 | Fault detection method and device |
US20130151886A1 (en) * | 2011-12-09 | 2013-06-13 | Chih-Huang WU | Computing device and method for switching physical links of a sas expander of the computing device |
CN102857366A (en) * | 2012-06-08 | 2013-01-02 | 北京和利时系统工程有限公司 | Trackside electronic device for transparent transmission of information of high-speed railway responder |
CN103200048A (en) * | 2013-04-02 | 2013-07-10 | 中兴通讯股份有限公司 | Method and device for abnormal detection of network processor and network processing equipment |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108900877A (en) * | 2018-07-16 | 2018-11-27 | 广州辉群智能科技有限公司 | Control the method and service equipment of playing audio/video playing audio-video document |
CN108900877B (en) * | 2018-07-16 | 2021-05-25 | 广州辉群智能科技有限公司 | Method for controlling audio and video playing equipment to play audio and video files and service equipment |
CN112333091A (en) * | 2020-11-05 | 2021-02-05 | 中国联合网络通信集团有限公司 | Routing system, method and device |
CN116980463A (en) * | 2023-09-22 | 2023-10-31 | 湖南三湘银行股份有限公司 | Method for automatically switching transactions based on detection message system |
CN116980463B (en) * | 2023-09-22 | 2024-01-30 | 湖南三湘银行股份有限公司 | Method for automatically switching transactions based on detection message system |
Also Published As
Publication number | Publication date |
---|---|
CN107819678B (en) | 2020-09-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107819678A (en) | Concatenate business datum channel abnormal link switching device, method and system | |
CN103959684B (en) | Self-diagnosing method and the PON of PON protection system protect system | |
CN106789323A (en) | A kind of communication network management method and its device | |
CN102868553B (en) | Fault Locating Method and relevant device | |
CN105379201B (en) | Method, controller and the failover interchanger of path switching | |
CN105450292A (en) | Fault diagnosis analysis method, fault diagnosis device, fault analysis device and fault diagnosis analysis system | |
US10771316B1 (en) | Debugging of a network device through emulation | |
CN103227753B (en) | A kind of network congestion processing method, system and device | |
CN107294814A (en) | The method of testing and device of a kind of network-on-chip | |
CN104009896B (en) | Node equipment access method, system and device based on MAC address | |
CN105959216A (en) | Communication method, device and system of one-way serial bus network | |
JP2018010430A (en) | Device and system for remotely monitoring control system | |
CN107483336B (en) | System and method for testing MAC address capacity of network equipment | |
CN109412902A (en) | A kind of intelligent monitoring method of power dispatch data network system, storage equipment, terminal and system | |
CN106656530A (en) | Method and device for generating Operation, Administration and Maintenance alarm | |
EP3084648A1 (en) | Storage element with storage and clock tree monitoring circuit and methods therefor | |
CN103516631A (en) | Communication device | |
CN106951955B (en) | Method for selecting electronic cell number in bus embryo electronic cell array | |
CN105141553A (en) | System and method for testing switch MAC address learning | |
US7023842B2 (en) | Switch model component | |
CN104898464A (en) | Insulation test control module | |
CN106059876A (en) | Mode switching control method, device and system for unidirectional serial bus network | |
US20170026278A1 (en) | Communication apparatus, control apparatus, and communication system | |
CN103995216B (en) | Line fault of electrical power system automatic monitoring method | |
CN107040391A (en) | A kind of fault detection method and forwarding unit |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200413 Address after: 163000 No. 45, Xi Xun street, Saar district of Daqing, Heilongjiang Province Applicant after: DAQING ZHONGJI PETROLEUM COMMUNICATION CONSTRUCTION Co.,Ltd. Applicant after: Yanshan University Address before: 163000 No. 45, Xi Xun street, Saar district of Daqing, Heilongjiang Province Applicant before: DAQING ZHONGJI PETROLEUM COMMUNICATION CONSTRUCTION Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |