CN108199887A - A kind of string control card implementation method, device and collection bunchiness control card - Google Patents

A kind of string control card implementation method, device and collection bunchiness control card Download PDF

Info

Publication number
CN108199887A
CN108199887A CN201810003982.8A CN201810003982A CN108199887A CN 108199887 A CN108199887 A CN 108199887A CN 201810003982 A CN201810003982 A CN 201810003982A CN 108199887 A CN108199887 A CN 108199887A
Authority
CN
China
Prior art keywords
message
link packet
monitoring
link
backboard
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
CN201810003982.8A
Other languages
Chinese (zh)
Other versions
CN108199887B (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.)
Daqing Zhongji Petroleum Communication Construction Co Ltd
Original Assignee
Daqing Zhongji Petroleum Communication Construction 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 Daqing Zhongji Petroleum Communication Construction Co Ltd filed Critical Daqing Zhongji Petroleum Communication Construction Co Ltd
Priority to CN201810003982.8A priority Critical patent/CN108199887B/en
Publication of CN108199887A publication Critical patent/CN108199887A/en
Application granted granted Critical
Publication of CN108199887B publication Critical patent/CN108199887B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0604Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • H04B10/032Arrangements for fault recovery using working and protection systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of string control card implementation method, applied to network shunt device, including:Receives link message;Judge whether the physical connection of network shunt device and backboard disconnects and whether need to transmit the link packet;If disconnecting or not needing to, the link packet is flowed back;If it does not disconnect or needs, extract the message information of the link packet, the message information is compared with setting rule, if the message information meets or is unsatisfactory for the setting rule, then generate monitoring message, if the message information is unsatisfactory for or meets the setting rule, the link packet is flowed back;If the link packet is filtered, if meeting filtering rule, judges in the link packet whether containing the monitoring message, containing the monitoring message, the link packet to be sent to the backboard, the link packet flows back if not containing.And a kind of string control card implementation method, applied to backboard, string control card realization device sum aggregate bunchiness control card.

Description

