CN102130836A - Method and system for reversely notifying layer 3 protocol of message forwarding - Google Patents

Method and system for reversely notifying layer 3 protocol of message forwarding Download PDF

Info

Publication number
CN102130836A
CN102130836A CN2011100708717A CN201110070871A CN102130836A CN 102130836 A CN102130836 A CN 102130836A CN 2011100708717 A CN2011100708717 A CN 2011100708717A CN 201110070871 A CN201110070871 A CN 201110070871A CN 102130836 A CN102130836 A CN 102130836A
Authority
CN
China
Prior art keywords
backward supervision
clauses
subclauses
rmarp
supervision
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011100708717A
Other languages
Chinese (zh)
Inventor
于立元
金飞蔡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2011100708717A priority Critical patent/CN102130836A/en
Publication of CN102130836A publication Critical patent/CN102130836A/en
Priority to PCT/CN2011/081205 priority patent/WO2012126244A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • 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/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/325Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the network layer [OSI layer 3], e.g. X.25
    • 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/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC

Landscapes

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

Abstract

The invention discloses a method for notifying a layer 3 protocol of message forwarding. Reverse management is adopted, and comprises the following step of: comparing new reverse management items and original reverse management items, and if the new reverse management items are inconsistent with the original reverse management items, reversely notifying an upper-layer protocol, wherein the reverse management items comprise reverse management of address resolution protocol (RMARP) items and reverse management of medium access control (RMMAC) items. By the method, the communication quality can be improved.

Description

