Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Below by drawings and Examples, the technical scheme of the embodiment of the present invention is described in further detail.
Fig. 2 is the structural representation of communication network in the embodiment of the present invention.As shown in Figure 2, this communication network is by least two fringe nodes (fringe node A and fringe node B) and at least one intermediate node.It should be noted that, in real network system, also may be only comprise two fringe nodes, direct interconnection between fringe node, and do not need intermediate node, in addition, a fringe node may be connected with two and above intermediate node, and intermediate node also likely with two and above fringe node are connected.
In Fig. 2, fringe node A includes the process (being called bilateral network) of circuit transmitter side and line receiver side both direction.Wherein, line side refers to the side that equipment is connected with the network of device build, and it corresponds to customer side, and customer side refers to the side of equipment access client signal.
It should be noted that, network can only support unidirectional process, such as fringe node A only includes the process of the business datum of circuit transmitter side, fringe node B only includes the process (in unilateral network, the process of some control informations is possible or two-way) of the business datum of line receiver side.The application scenarios of this simplification still exists in present network, and the simplification of relevant device is also apparent, therefore repeats no more.
The process (apparent, the process in the line receiver direction of fringe node A is similar, repeats no more) of business data transmission and process is described for the circuit sending direction of fringe node A:
After fringe node A accesses the business datum of customer side input, business datum is encapsulated into OB (Optical Burst, light happens suddenly)
In, and the Information encapsulation controlling accordingly to be correlated with is entered in the first control information; Then, OB and control information are sent in network by fringe node A, give intermediate node.Wherein, fringe node sends OB with the cycle determined.Further, comprise the first label information that described OB is corresponding in the first described control information, described first control information or the first label information can carry the positional information of described OB in the described cycle determined.
Intermediate node receives the first control information that fringe node A sends, and with the OB that the cycle determined sends for benchmark reception fringe node A, comprises the first label information that described OB is corresponding in described first control information; Transmit according to described first label information inquiry mark, obtain the forwarding information of described OB; According to described forwarding information, described OB is forwarded at photosphere.As previously mentioned, carry the positional information of described OB corresponding to described label information in the described cycle determined in described first control information that fringe node sends or the first label information, the first control information or first label information of therefore intermediate node reception also have identical feature.
Further, the second label information corresponding to described OB is obtained according to described forwarding information;
Described second label information is encapsulated in the second control information, described second control information is sent to downstream node, and with the cycle determined for described OB is sent to downstream node by benchmark.
Fringe node B receives the second control information that intermediate node sends, and with the OB of the cycle determined described intermediate node transmission for benchmark receives;
Decapsulation is carried out to the OB from described upstream node received, extracts the business datum exported.
Be understandable that, in above-mentioned network, intermediate node can have multiple, then fringe node B receive should be directly be connected with it intermediate node transmission control information and OB.Under this situation, in network, the relevant process of each node is similar, repeats no more.
Further, also likely there is not intermediate node in network, now fringe node B directly receives the first control information and OB that fringe node A sends, and the relevant treatment of fringe node A and fringe node B is also similar, repeats no more.
As shown in Figure 5, be the first embodiment schematic flow sheet of data transferring method provided by the invention, the intermediate node in the method application communication network, this data transferring method comprises:
Step S101, receives the first control information that upstream node sends, and with the OB of the cycle determined described upstream node transmission for benchmark receives, comprises the first label information that described OB is corresponding in described first control information;
For example, in the present embodiment, in described first control information or described first label information, carry the positional information of described OB corresponding to described first label information in the described cycle determined.
Fig. 3 is an embodiment schematic diagram of OB of the present invention and control information, in the present embodiment, carries and indicate the positional information of described OB in the cycle determined in described first control information
As shown in Figure 3, control information and OB adopt the cycle determined to send (and reception).Apparent, as long as the sequential between control information and OB can be arranged suitably properly, control information also can adopt the cycle determined to send, such as, time delay field is increased in control information, time delay relation (under this situation, control information just need not send according to the cycle determined) between control information and OB is described.Control information also adopts the cycle determined to send, and is conducive to node and carries out synchronization timing, simplifies control information process etc.
In figure 3, the length of the OB in one-period can be that different, different OB may represent different annexations.Such as, OB1 represents OB that fringe node A sends, that need fringe node B to receive; OB2 represents OB that another fringe node C sends, that need another fringe node D to receive; Etc..
As long as but each node is all process OB according to the cycle determined in network, then each node just can know the utilization power of bandwidth resources exactly, and can in concert with the cycle determined for benchmark operates accordingly, just can evade photosphere conflict or photosphere conflict is dropped to minimum.In the present embodiment, reasoning just can be known simply, as long as recognize the distributed intelligence of OB in advance by control information, can evade photosphere conflict equally.
In figure 3, the positional information of OB is indicated by the starting position in control information and end position, and that is, control information carries the positional information of OB in the cycle determined.
Apparently, in figure 3, the length of OB can be identical certainly.
Fig. 4 is another embodiment schematic diagram of OB of the present invention and control information, as shown in Figure 4, in the present embodiment, carries and indicate the order information of described OB in the cycle determined in described first label information.Described first control information and OB adopt cycle of determining to send, the length of described OB be all determine and identical.The sourcesink that different OB possibilities is corresponding different.Such as, OB1 represents OB that fringe node A sends, that need fringe node B to receive; OB2 represents OB that another fringe node C sends, that need another fringe node D to receive; Etc..
In Fig. 4, the specific implementation of described label information is label, and label is applicable to the situation adopting MPLS related protocol, apparently, if when adopting IP retransmission protocol, described label information can be IP address etc.
In the present embodiment, the length due to OB be determine and identical, therefore, OB just can indicate its positional information at the described order information determined in the cycle.For example, first, be aware of the bit rate of optical signal transmission, then according to the periodic quantity determined (in units of the time), just can know in one-period and comprise how many bytes (with the unit of byte number as the cycle in the description therefore).Suppose that the length of OB is x byte, y byte is spaced apart between OB, as long as so illustrate it is z the OB (calculating from 1) determined in the cycle, just can know described z OB from described determine (z-1) * (x+y)+1 byte in cycle, terminate to (z-1) * (x+y)+x byte.Z OB recited above be exactly OB at the described order information determined in the cycle, to which byte terminate to be exactly positional information from described which byte of the cycle determined.Therefore, in the present embodiment, actual is adopt label information to indicate the order information of OB in the cycle determined, thus has indirectly indicated the positional information of OB in the cycle determined.
Preferably, in the present embodiment, this node can with the first control information of the cycle determined described upstream node transmission for benchmark receives.Because the length of field each in control information can be decided in advance, the OB corresponding with control information therefore can be adopted to determine that cycle identical order places label information corresponding to OB (being label in Fig. 4).Such as, in Fig. 4, the corresponding OB1 of label 1, corresponding OB2 of label 2 etc.Therefore, in the present embodiment, label information is actual be adopt and the identical order of OB in the cycle determined to indicate the order information of OB in the described cycle determined, thus the positional information of instruction OB in the described cycle determined indirectly.
Apparently, it will be appreciated by those skilled in the art that, in the present embodiment, label information is identical dispensable with the order of OB in the cycle determined, lift a simple case, label information can adopt the contrary order with the OB of its correspondence in the cycle determined to indicate the order information of OB in the described cycle determined (such as, label n and OB1 correspondence, label 1 and OBn correspondence etc.).
Adopt the order of label information in the described cycle determined to indicate the order information of the OB of its correspondence in the described cycle determined, particularly both adopt identical order, the process of control information (label information) can be simplified, thus improve control information processing speed, accelerate forwarding speed, thus improve network throughput (lower photosphere collision probability or eliminate photosphere conflict).
Especially, OB adopts the cycle determined to carry out sending (and reception), and particularly in the present embodiment, the length of OB is determined and identical, can significantly reduce photosphere collision probability, even eliminate photosphere conflict.
Such as, at intermediate node, timeslot scheduling function is set, the non-blocking scheduling of the OB time slot in the present embodiment can be realized, also the OB namely in same period can be dispatched to arbitrarily any time slot at photosphere, and (such as OB1 is dispatched to time slot corresponding to OB4, OBn is dispatched to time slot corresponding to OB1, etc.).The length of OB is determined, means to adopt to determine that the delay unit of length carries out time delay at photosphere, and OB quantity is in one cycle limited, means that the light delay unit quantity realized needed for clog-free timeslot scheduling is limited.These all contribute to, and structure one is practical, relatively simple slot scheduling unit solution photosphere collision problem: after constructing a clog-free slot scheduling unit, just can adopt corresponding control plane technology, such as expand RSVP-TE (Resource Reservation Protocol-Trafc Engineering, support the RSVP of traffic engineering) etc., realize the distribution to bandwidth (the OB quantity of one-period can be quantified as), thus evade photosphere conflict completely.Certainly, also can carry out some expansions on this basis, relax the strict control to bandwidth, get a satisfactory balance between the two at business transmission delay and network throughput.
Step S102, transmits according to described first label information inquiry mark, obtains the forwarding information of described OB.Herein, it can be pre-configured that the mark in the present embodiment is transmitted, and also can generate according to the relevant information such as Routing Protocol, Label Distribution Protocol.Such as, it can be forwarding information table (FIB in similar IP retransmission technique that this mark is transmitted, Forward Information Base), or the label forwarding information table (LFIB, label forwarding information base) in similar MPLS switching technology.
In the embodiment adopting IP retransmission protocol, described label information comprises IP address and MAC Address, the signaling bag of being correlated with according to Routing Protocol and the Operations, Administration and Maintenance (OAM of link layer, operation, administration and maintenance) information generation route information table (RIB, routing information base), forwarding information table (FIB, forwarding information base) is generated again according to this route information table (RIB).
In the embodiment adopting MPLS exchange agreement, described label information is MPLS label, the signaling bag relevant according to Routing Protocol and link layer OAM information generate route information table (RIB), again according to route information table (RIB) and tag distribution protocol (LDP, label distribution protocol) relevant signaling bag and link layer OAM information generating labels forwarding information table (LFIB).
In the present embodiment, in step S101, after upstream node receives the first control information, from described first control information, extract the OAM information of signaling bag and OB layer; The OAM information of described OB layer is converted to the OAM information of link layer; And to set up according to the OAM information of described signaling bag and link layer and/or update mark is transmitted.
In the present embodiment, at described step S102, also namely transmit according to described first label information inquiry mark, also comprise after obtaining the step of the forwarding information of described OB: obtain the second label information corresponding to described OB according to described forwarding information; Described second label information is encapsulated in the second control information, described second control information is sent to downstream node, and with the cycle determined for described OB is sent to downstream node by benchmark.Preferably, with the described cycle determined for described second control information is sent to downstream node by benchmark.
When adopting Internet protocol (IP) retransmission protocol, described the second label information obtaining described OB corresponding according to described forwarding information can realize by the following method:
Obtain new media interviews according to described forwarding information and control (MAC) address and IP address, replace original MAC Address and IP address in described first label information with described new MAC Address and IP address, generate the second label information that described OB is corresponding;
When adopting multi-scalar multiplication (MPLS) agreement, then directly from described forwarding information, extract described second label information corresponding to described OB.Further, in the present embodiment, new signaling bag can be generated by relevant signaling protocol, and generate new link layer OAM information, convert described new link layer OAM information to new OB layer OAM information; And then described new signaling bag and new OB layer OAM Information encapsulation enter in described second control information.
Herein with described second control information and described first control information similar, the positional information of described OB corresponding to described second label information in the described cycle determined can be carried in described second control information or the second label information.
Step S103, forwards at photosphere described OB according to described forwarding information.
During concrete enforcement, can with the described cycle determined for benchmark forwards described OB.When this node receives the OB of another upstream node transmission with the cycle determined for benchmark, at photosphere, time delay is carried out to the described OB from upstream node and/or the OB from another upstream node, make the time interval that the described OB from upstream node and the alignment of the counting starting position in the described OB from another upstream node each self-corresponding described cycle determined or maintenance determine.It will be appreciated by those skilled in the art that, when this node receives the OB of other multiple upstream nodes transmissions with the cycle determined for benchmark, all by above-mentioned delay process, the time interval ensureing to determine from the alignment of counting starting position or the maintenance in OB each self-corresponding described cycle determined of multiple upstream node can be taken this.During concrete enforcement, light delay process and the photosphere of OB are forwarded and successively can be carried out by different devices, in Same Physical device, also can realize light time delay and photosphere forwarding simultaneously.
The OB that the present embodiment sent for benchmark reception upstream node with the cycle determined, then forwards.So just with the cycle determined for benchmark realizes the control of bandwidth resources, the dredging of time slot, thus photosphere collision probability can be reduced or eliminate photosphere conflict, improving network throughput.The method reducing photosphere collision probability or the conflict of elimination photosphere can illustrate see the embodiment of Fig. 3,4 correspondences, repeats no more here.Meanwhile, in the present embodiment, by transmitting, described OB being forwarded, being conducive to the statistic multiplexing realizing bandwidth, improve the level of resources utilization, improve network throughput further, namely improve photosphere transfer capability and the performance of communication network.
As shown in Figure 6, be the second embodiment schematic flow sheet of data transferring method provided by the invention, the fringe node in the method method application communication network, this data transferring method comprises:
Step S201, receives the business datum of input, encapsulates described business datum, generates OB;
Herein, the business datum of described input is the business datum from customer side.
Step S202, obtains the label information that described OB is corresponding; And inquiry mark transmits forwarding information corresponding to the described OB of acquisition;
Herein, described mark is transmitted identical with the first embodiment of aforementioned data transferring method provided by the invention, does not repeat them here.
Step S203, encapsulates in the first control information by described first label information corresponding with OB, sends described first control information to downstream node according to described forwarding information; And according to described forwarding information with the cycle determined for benchmark sends described OB to downstream node.
Alternatively, in the present embodiment, the positional information of described OB corresponding to described first label information in the described cycle determined is carried in described first control information or the first label information.Specific implementation method, see the first embodiment of data transferring method provided by the invention, can repeat no more.
Preferably, in the present embodiment, according to described forwarding information with the described cycle determined for described first control information is sent to downstream node by benchmark.As the first embodiment of data transferring method provided by the invention, described control information also can not with the cycle determined for benchmark sends.
The length of described OB is determined; The order information of OB in the described cycle determined of described first label information mark is carried in described first control information or described first label information; Or the order of the first label information in the described cycle determined is identical with the order of OB in the cycle determined that this first label information marks.Specific implementation, see the first embodiment of data transferring method provided by the invention.
In addition, in the present embodiment, this fringe node can also generate the first link layer OAM information according to related signaling protocol generation first signaling bag, convert described first link layer OAM information to OB layer OAM information, and then described first signaling bag and OB layer OAM Information encapsulation are entered in described first control information.
In the present embodiment, this fringe node also will receive the second control information of upstream node transmission, and with the OB of the cycle determined described upstream node transmission for benchmark receives, and then decapsulation is carried out to the OB from described upstream node received, extract the business datum exported.
Further, this node also will extract the second signaling bag and OB layer OAM information from described the second control information received, and the OB layer OAM information of described extraction is converted to the second link layer OAM information, and then according to described second signaling bag and/or described second link layer OAM information, set up and/or upgrade described mark and transmit.
Alternatively, this node can with second control information of the cycle determined for the transmission of benchmark reception upstream node.
As shown in Figure 7, be the first embodiment schematic diagram of a kind of node device provided by the invention, this node device is the intermediate node in communication network, and this node comprises, comprise receiving element 11, maintenance unit 12, forwarding information acquiring unit 13, retransmission unit 14, wherein:
Receiving element 11, for receiving the first control information that upstream node sends, and with the OB of the cycle determined described upstream node transmission for benchmark receives, comprises the first label information that described OB is corresponding in described first control information.This receiving element 11 comprises:
OB receiving element 111, for the OB that described upstream node sends for benchmark receives with the cycle determined.
Control information receiving element 112, for the first control information that described upstream node sends for benchmark receives with the cycle determined, comprises first label information corresponding with the OB that described OB receiving element receives in described first control information.
Alternatively, the positional information of described OB corresponding to described first label information in the described cycle determined is carried in described first control information or the first label information.Specific implementation method, see the first embodiment of data transferring method provided by the invention, can repeat no more here.
Forwarding information acquiring unit 13, transmits for connecing the 11 described first label information inquiry marks received according to described receiving element, obtains the forwarding information of described OB.
Maintenance unit 12, for setting up and/or safeguarding that mark is transmitted, and transmits the described forwarding information of middle acquisition according to described inquiry request from described mark.
Retransmission unit 14, forwards at photosphere the OB that described receiving element receives for the forwarding information obtained according to described forwarding information acquiring unit.
Further, this node also comprises:
Label information acquiring unit 15, obtains the second label information corresponding to described OB for the described forwarding information obtained according to described forwarding information acquiring unit.
Information encapsulation unit 16, encapsulates into the second control information for described second label information obtained by described label information acquiring unit.
Transmitting element 17, for being sent to downstream node by described second control information, and with the cycle determined for the OB that described retransmission unit forwards is sent to downstream node by benchmark.During concrete enforcement, this transmitting element 17 comprises:
OB transmitting element 171, for the cycle determined for the OB that described retransmission unit forwards is sent to downstream node by benchmark.
Control information transmitting element 172, for the cycle determined for described second control information is sent to downstream node by benchmark.
Alternatively, described OB receiving element 171 also for the cycle determined for benchmark receive another upstream node send OB; Further, node also comprises:
First smooth delay unit 18, for carrying out time delay at photosphere to the described OB from upstream node that receives from OB receiving element and/or the OB from another upstream node, make the time interval that the counting starting position alignment in the described OB from the upstream node corresponding and described OB from another upstream node each self-corresponding described cycle determined or maintenance are determined, and be sent to described retransmission unit by described in after delay process from the OB of upstream node and the described OB from another upstream node.
It should be noted that, during specific implementation, the first smooth delay unit also can merge with retransmission unit, namely realizes forwarding and light time delay in a unit simultaneously.
With reference to figure 8, when adopting Internet protocol (IP) retransmission protocol, described label information acquiring unit 15 comprises:
Address acquisition unit 151, obtains new MAC address and IP address for the forwarding information obtained according to described forwarding information acquiring unit;
Label information generation unit 152, replaces original MAC Address and IP address in described first label information for the described new MAC Address that obtains according to described address acquisition unit and IP address, generates the second label information that described OB is corresponding;
When adopting multi-scalar multiplication (MPLS) agreement, the forwarding information of the described OB that described label information acquiring unit 15 obtains from forwarding information acquiring unit 13, extract described second label information that described OB is corresponding.
Alternatively, described node also comprises:
Information extraction unit 19, for extracting the OAM information of signaling bag and OB layer in the first control information of receiving from described receiving element;
OAM information conversion unit 110, the OAM information for the OB layer described information extraction unit extracted is converted to the OAM information of link layer;
Described maintenance module 12, also for set up according to the OAM information of described signaling bag and link layer according to the OAM information from the link layer of described OAM information conversion unit 110 and/or update mark is transmitted.
As shown in Figure 9, it is the second embodiment schematic diagram of a kind of node device provided by the invention, this node comprises OB generation unit 21, label information acquiring unit 22, maintenance unit 23, forwarding information acquiring unit 24, encapsulation unit 25 and transmitting element 26, wherein:
Described OB generation unit 21, for receiving the business datum of input, encapsulates described business datum, generates OB;
Described label information acquiring unit 22, for the first label information that the OB obtained with described OB generation unit generates is corresponding;
Described maintenance unit 23, for setting up and/or safeguarding that mark is transmitted;
Described forwarding information acquiring unit 24, transmits forwarding information corresponding to the described OB of acquisition for inquiring about described mark;
Described encapsulation unit 25, for encapsulating in the first control information by the first corresponding for described OB label information;
Described transmitting element 26, for sending described first control information to downstream node according to described forwarding information, and according to described forwarding information with the cycle determined for benchmark sends described OB to downstream node.During concrete enforcement, this transmitting element 26 also comprises:
Control information transmitting element 261, for the described cycle determined for described first control information is sent to downstream node by benchmark;
OB transmitting element 262, for according to described forwarding information with the cycle determined for benchmark sends described OB to downstream node.
This node also comprises:
Signaling bag generation unit 27, for generating the first signaling bag;
OAM information generating unit 28, for generating the first link layer OAM information;
OAM information conversion unit 29, converts OB layer OAM information to for the first link layer OAM information described OAM information generating unit generated;
Described encapsulation unit 25, also for entering from described signaling bag generation unit 28 first signaling bag with from the OB layer OAM Information encapsulation of described OAM information conversion unit 29 in described first control information.
This node also comprises:
Receiving element 30, for receiving the second control information that upstream node sends and with the cycle determined described upstream node sends for benchmark receives OB.
OB decapsulation unit 32, for carrying out decapsulation to the OB received described OB receiving element, extracts business datum.
Extraction unit 33, extracts the second signaling bag and OB layer OAM information in the second control information of receiving from described control information receiving element;
Described OAM information conversion unit 29, also for the OB layer OAM information of described extraction is converted to the second link layer OAM information.
Described maintenance unit 23, also for according to described second signaling bag and/or described second link layer OAM information, sets up and/or upgrades described mark and transmit.
During concrete enforcement, this receiving element 30 comprises:
Control information receiving element 301, for receiving the second control information that upstream node sends;
OB receiving element 302, for the OB that described upstream node sends for benchmark receives with the cycle determined;
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only a kind of preferred embodiment of the present invention, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.