A kind of string control card implementation method, device and collection bunchiness control card
Technical field
The present invention relates to the data on flows field of internet, specifically a kind of string control card implementation method, device and collection Bunchiness control card.
Background technology
The present epoch are an information ages, and interpersonal exchange is more and more information-based.Computer, mobile phone etc. are logical Believe equipment too busy to get away daily life, therefore, the information of internet is more and more, wherein it is several prominent the characteristics of It is:A large amount of property, high speed, diversity, authenticities.Exactly these characteristic let us can be generated huge by analyzing data Economic benefit, more and more company and enterprises start to focus on the analysis of the network information.
Network shunt device(That is, current divider)As data collection and analysis equipment, important work is played in data analysis process With.The concatenation current divider of mainstream needs one external smooth protector of collocation to use at present, and light protector is concatenated into number According to chain road, concatenation current divider is connected to light protector, decides whether current divider being concatenated into link by light protector.And light Protector is a kind of card-type device, even if using one piece of light protector board, it is also desirable to which a cabinet is placed.For data industry For the business user that process bandwidth is smaller, current divider is small, this undoubtedly increases cost.With people to data analysis, The enhancing of information security demand, this application scenarios can be more and more extensive, such as residential area, company etc..It can adapt to this Low cost, the strong adaptability data analysis acquisition scheme of application scenarios are extremely urgent.
Invention content
In view of this, it is of the invention that a kind of string control card implementation method, device and collection bunchiness control card are provided, it is multiple to break needs The limitation of equipment cooperation, and photoelectric protection module supports optical link and current source road simultaneously, is to adapt to different applied fields Scape improves the flexibility of equipment, also as save the expense of external smooth protector, greatly reduced the cost of plant maintenance.
In a first aspect, the present invention provides a kind of string control card implementation method, applied to network shunt device, including:
Receives link message;
Judge whether the physical connection of network shunt device and backboard disconnects and whether need to transmit the link packet;
If disconnecting or not needing to, the link packet is flowed back;If not disconnecting or needing, the report of the link packet is extracted Literary information, the message information, if the message information meets or be unsatisfactory for the setting rule, produce compared with setting rule If the message information is unsatisfactory for or meets the setting rule, the link packet is flowed back for raw monitoring message;
The link packet is filtered, if meeting filtering rule, judges whether contain the prison in the link packet Message is controlled, if containing the monitoring message, the link packet is sent to the backboard, if not containing the monitoring report Text then flows back the link packet, and handoff links pattern.
Preferably, the message information for extracting the link packet is the five-tuple information of the link packet, according to described Whether the protocol number of five-tuple information judges the link packet with label and IP packet, and obtains the link packet Length;
The setting rule, to set length;If the length of the link packet is more than the setting length, by the link Message flows back;If the length of the link packet is less than or equal to the setting length, monitoring message is generated.
Preferably, judge whether the method containing the monitoring message is in the link packet:Detection enables switch No opening, if enabled switch is opened, computational theory should receive the number lower limiting value Pkt_min of the monitoring message and calculate week The monitoring message number actually received in phase, the heartbeat message number and the number lower limiting value of the monitoring message Pkt_min;
If the monitoring message number actually received is more than or equal under the number that theory should receive the monitoring message Limit value Pkt_min then recalculates the theoretical number lower limiting value Pkt_min that should receive the monitoring message and recalculates week The monitoring message number actually received in phase;
If the monitoring message number actually received is less than the number lower limiting value Pkt_ that theory should receive the monitoring message Min then carries out frequency of abnormity and counts error_count;
If frequency of abnormity counts error_count and is less than setting value, the monitoring message should be received by recalculating theory Number lower limiting value Pkt_min and recalculate the monitoring message number actually received in the period;
If frequency of abnormity, which counts error_count, is more than or equal to the setting value, the link packet is flowed back.
Preferably, the enabled method whether opened that switchs of detection is:The enabled switch is triggered by the monitoring message It opens;If detecting the monitoring message, the enabled switch is opened, if the monitoring message is not detected, by institute It states enabled switch to close, the link packet is flowed back.
Second aspect, the present invention provides a kind of string control card implementation method, applied to backboard, which is characterized in that including:
Stream packet is sent back to network shunt device;
Judge whether the physical connection of the network shunt device and interface disconnects;
If disconnecting, the reflux message is abandoned;It is described not disconnect, then the reflux message is sent out by the interface.
The third aspect, the present invention provides a kind of string control card realization device, applied to network shunt device, including:
Memory and processor and storage on a memory and the computer program that can run on a processor, the computer journey Realization when a kind of string control card implementation method of network shunt device, the processor execution described program is following for above application for sequence Step:
Receives link message;
Judge whether the physical connection of network shunt device and backboard disconnects and whether need to transmit the link packet;
If disconnecting or not needing to, the link packet is flowed back;If not disconnecting or needing, the report of the link packet is extracted Literary information, the message information, if the message information meets or be unsatisfactory for the setting rule, produce compared with setting rule If the message information is unsatisfactory for or meets the setting rule, the link packet is flowed back for raw monitoring message;
The link packet is filtered, if meeting filtering rule, judges whether contain the prison in the link packet Message is controlled, if containing the monitoring message, the link packet is sent to the backboard, if not containing the monitoring report Text then flows back the link packet, and handoff links pattern.
Fourth aspect, the present invention provides a kind of string control card realization device, applied to backboard, including:
Memory and processor and storage on a memory and the computer program that can run on a processor, the computer journey Sequence realizes following steps for above application when a kind of string control card implementation method of backboard, the processor execution described program:
Stream packet is sent back to network shunt device;
Judge whether the physical connection of the network shunt device and interface disconnects;
If disconnecting, the reflux message is abandoned;It is described not disconnect, then the reflux message is sent out by the interface.
5th aspect, the present invention provide a kind of collection bunchiness control card, including:
Concatenate control unit;
The concatenation control unit is connect respectively with crosspoint and optical module or electric module by signal interface, described to exchange list Member is also connect with backboard;
The crosspoint, for extracting the message information of the link packet, the message information and the regular ratio of setting Compared with, and the link packet is filtered and is transmitted the reflux message;
The concatenation control unit, for being used to judge whether the physical connection of the network shunt device and the backboard disconnects, And the transmission of the control link packet and the reflux message, and handoff links pattern;
Wherein, the link packet is entered by the optical module or electric module by signal interface, and the reflux message passes through institute It states optical module or electric module by signal interface is sent out.
Preferably, the crosspoint, including:Protocol analysis device, link aggregation device, filtering rule hit device, Message diostribution device and backboard R-T unit, monitoring generation device and monitoring device;The protocol analysis device respectively with it is described Monitoring generation device is connected with the link aggregation device, and the monitoring generation device connects with filtering rule hit device It connecing, the filtering rule hit device is connect with the monitoring device, and the monitoring device is connect with the message diostribution device, The message diostribution device is connect respectively with the backboard R-T unit and the link aggregation device, the backboard R-T unit Also it is connect with the link aggregation device;
The protocol analysis device, for extracting the message information of the link packet, and by message information with setting regular ratio Compared with if the message information meets or be unsatisfactory for the setting rule, the monitoring generation device generates monitoring message, if institute It states message information and is unsatisfactory for or meets the setting rule, then the link packet is sent to the link aggregation device, institute It states link aggregation device the link packet flows back;
The filtering rule hits device, for being filtered to the link packet, if meeting filtering rule, and the monitoring If device judges, containing the monitoring message, to pass through the message whether containing the monitoring message in the link packet The link packet is sent to the backboard R-T unit by diostribution device, and the backboard R-T unit sends out the link packet The backboard is given, if not containing the monitoring message, the link packet is issued the chain by the backboard R-T unit Road polyplant, the link aggregation device flow back the link packet;
The concatenation control unit, including:Optica signal receivingl transmitting apparatus, electrical protective device, electric signal R-T unit and equipment state Monitoring device;The standby state monitoring apparatus, respectively with the optica signal receivingl transmitting apparatus, the electrical protective device and the monitoring Device connects, for link packet to be controlled to flow back;
The optica signal receivingl transmitting apparatus receives the link packet, and sends the link packet to the protocol analysis device;
Electrical protective device performs electric signal protection operation, and in the state of electric signal protection, electric signal R-T unit receives Link packet can directly return to former link;
The optical module or electric module by signal interface, including:Light protection location, optical module signaling interface and electric module by signal connect Mouthful;The optical module signaling interface is connect by the smooth protection location with the optica signal receivingl transmitting apparatus, the electricity module letter Number interface is connect with the electric signal R-T unit.
The present invention at least has the advantages that:
The present invention proposes a kind of string control card implementation method applied to network shunt device, realizes that network shunt device is sent to backboard Link packet during transmission link message, judges whether the physical connection of network shunt device and backboard disconnects and be It is no to need transmission link message, if disconnecting or not needing to, link packet is flowed back;If not disconnecting or needing, link is extracted The message information of message, message information, if message information meets or be unsatisfactory for setting rule, generate prison compared with setting rule Message is controlled, if message information is unsatisfactory for or meets setting rule, link packet is flowed back;Link packet is filtered, if Meet filtering rule, then judge, if containing monitoring message, link packet to be sent whether containing monitoring message in link packet To backboard, if not containing monitoring message, link packet is flowed back, and simultaneously handoff links pattern.By being applied to network shunt A kind of string control card implementation method the latter's device of device optionally controls link packet to be sent to backboard and link packet The phenomenon that being not in loss.
Meanwhile the present invention proposes a kind of string control card implementation method or device applied to backboard, to network shunt device Send back stream packet;Judge whether the physical connection of network shunt device and interface disconnects;If disconnecting, reflux message is abandoned;Do not break It opens, then sends out reflux message by interface.It realizes backboard and the control for passing stream packet back is sent back to network shunt device.
In addition, the present invention proposes a kind of collection bunchiness control card, realize above application in a kind of string control card of network shunt device The advantages of implementation method the latter device and a kind of string control card implementation method or device applied to backboard, quickly realize message Interaction, simplify the network environment used, saved cost;That is, the present invention needs multiple equipment to coordinate to break Limitation, support a variety of links, and controllable or handoff links, be adapted to different application scenarios, improve equipment Flexibility greatly reduced the cost of plant maintenance.
Description of the drawings
By below with reference to description of the attached drawing to the embodiment of the present invention, the above and other purposes of the present invention, feature and Advantage is apparent, in the accompanying drawings:
Fig. 1 is a kind of flow diagram for string control card implementation method that the embodiment of the present invention is applied to network shunt device;
Fig. 2 is to judge whether contain the monitoring in the link packet in a kind of string control card implementation method of the embodiment of the present invention The flow diagram of message;
Fig. 3 is a kind of functional block diagram of collection bunchiness control card of the embodiment of the present invention.
Specific 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 datail 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 attached drawing provided simply to illustrate that the purpose of the present invention, Feature and advantage, attached drawing are not to be actually drawn to scale.
Meanwhile unless the context clearly requires otherwise, otherwise throughout the specification and claims " comprising ", "comprising" etc. Similar word should be construed to the meaning included rather than exclusive or exhaustive meaning;That is, it is " including but not limited to " Meaning.
Fig. 1 is a kind of flow diagram for string control card implementation method that the embodiment of the present invention is applied to network shunt device.Such as Shown in Fig. 1, a kind of string control card implementation method, including:Step 101 receives link message;Judge the object of network shunt device and backboard Whether reason connection disconnects and whether needs transmission link message;If step 102 is disconnected or do not needed to, link packet is returned Stream;If not disconnecting or needing, the message information of link packet is extracted, message information is compared with setting rule, if message information Meet or be unsatisfactory for setting rule, then generate monitoring message, if message information is unsatisfactory for or meets setting rule, by link report Text reflux;Whether step 103 is filtered link packet, if meeting filtering rule, judge in link packet containing monitoring If link packet containing monitoring message, is sent to backboard, if not containing monitoring message, link packet is flowed back by message, And handoff links pattern.
Further, in Fig. 1, the message information for extracting link packet is the five-tuple information of link packet, according to five Whether the protocol number of tuple information judges link packet with label and IP packet, and obtains the length of link packet;Setting rule Then, to set length;If the length of link packet is more than setting length, link packet is flowed back;If the length of link packet Less than or equal to setting length, then monitoring message is generated.
Meanwhile a kind of string control card implementation method, applied to backboard, including:Step 101a sends to network shunt device and flows back Message;Step 101b judges whether the physical connection of network shunt device and interface disconnects;If step 101c is disconnected, reflux report is abandoned Text;It does not disconnect, then sends out reflux message by interface.
A kind of string control card implementation method applied to backboard and a kind of string control card realization side applied to network shunt device The detailed description of method is illustrated referring to Fig. 3's.
Whether Fig. 2 is judged in a kind of string control card implementation method of the embodiment of the present invention in the link packet containing described Monitor the flow diagram of message.Monitoring message is generated by monitoring providing device and is followed by service message together into filtering rule Device is hit, subsequently into monitoring device, the principle of monitoring is the prison received before the deadline not less than specified number Control packet tail.In monitoring device, monitoring receives monitoring message and filters out monitoring message, it is impossible to influence original business report Text.Abnormal whether occur is judged according to the monitoring message number monitored.
As shown in Fig. 2, judge whether the method containing monitoring message is in link packet:The enabled switch of step 201 detection Whether open, if enabled switch is opened, the number lower limiting value Pkt_ of monitoring message should be received by entering step 202 computational theories The monitoring message number actually received in min and calculating cycle;Step 203 compares heartbeat message number with monitoring the number of message Lower limiting value Pkt_min;If the monitoring message number actually received is more than or equal to the number that theory should receive monitoring message Lower limiting value Pkt_min, then enter step 202 recalculate the theoretical number lower limiting value Pkt_min that should receive monitoring message and Recalculate the monitoring message number actually received in the period;If the monitoring message number actually received, which is less than theory, to be received The number lower limiting value Pkt_min of message is monitored, then enters step 204 carry out frequency of abnormity and counts error_count;Into Step 205 frequency of abnormity counts error_count and is compared with setting value, if frequency of abnormity counts error_count and is less than Setting value then enters step 202 and recalculates the theoretical number lower limiting value Pkt_min that should receive monitoring message and recalculate The monitoring message number actually received in period;If frequency of abnormity, which counts error_count, is more than or equal to setting value, into Enter to enter step 206 and link packet flows back.
Further, in fig. 2, the enabled method whether opened that switchs of detection is:By monitoring, message triggering is enabled to open It closes and opens;If detecting monitoring message, enabled switch is opened, if monitoring message is not detected, enabled switch is closed, Link packet is flowed back.
Meanwhile the present invention provides a kind of string control card realization device, applied to network shunt device, including:Memory and processing Device and storage are on a memory and the computer program that can run on a processor, the computer program are above application in net A kind of string control card implementation method of network current divider, the processor realize following steps when performing described program.
Step 101 receives link message;Judge whether the physical connection of network shunt device and backboard disconnects and whether need Transmit the link packet.
If step 102 is disconnected or do not needed to, the link packet is flowed back;If not disconnecting or needing, described in extraction The message information of link packet, the message information is compared with setting rule, if the message information meets or is unsatisfactory for described Setting rule, then generate monitoring message, if the message information is unsatisfactory for or meets the setting rule, by the link report Text reflux.
Step 103 is filtered the link packet, if meeting filtering rule, judge in the link packet whether Containing the monitoring message, if containing the monitoring message, the link packet is sent to the backboard, if without Monitoring message is stated, then the link packet is flowed back, and handoff links pattern.
Meanwhile the present invention provides a kind of string control card realization device, applied to backboard, including:
Memory and processor and storage on a memory and the computer program that can run on a processor, the computer journey Sequence realizes following steps for above application when a kind of string control card implementation method of backboard, the processor execution described program.
Step 101a sends back stream packet to network shunt device, and step 101b judges that the physics of network shunt device and interface connects It connects and whether disconnects;If step 101c is disconnected, reflux message is abandoned;It does not disconnect, then sends out reflux message by interface.
Fig. 3 is a kind of functional block diagram of collection bunchiness control card of the embodiment of the present invention.As shown in figure 3, a kind of collection bunchiness control card Including:Control unit 2 is concatenated, concatenation control unit 2 connects respectively with crosspoint 1 and optical module or electric module by signal interface 3 It connects, crosspoint 1 is also connect with backboard 4;Crosspoint 1 for extracting the message information of link packet, compares message information Compared with setting rule, and stream packet is filtered and is transmitted back to link packet;Control unit 2 is concatenated, for for sentencing Whether the physical connection of circuit network current divider and backboard disconnects and controls the transmission of link packet and the message that flows back.Backboard 4 is The backplane channel of cabinet where integrated serial port board, the equipment of multiple slot positions can pass through backboard 4 and carry out message interaction in cabinet.
Wherein, link packet by optical module either electric module by signal interface 3 enter reflux message by optical module or Electric module by signal interface 3 is sent out.
In figure 3, crosspoint 1, including:Protocol analysis device 5, link aggregation device 6, filtering rule hit device 7, Message diostribution device 8 and backboard R-T unit 9, monitoring generation device 14 and monitoring device 15;Protocol analysis device 5 respectively with prison Control generation device 14 and link aggregation device 6 connect, and monitoring generation device 14 is connect with filtering rule hit device 7, filtering rule Device 7 is then hit to connect with monitoring device 15, monitoring device 15 is connect with message diostribution device 8, message diostribution device 8 respectively with Backboard R-T unit 9 and link aggregation device 6 connect, and backboard R-T unit 9 is also connect with link aggregation device 6.Specifically, Crosspoint 1 receives the message from concatenation control unit 2 and backboard 4, and Classification and Identification and forwarding are carried out to message;Crosspoint 1 filtering rule hit device 7 according to the source IP of link packet, destination IP, source port, purpose port, protocol number, incoming interface, One or more carry out configuration rules in character string and payload length etc., can reach message and hit this rule-like and perform phase The forwarding behavior answered or discarding action.
In figure 3, protocol analysis device 5 for extracting the message information of link packet, and message information and setting are advised Then compare, if message information meets or be unsatisfactory for setting rule, monitor generation device 14 and generate monitoring message, if message information It is unsatisfactory for or meets setting rule, then link packet is sent to link aggregation device 6, link aggregation device 6 is by link packet Reflux;Filtering rule hits device 7, and for being filtered to link packet, if meeting filtering rule, monitoring device 15 judges Whether containing monitoring message in link packet, if containing monitoring message, link packet is sent to by message diostribution device 8 Link packet is sent to backboard by backboard R-T unit 9, backboard R-T unit 9, if not containing monitoring message, backboard transmitting-receiving dress It puts 9 and link packet is issued into link aggregation device 6, link aggregation device 6 flows back link packet.Specifically, protocal analysis Device 5 receives the message of concatenation control unit and carries out protocal analysis,(The five-tuple information of message is extracted, is believed according to five-tuple Whether the protocol number of breath judges message with label and IP packet, and obtains the length of message), according to analysis result by message Selection is output to link aggregation device 6 and monitoring generation device 14 generates monitoring message, is more than if non-IP packet and length and sets The message of measured length is sent to link aggregation device 6.
Specifically, in figure 3, link aggregation device 6, for receiving protocol analysis device 5, message diostribution device 8, the back of the body The link packet that plate R-T unit 9 flows back is output to after concentrating convergence in concatenation control unit 2.
Specifically, in figure 3, generation device 14 is monitored, for receiving the message from protocol analysis device 5 and generation Message is monitored, the content for monitoring message is all customized, and the information such as source ip, purpose ip, port, protocol number are required for defining ratio More special value, cannot be identical with information such as source IP, destination IP, port, the protocol numbers of data stream packet.In link report Monitoring message is inserted into the data flow of link packet in the gap of text, is sent to filtering rule hit device 7.
Specifically, in figure 3, filtering rule hit device 7, for receiving the message from protocol analysis device 14 simultaneously Rule-based filtering is carried out, to the action of the corresponding hit rule of the packet labeling after rule-based filtering, monitoring message can be in force Rule is not hit by, message and filter result are sent to monitoring device 15;If link packet meets rule or is not inconsistent normally, complete Into action set by user, such as:Into backboard 4 or enter link aggregation device 6.
Specifically, in figure 3, message diostribution device 8, for receiving from the link packet for crossing monitoring device 15, and It selects to abandon link packet according to filter result or is output to link aggregation device 6 and backboard R-T unit 9.
In figure 3, control unit 2 is concatenated, including:Optica signal receivingl transmitting apparatus 10, electrical protective device 11, electric signal transmitting-receiving dress Put 12 and equipment condition monitoring device 13;Standby state monitoring apparatus 13, respectively with optica signal receivingl transmitting apparatus 10, electrical protective device 11 It is connected with monitoring device 15, for link packet to be controlled to flow back;Optica signal receivingl transmitting apparatus 10, receives link message, and send chain Road message is to protocol analysis device 5;Electrical protective device 11 performs electric signal protection operation, in the state of electric signal protection, electricity The link packet that signal receiving/transmission device 12 receives can directly return to former link.In short, the concatenation control of control unit 2 crosspoint 1, The transmission of the link packet of light protection location 31 and electric module by signal interface 33, and real time monitoring protection is carried out to entire link.
In figure 3, electrical protective device 11 is controlled by concatenation control unit 2, performs electric signal protection operation, electric signal protection The link packet that electric signal R-T unit 12 receives under state can directly return to former link;Electric signal R-T unit 12, for even It connects electric signal link and carries out message interaction, that is, complete the interaction of link packet;Equipment condition monitoring device 13 receives the friendship The monitoring signal that the monitoring device 15 of unit 1 passes over is changed, real-time status is provided for concatenation control unit 2, so as to its basis 31 handoff links pattern of real-time status notice light protection location.
Specifically, in figure 3, monitoring device 15, for receiving the link packet for carrying out filtering rule hit device 7, Message extraction filtering is monitored, extraction record monitoring information is sent to the concatenation control unit 2 from monitoring message, then will be surplus Remaining non-supervised message(That is, link packet)It is sent to message diostribution device 8;The detection monitoring generation device 14 of monitoring device 15 Link packet if detecting monitoring information, is sent to message diostribution device 8, can't detect monitoring information by monitoring information, to The equipment condition monitoring device 13 for concatenating control unit 2 sends caution signal, and equipment condition monitoring device 13 allows optical signal transceiver Device 10 carries out by pass actions, and link packet enters concatenation control unit 2 and just flows back.
In figure 3, optical module or electric module by signal interface 3, including:Light protection location 31, optical module signaling interface 32 With electric module by signal interface 33;Optical module signaling interface 32 is connect by light protection location 31 with optica signal receivingl transmitting apparatus 10, electricity Module by signal interface 33 is connect with electric signal R-T unit 12.That is, light protection location 31 connects optical signal link respectively With optica signal receivingl transmitting apparatus 10, when optica signal receivingl transmitting apparatus 10 is abnormal, light protection location 31 can switching optical path link To electric signal link, the optical signal for ensureing to receive is returned directly to optical signal link, integrates bunchiness control card at this time as bypass mode.Telecommunications The principle of number link switching to optical signal link is identical, is not explained in detail again.
In figure 3, monitoring device 15 is whether the channel of real time monitoring crosspoint 1 is abnormal, and the content of monitoring is monitoring The monitoring message that generation device 14 generates, when monitoring device 15 monitors abnormal generation, concatenation control unit 2 controls optical signal to receive Transmitting apparatus 10 stops shining, and light protection location 31 automatically switches photoswitch after detecting, optical link message is by light protection location 31 Two parts are copied as, portion returns to link, another is output to optica signal receivingl transmitting apparatus 10.Meanwhile from optica signal receivingl transmitting apparatus 10 link text can not be output to link.
In short, in figure 3, crosspoint 1 carries out data flow according to the processing of business(That is, link packet)Distribution, number Backboard 4 can be flowed to according to stream or enters concatenation control unit 2;Monitoring unit(Monitoring unit, including:Monitor generation device 14 With monitoring device 15)1 the inside of crosspoint is built-in, carries out the processing implementing monitoring to 1 business of crosspoint, while prison Control signal passes to concatenation control unit 2;The data flow that concatenation control unit 2 can receive(That is, reflux message and the link of reflux Message)Light protection location 31 is transmitted to monitoring signal;Light protection location 31 judges that current crosspoint 1 is according to monitoring signal It is no to there is exception, carry out the switching of string control card bypass mode.
In figure 3, optica signal receivingl transmitting apparatus 10 supports 1GE and 10GE interface modes respectively.Electric signal R-T unit 12 Hold 1GE interface modes.
In figure 3, the backboard R-T unit 9 of crosspoint 1 is used to the link packet from message diostribution device 8 send To backboard 4, while from 4 receives link message of backboard and it is output to link aggregation device 6;The link aggregation device 6 of crosspoint 1 The flow for needing to return link(That is, reflux message and the link packet of reflux)It is output to concatenation control unit 2 and specifies defeated Go out to optical signal transceiver equipment 10 or electric signal transceiver 12;The monitoring generation device 14 of crosspoint 1 generates logical in inside Road monitors message(That is, monitoring message), management is monitored in monitoring device 15, the monitoring device 15 of crosspoint 1 can be real When monitoring signal be transmitted to concatenation control unit 2;Concatenation control unit 2 passes through optical signal transceiver equipment 10 and light protection location 31 connections;Concatenation control unit 2 is by controlling electric protection equipment 11 to realize 12 pattern switching of electric signal transceiver.Meanwhile it hands over The reflux message of backboard 4 can also be received by changing unit 1.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general Computing device realize that they can concentrate on single computing device or be distributed in multiple computing devices and be formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored In the storage device by computing device come perform either they are fabricated to respectively each integrated circuit modules or by they In multiple modules or step be fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific Hardware and software combines
Embodiment described above only expresses embodiments of the present invention, therefore description is more specific and detailed, but can not be And it is interpreted as the limitation to the scope of the claims of the present invention.It should be pointed out that it to those skilled in the art, is not taking off Under the premise of from present inventive concept, several deformations, equal replacement can also be made, improved etc., these belong to the guarantor of the present invention Protect range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of string control card implementation method, applied to network shunt device, which is characterized in that including:
Receives link message;
Judge whether the physical connection of network shunt device and backboard disconnects and whether need to transmit the link packet;
If disconnecting or not needing to, the link packet is flowed back;If not disconnecting or needing, the report of the link packet is extracted Literary information, the message information, if the message information meets or be unsatisfactory for the setting rule, produce compared with setting rule If the message information is unsatisfactory for or meets the setting rule, the link packet is flowed back for raw monitoring message;
The link packet is filtered, if meeting filtering rule, judges whether contain the prison in the link packet Message is controlled, if containing the monitoring message, the link packet is sent to the backboard, if not containing the monitoring report Text then flows back the link packet, and handoff links pattern.
2. a kind of string control card implementation method according to claim 1, it is characterised in that:
The message information for extracting the link packet is the five-tuple information of the link packet, according to the five-tuple information Whether protocol number judges the link packet with label and IP packet, and obtains the length of the link packet;
The setting rule, to set length;If the length of the link packet is more than the setting length, by the link Message flows back;If the length of the link packet is less than or equal to the setting length, monitoring message is generated.
3. a kind of string control card implementation method according to claim 1, it is characterised in that:
Judge whether the method containing the monitoring message is in the link packet:Whether the enabled switch of detection is opened, if making It can switch and open, computational theory should receive actually to be received in the number lower limiting value Pkt_min and calculating cycle of the monitoring message The monitoring message number arrived, the heartbeat message number and the number lower limiting value Pkt_min of the monitoring message;
If the monitoring message number actually received is more than or equal under the number that theory should receive the monitoring message Limit value Pkt_min then recalculates the theoretical number lower limiting value Pkt_min that should receive the monitoring message and recalculates week The monitoring message number actually received in phase;
If the monitoring message number actually received is less than the number lower limiting value Pkt_ that theory should receive the monitoring message Min then carries out frequency of abnormity and counts error_count;
If frequency of abnormity counts error_count and is less than setting value, the monitoring message should be received by recalculating theory Number lower limiting value Pkt_min and recalculate the monitoring message number actually received in the period;
If frequency of abnormity, which counts error_count, is more than or equal to the setting value, the link packet is flowed back.
4. a kind of string control card implementation method according to claim 3, it is characterised in that:
Detection enables the method whether switch is opened:The enabled switch is triggered by the monitoring message to open;If detection To the monitoring message, then the enabled switch is opened, if the monitoring message is not detected, the enabled switch is closed It closes, the link packet is flowed back.
5. a kind of string control card implementation method, applied to backboard, which is characterized in that including:
Stream packet is sent back to network shunt device;
Judge whether the physical connection of the network shunt device and interface disconnects;
If disconnecting, the reflux message is abandoned;It is described not disconnect, then the reflux message is sent out by the interface.
6. a kind of string control card realization device, applied to network shunt device, which is characterized in that including:
Memory and processor and storage on a memory and the computer program that can run on a processor, the computer journey Sequence is a kind of string control card implementation method as described in any one of Claims 1 to 4, when the processor performs described program realization with Lower step:
Receives link message;
Judge whether the physical connection of network shunt device and backboard disconnects and whether need to transmit the link packet;
If disconnecting or not needing to, the link packet is flowed back;If not disconnecting or needing, the report of the link packet is extracted Literary information, the message information, if the message information meets or be unsatisfactory for the setting rule, produce compared with setting rule If the message information is unsatisfactory for or meets the setting rule, the link packet is flowed back for raw monitoring message;
The link packet is filtered, if meeting filtering rule, judges whether contain the prison in the link packet Message is controlled, if containing the monitoring message, the link packet is sent to the backboard, if not containing the monitoring report Text then flows back the link packet, and handoff links pattern.
7. a kind of string control card realization device, applied to backboard, which is characterized in that including:
Memory and processor and storage on a memory and the computer program that can run on a processor, the computer journey Sequence realizes following steps for a kind of string control card implementation method, the processor as claimed in claim 5 when performing described program:
Stream packet is sent back to network shunt device;
Judge whether the physical connection of the network shunt device and interface disconnects;
If disconnecting, the reflux message is abandoned;It is described not disconnect, then the reflux message is sent out by the interface.
8. a kind of collection bunchiness control card, which is characterized in that including:
A kind of string as described in any one of Claims 1 to 4 is applied to network shunt device controls card implementation method and as right will Seek a kind of 5 string control card implementation methods for being applied to backboard;
Or as claim 6 is applied to a kind of string control card realization device of network shunt device and as claim 7 should For a kind of string control card realization device of backboard.
9. a kind of collection bunchiness control card according to claim 8, which is characterized in that including:
Concatenate control unit(2);
The concatenation control unit(2), respectively with crosspoint(1)With optical module or electric module by signal interface(3)Connection, institute State crosspoint(1), and also and backboard(4)Connection;
The crosspoint(1), for extracting the message information of the link packet, the message information and setting rule Compare, and the link packet is filtered and is transmitted the reflux message;
The concatenation control unit(2), for being used to judge whether the physical connection of the network shunt device and the backboard breaks Open and control the transmission of the link packet and the reflux message, and handoff links pattern;
Wherein, the link packet passes through the optical module or electric module by signal interface(3)Into the reflux message passes through The optical module or electric module by signal interface(3)It sends out.
10. a kind of collection bunchiness control card according to claim 9, which is characterized in that including:
The crosspoint(1), including:Protocol analysis device(5), link aggregation device(6), filtering rule hit device(7)、 Message diostribution device(8)With backboard R-T unit(9), monitoring generation device(14)And monitoring device(15);The protocal analysis Device(5)Respectively with the monitoring generation device(14)With the link aggregation device(6)Connection, the monitoring generation device (14)Device is hit with the filtering rule(7)Connection, the filtering rule hit device(7)With the monitoring device(15)Even It connects, the monitoring device(15)With the message diostribution device(8)Connection, the message diostribution device(8)Respectively with the back of the body Plate R-T unit(9)With the link aggregation device(6)Connection, the backboard R-T unit(9)Also it is filled with the link aggregation It puts(6)Connection;
The protocol analysis device(5), for extracting the message information of the link packet, and message information is regular with setting Compare, if the message information meets or be unsatisfactory for the setting rule, the monitoring generation device(14)Generate monitoring report The link packet if the message information is unsatisfactory for or meets the setting rule, is sent to the link aggregation by text Device(6), the link aggregation device(6)The link packet is flowed back;
The filtering rule hits device(7), it is described if meeting filtering rule for being filtered to the link packet Monitoring device(15)Judge whether containing the monitoring message, if containing the monitoring message, to pass through in the link packet The message diostribution device(8)The link packet is sent to the backboard R-T unit(9), the backboard R-T unit (9)The link packet is sent to the backboard, if not containing the monitoring message, the backboard R-T unit(9)It will The link packet issues the link aggregation device(6), the link aggregation device(6)The link packet is flowed back;
The concatenation control unit(2), including:Optica signal receivingl transmitting apparatus(10), electrical protective device(11), electric signal R-T unit (12)With equipment condition monitoring device(13);The standby state monitoring apparatus(13), respectively with the optica signal receivingl transmitting apparatus (10), the electrical protective device(11)With the monitoring device(15)Connection, for link packet to be controlled to flow back;
The optica signal receivingl transmitting apparatus(10), the link packet is received, and send the link packet to the protocal analysis Device(5);
Electrical protective device(11), perform electric signal protection operation, in the state of electric signal protection, electric signal R-T unit (12)The link packet received can directly return to former link;
The optical module or electric module by signal interface(3), including:Light protection location(31), optical module signaling interface(32)With Electric module by signal interface(33);The optical module signaling interface(32)Pass through the smooth protection location(31)It is received with the optical signal Transmitting apparatus(10)Connection, the electricity module by signal interface(33)With the electric signal R-T unit(12)Connection.
CN201810003982.8A 2018-01-03 2018-01-03 Method and device for realizing serial control card and integrated serial control card Active CN108199887B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810003982.8A CN108199887B (en) 2018-01-03 2018-01-03 Method and device for realizing serial control card and integrated serial control card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810003982.8A CN108199887B (en) 2018-01-03 2018-01-03 Method and device for realizing serial control card and integrated serial control card