A kind of message is transmitted the method and system of counter-notification three layer protocols
Technical field
The present invention relates to communication field, particularly a kind of message is transmitted the method and system of counter-notification three layer protocols.
Background technology
ARP (Address Resolution Protocol, address resolution protocol) promptly becomes physical address to the Internet address transition of machine.When propagating, the IP packet to pass through physical network one by one in the Internet, when arriving the purpose network, to give destination host packet by last physical network, and data need the physical address of machine during by physical network, what datagram transmission was used is the IP address of machine, therefore, need a kind of mechanism the IP address transition of machine is become physical address.Though the ARP agreement is three layer protocols, because the ARP agreement is a bridge mutual between two or three layers, people often are called 2.5 layer protocols to the ARP agreement again.
MAC (Media Access Control, medium access control), why switch can directly send packet to destination node, rather than with broadcast mode all nodes are sent packet as hub, the technology of most critical is exactly that switch can be discerned each the node MAC Address of Network Card that is connected on the network, and they are put into a place that is called mac address table.
Mac address table is deposited in the buffer memory of switch, when needs when destination address sends data, switch is searched the node location of this MAC Address in mac address table, directly the node to this position sends data then, and promptly switch carries out the message forwarding according to MAC Address
MAC Address has uniqueness, and this has guaranteed the correct forwarding of message.In fact, each switch is all being safeguarded a mac address table, and the list item of mac address table as long as MAC Address is identical with VLAN ID, is just thought same list item by MAC Address and VLAN ID uniquely identified.In this MAC table, the port of MAC Address and switch is corresponding one by one.When switch is received Frame, decide the corresponding port of this Frame being filtered or being forwarded to switch according to mac address table.Mac address table is basis and the prerequisite that switch is realized forwarding fast, and the MAC agreement is a two-layer protocol.
As shown in Figure 1, three layers of clean culture IP message send or transmit basic principle and are: at first next is jumped and outgoing interface (three layers of mouth) according to routing table lookup with purpose IP, search purpose MAC with next jumping and outgoing interface (three layers of mouth) according to the ARP table, find out interface (two layers of mouth) with purpose MAC according to MAC table, use the VLAN ID in the ARP table or search the MAC table by the VLAN ID of upper-layer protocol appointment.
Three layer protocols all are based on three layers of deployment, and three layer protocols only should be concerned about three layers of variation in theory, yet in fact three layers when not changing, also might exert an influence for example following this situation to three layer protocols.
As shown in Figure 2, a VLAN (Virtual Local Area Network, VLAN) comprises two physics mouth: LSP (Label Switched Path in, label switched path) specifies three layer interface VLAN1 converting flows, multipotency is transmitted the 1000+100=1100M flow on three layers of mouth VLAN1, according to transmitting principle, if next jumping that LSP calculates is same IP address, when the MAC of perhaps all IP address correspondences is identical, flow only can forward from two layers of physical port, at this moment the actual transfer capability of three laminar flow amounts is not the transfer capability of three layers of VLAN1 interface just, but the transfer capability of actual two layers of physics outgoing interface.Suppose that LSP specifies next-hop IP 1, corresponding A RP1, corresponding MAC1, final corresponding outgoing interface gei_2/1 (gigabit physics mouth), MAC1 is moved to fei_1/1 (100,000,000 physics mouth) for a certain reason, flow is moved to fei_1/1 thereupon, if the minimum bandwidth that LSP needs is 200M, then fei_1/1 just can not satisfy the performance index that three laminar flow amounts are transmitted, need this moment QoS (Quality of Service, service quality) notice LSP to reselect three layers of mouth VLAN2 that can satisfy performance index and carry out the flow forwarding.
Can see that from above example three laminar flow amounts are transmitted and are necessary to know two layers actual networking, need and handle accordingly according to the variation of two layers of outgoing interface.Promptly three layers of clean culture IP message send or transmit according to ARP table and MAC table, just must be subjected to the influence that ARP shows and the MAC table changes, counter-notification three layer protocol methods when still not having ARP table and the variation of MAC table in the prior art.
Summary of the invention
The invention provides a kind of message and transmit the method for counter-notification three layer protocols, can improve the quality of communication.
For solving the problems of the technologies described above, the present invention has adopted following technical scheme:
On the one hand, the invention discloses a kind of message and transmit the method for notifying three layer protocols, adopt backward supervision, described backward supervision comprises following steps:
Newer backward supervision clauses and subclauses and original backward supervision clauses and subclauses, if both are inconsistent, counter-notification upper-layer protocol then;
Described backward supervision clauses and subclauses comprise address resolution protocol backward supervision RMARP clauses and subclauses and medium access control backward supervision RMMAC clauses and subclauses.
Above-mentioned message is transmitted among the embodiment of the method for notifying three layer protocols, and described address resolution protocol backward supervision RMARP clauses and subclauses generate as follows:
Three layer protocols are to address resolution protocol backward supervision RMARP registration calculated address analysis protocol backward supervision RMARP clauses and subclauses;
Address resolution protocol backward supervision RMARP fills address resolution protocol backward supervision RMARP bar information now according to the corresponding address analysis protocol ARP information that reads.
Above-mentioned message is transmitted among the embodiment of the method for notifying three layer protocols, and described medium access control backward supervision RMMAC clauses and subclauses generate as follows:
Address resolution protocol backward supervision RMARP generates medium access control backward supervision RMMAC clauses and subclauses to medium access control backward supervision RMMAC registration;
Medium access control backward supervision RMMAC is according to the medium access control MAC information of the correspondence that reads, filled media access control backward supervision RMMAC bar information now.
Above-mentioned message is transmitted among the embodiment of the method for notifying three layer protocols, when new address resolution protocol backward supervision RMARP clauses and subclauses and original address analysis protocol backward supervision RMARP clauses and subclauses inconsistent, by address resolution protocol backward supervision RMARP counter-notification three layer protocols;
When new medium access control backward supervision RMMAC clauses and subclauses and original medium access control backward supervision RMMAC clauses and subclauses are inconsistent, by medium access control backward supervision RMMAC counter-notification address resolution protocol backward supervision RMARP, again by address resolution protocol backward supervision RMARP counter-notification three layer protocols.
Above-mentioned message is transmitted among the embodiment of the method for notifying three layer protocols, and the address resolution protocol backward supervision RMARP bar information now of described filling comprises medium access control MAC information and virtual LAN VLAN information;
The medium access control backward supervision RMMAC bar information now of described filling comprises two layers of outlet, interface message.
Above-mentioned message is transmitted among the embodiment of the method for notifying three layer protocols, is assigned the protocol-identifier position according to different upper-layer protocols in the clauses and subclauses that registration generates, i.e. the registration position.
Above-mentioned message is transmitted among the embodiment of the method for notifying three layer protocols, and described backward supervision adopts the notify status machine to handle its input and output.
Above-mentioned message is transmitted among the embodiment of the method for notifying three layer protocols, and the input of described backward supervision comprises: the registration of three layer protocols and cancel register, the variation of the variation of ARP, medium access control MAC;
The output of described backward supervision comprises: the variation of medium access control MAC, virtual LAN VLAN, two layers of outgoing interface.
On the other hand, the invention also discloses a kind of message and transmit the system that notifies three layer protocols, comprise the backward supervision module, described backward supervision module is used for newer backward supervision clauses and subclauses and original backward supervision clauses and subclauses, if both are inconsistent, then the counter-notification upper-layer protocol;
Described backward supervision clauses and subclauses comprise address resolution protocol backward supervision RMARP clauses and subclauses and medium access control backward supervision RMMAC clauses and subclauses.
Above-mentioned message is transmitted and is notified among the embodiment of three layer protocol systems, described backward supervision module comprises three layer protocols registration filling submodule, is used for three layer protocols to address resolution protocol backward supervision RMARP registration calculated address analysis protocol backward supervision RMARP clauses and subclauses;
Also be used for address resolution protocol backward supervision RMARP according to the corresponding address analysis protocol ARP information that reads, fill address resolution protocol backward supervision RMARP bar information now.
Described backward supervision module also comprises address resolution protocol backward supervision RMARP registration filling submodule, is used for address resolution protocol backward supervision RMARP and generates medium access control backward supervision RMMAC clauses and subclauses to medium access control backward supervision RMMAC registration;
Also be used for the medium access control MAC information of medium access control backward supervision RMMAC, filled media access control backward supervision RMMAC bar information now according to the correspondence that reads.
Compare with prior art, beneficial effect of the present invention is:
The invention discloses a kind of message and transmit the method for notifying three layer protocols, adopt backward supervision, comprise following steps: newer backward supervision clauses and subclauses and original backward supervision clauses and subclauses, inconsistent as if both, counter-notification upper-layer protocol then; Described backward supervision clauses and subclauses comprise address resolution protocol backward supervision RMARP clauses and subclauses and medium access control backward supervision RMMAC clauses and subclauses.The method that the present invention adopts, can be when ARP table and the variation of MAC table counter-notification three layer protocols effectively, realize the purpose of two layers of variation of three layer protocol perception can improving communication quality.
Description of drawings
Fig. 1 has exemplarily described two, three layer protocols forwarding schematic diagram in the prior art;
Fig. 2 has exemplarily described in the prior art, and three layer protocols are transmitted and relied on the schematic diagram that two layers of outgoing interface change;
Fig. 3 has exemplarily described login mechanism flow chart of the present invention;
Fig. 4 has exemplarily described RMARP Data Source schematic diagram of the present invention;
Fig. 5 has exemplarily described RMMAC Data Source schematic diagram of the present invention;
Fig. 6 has exemplarily described message of the present invention and has transmitted the overview flow chart of notifying three layer protocol methods;
Fig. 7 has exemplarily described message of the present invention and has transmitted the particular flow sheet of notifying three layer protocol methods;
Fig. 8 has exemplarily described message of the present invention and has transmitted the structure chart of notifying three layer protocol systems.
Embodiment
The invention discloses a kind of message and transmit the method for notifying three layer protocols, adopt backward supervision, backward supervision specifically comprises following steps:
Newer backward supervision clauses and subclauses and original backward supervision clauses and subclauses, if both are inconsistent, counter-notification upper-layer protocol then;
Described backward supervision clauses and subclauses comprise address resolution protocol backward supervision RMARP clauses and subclauses and medium access control backward supervision RMMAC clauses and subclauses.
In this manual, for convenience of explanation, RMARP is abbreviated as RMARP with the address resolution protocol backward supervision; RMMAC is abbreviated as RMMAC with the medium access control backward supervision.In like manner, ARP abbreviates ARP as, and medium access control MAC abbreviates MAC as.
Contrast accompanying drawing and the present invention is further elaborated below in conjunction with embodiment.
Embodiment one:
The backward supervision clauses and subclauses comprise address resolution protocol backward supervision RMARP clauses and subclauses and medium access control backward supervision RMMAC clauses and subclauses.
Address resolution protocol backward supervision RMARP clauses and subclauses generate as follows:
Three layer protocols are to address resolution protocol backward supervision RMARP registration calculated address analysis protocol backward supervision RMARP clauses and subclauses;
Address resolution protocol backward supervision RMARP fills address resolution protocol backward supervision RMARP bar information now according to the corresponding address analysis protocol ARP information that reads.
Medium access control backward supervision RMMAC clauses and subclauses generate as follows:
Address resolution protocol backward supervision RMARP generates medium access control backward supervision RMMAC clauses and subclauses to medium access control backward supervision RMMAC registration;
Medium access control backward supervision RMMAC is according to the medium access control MAC information of the correspondence that reads, filled media access control backward supervision RMMAC bar information now.
Describe login mechanism below in detail.
In the present embodiment, relate to two kinds of registrations, one is that three layer protocol modules are registered to RMARP, the 2nd, and RMARP registers to RMMAC.
The result of registration and cancel register is:
The result of registration adds registry entries; The result of cancel register is the deletion registry entries.
Registration interface: the registration interface index of three layer protocol modules and RMARP is three layer interfaces and next jumping; The registration interface index of RMARP and RMMAC is MAC and VLAN ID.
Be assigned the protocol-identifier position according to different upper-layer protocols in the clauses and subclauses that registration generates, i.e. the registration position.
Registry entries is that upper strata Registering modules notice generates, in order to distinguish the registry entries that generates with multiplexing not upper layer Registering modules notice, need be at different three layer protocol distributorship agreements sign positions, and we claim this protocol-identifier position to be the registration position.
During registration, can not create once more, directly do exclusive disjunction with the registration position if registry entries has just been created; If registry entries does not exist, create registry entries earlier, do exclusive disjunction with the registration position again;
During registration, if registry entries does not exist, generate registry entries, default data is 0, reading corresponding data, and the information change of event handling notify status machine operation back discovery registry entries just can be adjusted back notice, does not change and does not notify;
During registration, if registry entries exists, can the regeneration registry entries, can not adjust back notice more yet, need upper-layer protocol module direct data of inquiry and registration clauses and subclauses after registration;
During repeated registration, directly return;
During cancel register, do and computing with the radix-minus-one complement of registration position;
Behind the cancel register,, then delete registry entries,, then do not delete registry entries if the registration position of registry entries is not 0 if the registration position of registry entries has been 0.
Adopt login mechanism, shareable data is saved the space, is convenient to simultaneously realize.
Login mechanism belongs to the external interface mechanism of RMARP and RMMAC, RMARP and this mechanism of RMMAC reusable.Simultaneously, independent fully between the log-in protocol of upper strata, avoided interference each other.
Fig. 3 is a login mechanism flow chart of the present invention, is example with PMARP:
Three layer protocol A registration generates RMARP registry entries 1, has preserved the registration position A of three layer protocol A correspondences in the registry entries 1; During RMARP clauses and subclauses change notification three layer protocols, only can adjust back three layer protocol A of notice registration position A correspondence.
Three layer protocol A, B, C registration generate RMARP registry entries 2, have preserved three layer protocol A, B, the registration position A of C correspondence, B, C in the registry entries 2; The registration bit table is understood current three protocol registrations that had, but can not write down the sequencing of three protocol registrations, and which three layer protocol whether can not write down has once deleted the back repeated registration; During RMARP clauses and subclauses change notification three layer protocols, only can adjust back notice registration position A, B, three layer protocol A of C correspondence, B, C, the order of readjustment is irrelevant according to the registration order of the order readjustment of three layer protocol A, B, C registered callbacks function and registry entries.
Three layer protocol B, C registration generates registry entries 3, preserved registration position B, the C of three layer protocol B, C correspondence in the registry entries 3; The registration bit table is understood current two protocol registrations that had, but can not write down the sequencing of two protocol registrations, whether can not write down has which three layer protocol repeated registration behind the cancel register once, can not write down whether have which three layer protocol once to register after cancel register again; During RMARP clauses and subclauses change notification three layer protocols, only can adjust back three layer protocol B, the C of notice registration position B, C correspondence, the order of readjustment is irrelevant according to the registration order of the order readjustment of three layer protocol A, B, C registered callbacks function and registry entries.
Three layer protocols were once registered and were generated registry entries 4, and the registration position in the registry entries 4 is 0; Registry entries 4 is the registry entries that will delete, when delete last registration position, and the deletion registry entries.
Embodiment two:
The message of one embodiment of the present of invention is transmitted and is notified in the method for three layer protocols, adopts backward supervision, and described backward supervision adopts the notify status machine to handle its input and output.
The input of described backward supervision comprises: the registration of three layer protocols and cancel register, the variation of the variation of ARP, medium access control MAC;
The output of described backward supervision comprises: the variation of medium access control MAC, virtual LAN VLAN, two layers of outgoing interface.
Event handling notify status machine in fact only be concerned about self list item foundation, search, read, smoothly, data variation, destruction, the definition of input and output, differentiation, transparent transmission, in fact and be indifferent to the concrete implication of these input and output.This just requires event handling notify status machine to use public description as far as possible.
During from list item generation beginning, except index, initial data and new data are 0; Analyze and exhaustive all can cause the incoming event of data variation; After incoming event is handled, call data front and back contrast function and data are changed the output of calculating and obtain state machine, the readjustment upper-layer protocol.
Two layers of outgoing interface of the input of RMARP: RMMAC change; The ARP module generates arp entry (next jumping+three layer outgoing interface), deletion arp entry (next jumping+three layer outgoing interface), upgrades arp entry (MAC or VLAN ID change).
The MAC of the output of RMARP: RMARP changes; The VLAN of RMARP changes; Two layers of outgoing interface of RMARP change.
The input of RMMAC: the MAC module is added MAC clauses and subclauses (MAC+VLAN ID), deletion MAC clauses and subclauses (MAC+VLAN ID), is upgraded the MAC clauses and subclauses (two layers of outgoing interface change)
Two layers of outgoing interface of the output of RMMAC: RMMAC change.
As shown in Figure 4, RMARP Data Source of the present invention is specially:
The RMARP clauses and subclauses all are that the registration of three layer protocols generates;
Three layer interfaces and IP address bring RMARP module when all being the registration of three layer protocols, are the index of RMARP clauses and subclauses;
The MAC of RMARP clauses and subclauses, vlan information all obtain from the ARP module;
Two layers of outgoing interface information of RMARP clauses and subclauses are obtained from the RMMAC module.
As shown in Figure 5, RMMAC Data Source of the present invention is specially:
The RMMAC clauses and subclauses all are that the registration of RMARP generates;
MAC, VLAN bring RMMAC module when all being the RMARP registration, are the index of RMMAC clauses and subclauses;
Two layers of outgoing interface information of RMMAC clauses and subclauses are obtained from the MAC module.
Embodiment three:
The message of one embodiment of the invention is transmitted and is notified in the method for three layer protocols, and newer backward supervision clauses and subclauses and original backward supervision clauses and subclauses if both are inconsistent, are then notified upper-layer protocol, specifically comprise two kinds:
When new address resolution protocol backward supervision RMARP clauses and subclauses and original address analysis protocol backward supervision RMARP clauses and subclauses inconsistent, by address resolution protocol backward supervision RMARP counter-notification three layer protocols;
When new medium access control backward supervision RMMAC clauses and subclauses and original medium access control backward supervision RMMAC clauses and subclauses are inconsistent, by medium access control backward supervision RMMAC counter-notification address resolution protocol backward supervision RMARP, again by address resolution protocol backward supervision RMARP counter-notification three layer protocols.
RMMAC counter-notification RMARP, RMARP counter-notification three layer protocols all adopt informing mechanism, and informing mechanism adopts the management of readjustment chained list.
Following simple declaration call back function chained list Management Mechanism.
The internal memory application of call back function structure, global memory's form is adopted in suggestion;
Must guarantee before registry entries, to finish the call back function registration as far as possible;
Can be when initialization the registered callbacks function, also can dynamic registration;
The call back function cancel register is provided, but generally can use;
Must import upper-layer protocol call back function sign position during registration.
Whether call back function can be called to depends on:
Whether the clauses and subclauses of current index correspondence exist event notice;
Registered callbacks function whether;
The sign position of clauses and subclauses and the sign position of call back function Registering modules with after whether be non-0;
The limitation of call back function mechanism: can give Registering modules all event notices, according to concrete application decision which type of processing be specific incident taked by Registering modules.
Linear function calls might adjust back large batch of incident, therefore needs the buffer memory incident.
Among the present invention, also relating to reverse inquiry mechanism, is that example describes below with RMARP:
Oppositely the difficult point of inquiry mechanism is same MAC+VLAN ID, might inquire a plurality of three layer interfaces+next jumping by RMARP, and number is indefinite, might have only one, also might have a lot of.
Concrete agreement always wishes only to find one three layer interface+next jumping by a MAC+VLAN ID, this just need be provided with the discrimination bit difference of different agreement, as long as guarantee that the MAC+VLAN ID of three layer interfaces+next jumping selection that specific protocol is concerned about is all inequality.For example: agreement A only registers three layers of mouth of an IP+, and RMARP only can notify three layers of mouth of IP+ of registration.If register the corresponding same MAC+VLAN of three layers of mouth of a plurality of IP+ certainly, RMARP also just handles and does not know clearly, and evades so this situation also wants each concrete agreement to be configured.
It should be noted that registration just can provide reverse inquiry, not registration, and this module is inquired about less than any result from RMARP.
Embodiment four:
As shown in Figure 6, message of the present invention is transmitted an embodiment of the method for notifying three layer protocols, and overall process flow comprises following steps:
Step 101, newer backward supervision clauses and subclauses and original backward supervision clauses and subclauses;
Step 102 is if both unanimities then remain unchanged.
Step 103, if both are inconsistent, counter-notification upper-layer protocol then.
As shown in Figure 7, the message of this method is transmitted an embodiment of the method for notifying three layer protocols, and concrete handling process comprises following steps:
Step 201, backward supervision input, the input of aforesaid RMARP or the input of RMMAC.
Step 202 keeps the preceding backward supervision clauses and subclauses initial data of backward supervision input constant.
Original data storage is in the initial data district, and the data in initial data district are copied to the new data district.
Step 203 if ARP or MAC change, is then obtained new backward supervision entry data.
The new backward supervision management clauses and subclauses of obtaining are updated to the new data district.
Step 204 is added new backward supervision clauses and subclauses in the notice of delay chained list to.
With the backward supervision clauses and subclauses add in the notice of delay chained list be for fear of variation in enormous quantities upper-layer protocol produce is impacted or frequent variations to the concussion that upper-layer protocol produces, kept the stable of system.
Step 205 judges whether new backward supervision clauses and subclauses are consistent with original backward supervision clauses and subclauses, if the consistent step 206 of changeing, if inconsistent commentaries on classics step 207;
Step 206 does not need to notify upper-layer protocol, if the backward supervision clauses and subclauses in notice of delay chained list, then remove from notice of delay chained list, turns to step 208;
Step 207, the output of calculating backward supervision, the output of the output of RMARP or RMMAC as mentioned above;
Step 208, notice of delay timer expiry;
Step 209, the backward supervision clauses and subclauses in the processing delay notice chained list, and counter-notification upper-layer protocol;
Step 210 behind the counter-notification upper-layer protocol, uses new backward supervision clauses and subclauses to cover original backward supervision clauses and subclauses;
Step 211 finishes.
Embodiment five:
As shown in Figure 8, the message of one embodiment of the invention is transmitted the system that notifies three layer protocols, comprises the backward supervision module, and described backward supervision module is used for newer backward supervision clauses and subclauses and original backward supervision clauses and subclauses, if both are inconsistent, then notifies upper-layer protocol;
Described backward supervision clauses and subclauses comprise address resolution protocol backward supervision RMARP clauses and subclauses and medium access control backward supervision RMMAC clauses and subclauses.
The message of one embodiment of the invention is transmitted and is notified in the system of three layer protocols, described backward supervision module comprises three layer protocols registration filling submodule, is used for three layer protocols to address resolution protocol backward supervision RMARP registration calculated address analysis protocol backward supervision RMARP clauses and subclauses;
Also be used for address resolution protocol backward supervision RMARP according to the corresponding address analysis protocol ARP information that reads, fill address resolution protocol backward supervision RMARP bar information now.
Described backward supervision module also comprises address resolution protocol backward supervision RMARP registration filling submodule, is used for address resolution protocol backward supervision RMARP and generates medium access control backward supervision RMMAC clauses and subclauses to medium access control backward supervision RMMAC registration;
Also be used for the medium access control MAC information of medium access control backward supervision RMMAC, filled media access control backward supervision RMMAC bar information now according to the correspondence that reads.
The invention discloses a kind of message and transmit the method for notifying three layer protocols, adopt backward supervision, comprise following steps: newer backward supervision clauses and subclauses and original backward supervision clauses and subclauses, if both are inconsistent, then notify upper-layer protocol; Described backward supervision clauses and subclauses comprise address resolution protocol backward supervision RMARP clauses and subclauses and medium access control backward supervision RMMAC clauses and subclauses.The method that the present invention adopts, can be when ARP table and the variation of MAC table counter-notification three layer protocols effectively, realize the purpose of two layers of variation of three layer protocol perception can improving communication quality.
Above content be in conjunction with concrete execution mode to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (10)