Publications (2)

Publication Number Publication Date
CN108199887A true CN108199887A (en) 2018-06-22
CN108199887B CN108199887B (en) 2020-09-22

Family

ID=62587726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810003982.8A Active CN108199887B (en) 2018-01-03 2018-01-03 Method and device for realizing serial control card and integrated serial control card

Country Status (1)

Country Link
CN (1) CN108199887B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159683A (en) * 2007-10-15 2008-04-09 华为技术有限公司 Method and apparatus for controlling data flow
CN102355411A (en) * 2011-08-19 2012-02-15 南京烽火星空通信发展有限公司 Wire speed flow distribution device and method integrating acquisition and exchange functions
US20160212038A1 (en) * 2013-08-30 2016-07-21 Nokia Solutions And Networks Oy Methods and apparatus
CN206629088U (en) * 2016-10-08 2017-11-10 中国信息安全测评中心 A kind of security detection equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159683A (en) * 2007-10-15 2008-04-09 华为技术有限公司 Method and apparatus for controlling data flow
CN102355411A (en) * 2011-08-19 2012-02-15 南京烽火星空通信发展有限公司 Wire speed flow distribution device and method integrating acquisition and exchange functions
US20160212038A1 (en) * 2013-08-30 2016-07-21 Nokia Solutions And Networks Oy Methods and apparatus
CN206629088U (en) * 2016-10-08 2017-11-10 中国信息安全测评中心 A kind of security detection equipment