1. a message is transmitted the method for notifying three layer protocols, it is characterized in that, adopts backward supervision, and described backward supervision comprises following steps:
Newer backward supervision clauses and subclauses and original backward supervision clauses and subclauses, if both are inconsistent, counter-notification upper-layer protocol then;
Described backward supervision clauses and subclauses comprise address resolution protocol backward supervision RMARP clauses and subclauses and medium access control backward supervision RMMAC clauses and subclauses.
2. message as claimed in claim 1 is transmitted the method for notifying three layer protocols, it is characterized in that described address resolution protocol backward supervision RMARP clauses and subclauses generate as follows:
Three layer protocols are to address resolution protocol backward supervision RMARP registration calculated address analysis protocol backward supervision RMARP clauses and subclauses;
Address resolution protocol backward supervision RMARP fills address resolution protocol backward supervision RMARP bar information now according to the corresponding address analysis protocol ARP information that reads.
3. message as claimed in claim 2 is transmitted the method for notifying three layer protocols, it is characterized in that described medium access control backward supervision RMMAC clauses and subclauses generate as follows:
Address resolution protocol backward supervision RMARP generates medium access control backward supervision RMMAC clauses and subclauses to medium access control backward supervision RMMAC registration;
Medium access control backward supervision RMMAC is according to the medium access control MAC information of the correspondence that reads, filled media access control backward supervision RMMAC bar information now.
4. message as claimed in claim 3 is transmitted the method for notifying three layer protocols, it is characterized in that, when new address resolution protocol backward supervision RMARP clauses and subclauses and original address analysis protocol backward supervision RMARP clauses and subclauses inconsistent, by address resolution protocol backward supervision RMARP counter-notification three layer protocols;
When new medium access control backward supervision RMMAC clauses and subclauses and original medium access control backward supervision RMMAC clauses and subclauses are inconsistent, by medium access control backward supervision RMMAC counter-notification address resolution protocol backward supervision RMARP, again by address resolution protocol backward supervision RMARP counter-notification three layer protocols.
5. message as claimed in claim 4 is transmitted the method for notifying three layer protocols, it is characterized in that the address resolution protocol backward supervision RMARP bar information now of described filling comprises medium access control MAC information and virtual LAN VLAN information;
The medium access control backward supervision RMMAC bar information now of described filling comprises two layers of outlet, interface message.
6. message as claimed in claim 5 is transmitted the method for notifying three layer protocols, it is characterized in that, is assigned the protocol-identifier position according to different upper-layer protocols in the clauses and subclauses that registration generates, i.e. the registration position.
7. message as claimed in claim 6 is transmitted the method for notifying three layer protocols, it is characterized in that, described backward supervision adopts the notify status machine to handle its input and output.
8. message as claimed in claim 7 is transmitted the method for notifying three layer protocols, it is characterized in that the input of described backward supervision comprises: the registration of three layer protocols and cancel register, the variation of the variation of ARP, medium access control MAC;
The output of described backward supervision comprises: the variation of medium access control MAC, virtual LAN VLAN, two layers of outgoing interface.
9. a message is transmitted the system that notifies three layer protocols, it is characterized in that comprise the backward supervision module, described backward supervision module is used for newer backward supervision clauses and subclauses and original backward supervision clauses and subclauses, and is inconsistent as if both, then the counter-notification upper-layer protocol;
Described backward supervision clauses and subclauses comprise address resolution protocol backward supervision RMARP clauses and subclauses and medium access control backward supervision RMMAC clauses and subclauses.
10. message as claimed in claim 9 is transmitted the system that notifies three layer protocols, it is characterized in that, described backward supervision module comprises three layer protocols registration filling submodule, is used for three layer protocols to address resolution protocol backward supervision RMARP registration calculated address analysis protocol backward supervision RMARP clauses and subclauses;
Also be used for address resolution protocol backward supervision RMARP according to the corresponding address analysis protocol ARP information that reads, fill address resolution protocol backward supervision RMARP bar information now.
Described backward supervision module also comprises address resolution protocol backward supervision RMARP registration filling submodule, is used for address resolution protocol backward supervision RMARP and generates medium access control backward supervision RMMAC clauses and subclauses to medium access control backward supervision RMMAC registration;
Also be used for the medium access control MAC information of medium access control backward supervision RMMAC, filled media access control backward supervision RMMAC bar information now according to the correspondence that reads.
CN2011100708717A 2011-03-23 2011-03-23 Method and system for reversely notifying layer 3 protocol of message forwarding Pending CN102130836A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2011100708717A CN102130836A (en) 2011-03-23 2011-03-23 Method and system for reversely notifying layer 3 protocol of message forwarding
PCT/CN2011/081205 WO2012126244A1 (en) 2011-03-23 2011-10-24 Message forwarding method and system for reversely notifying layer 3 protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100708717A CN102130836A (en) 2011-03-23 2011-03-23 Method and system for reversely notifying layer 3 protocol of message forwarding