Also Published As

Publication number Publication date
CN108199887B (en) 2020-09-22

Similar Documents

Publication Publication Date Title
US7773529B2 (en) Director device and methods thereof
US8989002B2 (en) System and method for controlling threshold testing within a network
CN105721318B (en) The method and apparatus of network topology are found in a kind of software defined network SDN
CN101399711B (en) Network monitoring system and network monitoring method
CN107404421A (en) Flow monitoring, monitoring and managing method and system
CN101741739B (en) Method and device for counting messages of output/input port of exchange equipment
CN103518354B (en) The detection method of network equipment, communication system and exceptional communication
CN104486153B (en) A kind of transformer station process layer network transmission performance monitoring method based on FPGA
CN109802838A (en) A kind of method and apparatus of convergent billing
CN106254338B (en) Message detecting method and device
CN103260190B (en) Based on the method for auditing safely of LTE long evolving system network
CN103959715B (en) For testing the mthods, systems and devices of DIAMETER routing nodes
CN107689958A (en) A kind of network audit subsystem applied to cloud auditing system
US8826296B2 (en) Method of supervising a plurality of units in a communications network
EP3203693A1 (en) User message forwarding control method and processing node
KR20120008478A (en) 10 gbps scalable flow generation and control, using dynamic classification with 3-level aggregation
CN103731316B (en) A kind of flow-monitoring device and method
CN108199887A (en) A kind of string control card implementation method, device and collection bunchiness control card
WO2017070965A1 (en) Data processing method based on software defined network and related device
CN110417656A (en) A kind of QoS guarantee system and method based on SDN network
CN110290124A (en) A kind of interchanger inbound port blocking-up method and device
CN104243226B (en) Flow statistical method and device
CN110798345A (en) Network flow monitoring and analyzing equipment based on ZYNQ
CN106878340A (en) A kind of comprehensive safety monitoring analysis system based on network traffics
CN108063764A (en) A kind of network traffics treating method and apparatus

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