Publications (1)

Publication Number Publication Date
CN102130836A true CN102130836A (en) 2011-07-20

Family

ID=44268730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100708717A Pending CN102130836A (en) 2011-03-23 2011-03-23 Method and system for reversely notifying layer 3 protocol of message forwarding

Country Status (2)

Country Link
CN (1) CN102130836A (en)
WO (1) WO2012126244A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012126244A1 (en) * 2011-03-23 2012-09-27 中兴通讯股份有限公司 Message forwarding method and system for reversely notifying layer 3 protocol

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072210A (en) * 2006-05-10 2007-11-14 中兴通讯股份有限公司 Method for realizing two-layer VPN and three-layer VPN interconnecting and interworking
CN101115006A (en) * 2007-08-21 2008-01-30 杭州华三通信技术有限公司 Three-layer packet forwarding method and routing device and two-layer switch module
CN101127709A (en) * 2007-09-26 2008-02-20 杭州华三通信技术有限公司 A method and device for updating port address in address parsing protocol table
CN101610221A (en) * 2009-07-23 2009-12-23 杭州华三通信技术有限公司 IP unicast took over seamlessly when a kind of STP switched method and device
US20100088399A1 (en) * 2008-10-03 2010-04-08 Yoel Gluck Enterprise security setup with prequalified and authenticated peer group enabled for secure DHCP and secure ARP/RARP

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1330139C (en) * 2003-07-31 2007-08-01 华为技术有限公司 Method for supporting multi-port virtual LAN by multi-protocol label swtich
CN102130836A (en) * 2011-03-23 2011-07-20 中兴通讯股份有限公司 Method and system for reversely notifying layer 3 protocol of message forwarding

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072210A (en) * 2006-05-10 2007-11-14 中兴通讯股份有限公司 Method for realizing two-layer VPN and three-layer VPN interconnecting and interworking
CN101115006A (en) * 2007-08-21 2008-01-30 杭州华三通信技术有限公司 Three-layer packet forwarding method and routing device and two-layer switch module
CN101127709A (en) * 2007-09-26 2008-02-20 杭州华三通信技术有限公司 A method and device for updating port address in address parsing protocol table
US20100088399A1 (en) * 2008-10-03 2010-04-08 Yoel Gluck Enterprise security setup with prequalified and authenticated peer group enabled for secure DHCP and secure ARP/RARP
CN101610221A (en) * 2009-07-23 2009-12-23 杭州华三通信技术有限公司 IP unicast took over seamlessly when a kind of STP switched method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012126244A1 (en) * 2011-03-23 2012-09-27 中兴通讯股份有限公司 Message forwarding method and system for reversely notifying layer 3 protocol

Also Published As

Publication number Publication date
WO2012126244A1 (en) 2012-09-27

Similar Documents

Publication Publication Date Title
US11095513B2 (en) Scalable controller for hardware VTEPs
US10164883B2 (en) System and method for flow management in software-defined networks
KR102205882B1 (en) System and method for routing traffic between distinct infiniband subnets based on fat-tree routing
JP4454499B2 (en) Transmission system with functionality of multiple logical sub-transmission systems
CN107395532B (en) Multi-tenant virtual network isolation method based on SDN
CN1875585B (en) Dynamic unknown L2 flooding control with MAC limits
US9106443B2 (en) Forwarding table optimization with flow data
RU2612599C1 (en) Control device, communication system, method for controlling switches and program
US9065745B2 (en) Network traffic distribution
US8615015B1 (en) Apparatus, systems and methods for aggregate routes within a communications network
EP2915315B1 (en) Otv scaling using site virtual mac addresses
CN100563215C (en) A kind of packet routing switch device and method thereof
US20110222538A1 (en) Method and System for L3 Bridging Using L3-To-L2 Mapping Database
CN105391635A (en) Network virtualization method based on software defined network (SDN)
US20150372918A1 (en) System and method for providing congestion notification in layer 3 networks
CN103957157A (en) Route method for network interface to define forwarding rule
US10523629B2 (en) Control apparatus, communication system, communication method, and program
KR20220160639A (en) Message interaction methods, devices, facilities and storage media
US20120106555A1 (en) Low latency carrier class switch-router
EP2946535B1 (en) Msdc scaling through on-demand path update
FI124398B (en) Method and apparatus for determining implementation of a search table for a network element of software-defined network
CN102130836A (en) Method and system for reversely notifying layer 3 protocol of message forwarding
CN108833284A (en) A kind of communication means and device of cloud platform and IDC network
EP2753033B1 (en) A method and a device for defining a look-up system for a network element of a software-defined network
CN115865802B (en) Flow mirroring method and device of virtual instance, virtual machine platform and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110720