Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Through accompanying drawing and embodiment, the technical scheme of the embodiment of the invention is done further detailed description below.
Fig. 2 is the structural representation of communication network in the embodiment of the invention.As shown in Figure 2, this communication network is by at least two fringe nodes (fringe node A and fringe node B) and at least one intermediate node.Need to prove; In the real network system, also possibly be only to comprise two fringe nodes, direct interconnection between the fringe node; And do not need intermediate node; In addition, a fringe node possibly link to each other with two and above intermediate node, and intermediate node also might link to each other with two and above fringe node.
Among Fig. 2, fringe node A has comprised the processing (being called bilateral network) of circuit transmitter side and circuit receiver side both direction.Wherein, the line side is meant the side that the network of equipment and device build links to each other, and it is corresponding to client side, and client side is meant that equipment inserts a side of client signal.
Need to prove; Network can only be supported unidirectional processing; Include only the processing of the business datum of circuit transmitter side such as fringe node A, fringe node B includes only the processing (in unilateral network, the processing of some control informations maybe be still two-way) of the business datum of circuit receiver side.The application scenarios of this simplification still exists in present network, and the simplification of relevant device also is obvious, therefore repeats no more.
Circuit sending direction with fringe node A is the process (conspicuous, the processing of the circuit receive direction of fringe node A is similarly, repeats no more) of example explanation business data transmission and processing:
After fringe node A inserts the business datum of client side input, business datum is encapsulated into OB (Optical Burst, light burst)
In, and the information that control corresponding is relevant encapsulates in into first control information; Then, fringe node A sends to OB and control information in the network, gives intermediate node.Wherein, fringe node sends OB with the cycle of confirming.Further, comprise the first corresponding label information of said OB in described first control information, said first control information or first label information can carry the positional information of said OB in said definite cycle.
Intermediate node receives first control information that fringe node A sends, and is that benchmark receives the OB that fringe node A sends with the cycle of confirming, comprises the first corresponding label information of said OB in said first control information; Transmit according to said first label information inquiry mark, obtain the forwarding information of said OB; According to said forwarding information said OB is transmitted at photosphere.As previously mentioned; Carry the positional information of the corresponding said OB of said label information in said definite cycle in said first control information that fringe node sends or first label information, so first control information or first label information that intermediate node receives also have identical characteristics.
Further, obtain the second corresponding label information of said OB according to said forwarding information;
Said second label information is encapsulated in into second control information, said second control information is sent to downstream node, and with the cycle of confirming be that benchmark is sent to downstream node with said OB.
Fringe node B receives second control information that intermediate node sends, and is that benchmark receives the OB that said intermediate node sends with the cycle of confirming;
The OB from said upstream node to receiving carries out decapsulation, extracts the business datum of output.
It is understandable that in the above-mentioned network, intermediate node can have a plurality of, that then fringe node B receives should be control information and the OB that sends with its direct-connected intermediate node.Under this situation, in the network the relevant processing of each node similar, repeat no more.
Further, also might not have intermediate node in the network, this moment, fringe node B directly received first control information and the 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 this method application communication network, this data transferring method comprises:
Step S101 receives first control information that upstream node sends, and is that benchmark receives the OB that said upstream node sends with the cycle of confirming, comprises the first corresponding label information of said OB in said first control information;
For example,, in the present embodiment, carry the positional information of the corresponding said OB of said first label information in said definite cycle in said first control information or said first label information.
Fig. 3 is an embodiment sketch map of OB of the present invention and control information, in the present embodiment, carries in said first control information and indicates the positional information of said OB in the cycle of confirming
As shown in Figure 3, control information and OB adopt definite cycle to send (and reception).Conspicuous; As long as can arrange the sequential between control information and the OB suitably properly; Control information also can adopt definite cycle to send, and for example, increases the time-delay field in the control information; Time-delay relation (under this situation, control information just need not be sent according to the cycle of confirming) between control information and the OB is described.Control information also adopts definite cycle to send, and helps node and carries out synchronization timing, simplifies control information processing or the like.
In Fig. 3, the length of the OB in the one-period can be that different, different OB possibly represent different annexations.For example, OB1 represents OB that fringe node A sends, that need fringe node B to receive; OB2 represents OB another fringe node C transmission, that need another fringe node D to receive; Or the like.
But as long as each node all is to handle OB according to the cycle of confirming in the network; Then each node just can be known the situation of utilizing of bandwidth resources exactly; And can be that benchmark is operated accordingly with the cycle of confirming harmoniously, just can evade the photosphere conflict or drop to the photosphere conflict minimum.In the present embodiment, reasoning just can be known simply, needs only the distributed intelligence of recognizing OB through control information in advance, can evade the photosphere conflict equally.
In Fig. 3, the positional information of OB is to indicate through starting position in the control information and end position, that is to say, control information carries the positional information of OB in the cycle of confirming.
Obviously, in Fig. 3, the length of OB certainly is identical.
Fig. 4 is another embodiment sketch map of OB of the present invention and control information, and is as shown in Figure 4, in the present embodiment, carries in said first label information and indicates the order information of said OB in the cycle of confirming.Said first control information and OB adopt definite cycle to send, and the length of said OB all is that confirm and identical.Different OB maybe corresponding different sourcesinks.For example, OB1 represents OB that fringe node A sends, that need fringe node B to receive; OB2 represents OB another fringe node C transmission, that need another fringe node D to receive; Or the like.
Among Fig. 4, the concrete implementation of said label information is a label, and label is applicable to the situation that adopts the MPLS related protocol, and obviously, if when adopting the IP retransmission protocol, said label information can be for the IP address etc.
In the present embodiment, because the length of OB is that confirm and identical, therefore, the order information of OB in said definite cycle just can indicate its positional information.For example, at first, known the bit rate of optical signal transmission,, just can know to comprise what bytes (so in the following description with the unit of byte number) in the one-period as the cycle then according to the periodic quantity of confirming (is unit with time).The length of supposing OB is the x byte; Be spaced apart the y byte between the OB; As long as explanation is z the OB (calculating since 1) that confirms in the cycle, just can know that said z OB begins from (z-1) * (x+y)+1 byte in said definite cycle so, finish to (z-1) * (x+y)+x byte.Z OB recited above is exactly the order information of OB in said definite cycle, and from said which byte of definite cycle beginning to which byte to finish is exactly positional information.Therefore, in the present embodiment, actual is to adopt label information to indicate the order information of OB in the cycle of confirming, thereby has indicated the positional information of OB in the cycle of confirming indirectly.
Preferably, in the present embodiment, this node can be that benchmark receives first control information that said upstream node sends with the cycle of confirming.Because the length of each field can be decided in advance in the control information, therefore can adopt with the corresponding OB of control information and place the corresponding label information of OB (being label among Fig. 4) in identical order of definite cycle.For example, among Fig. 4, label 1 corresponding OB1, label 2 corresponding OB2 or the like.Therefore, in the present embodiment, label information is actual to be to adopt with the identical order of OB in definite cycle to indicate the order information of OB in said definite cycle, thereby indicates the positional information of OB in said definite cycle indirectly.
Obviously; 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 of confirming, lifts a simple case; Label information can adopt with the opposite order of its corresponding OB in the cycle of confirming and indicate the order information of OB in said definite cycle (for example, label n and OB1 are corresponding, label 1 and OBn correspondence or the like).
Adopt the order of label information in said definite cycle to indicate the order information of its corresponding OB in said definite cycle; Particularly both adopt identical order; Can simplify the processing of control information (label information); Thereby improve the control information processing speed, accelerate forwarding speed, thereby improve network throughput (lower the photosphere collision probability or eliminate the photosphere conflict).
Especially, OB adopts the cycle of confirming to send (and reception), and particularly in the present embodiment, the length of OB is definite and identical, can significantly reduce the photosphere collision probability, even eliminates the photosphere conflict.
For example; At intermediate node the timeslot scheduling function is set, can realizes the non-blocking scheduling of the OB time slot in the present embodiment, also promptly (for example OB1 is dispatched to the OB4 time slot corresponding being dispatched to any time slot arbitrarily at photosphere with the OB in one-period; OBn is dispatched to the OB1 time slot corresponding, or the like).The length of OB is confirmed, means and can adopt the delay unit of confirming length to delay time at photosphere, and the quantity of OB in one-period is limited, means to realize that the required light delay unit quantity of clog-free timeslot scheduling is limited.These all help to make up a practicality, simple relatively timeslot scheduling unit solution photosphere collision problem: made up after the clog-free timeslot scheduling unit; Just can adopt corresponding control plane technique; For example expand RSVP-TE (Resource Reservation Protocol-Trafc Engineering; Support the RSVP of traffic engineering) etc., realize distribution, thereby evade the photosphere conflict fully bandwidth (can be quantified as the OB quantity of one-period).Certainly, also can carry out some expansions on this basis, relax strictness control, get a satisfactory balance between the two at professional transmission delay and network throughput to bandwidth.
Step S102 transmits according to said first label information inquiry mark, obtains the forwarding information of said OB.Here, it can be pre-configured that the mark in the present embodiment is transmitted, and also can generate according to relevant informations such as Routing Protocol, Label Distribution Protocols.For example; It can be the forwarding information table (FIB in the similar IP retransmission technique that this mark is transmitted; Or the label forwarding information table in the similar MPLS switching technology (LFIB, label forwarding information base) Forward Information Base).
In the embodiment that adopts the IP retransmission protocol; Said label information comprises IP address and MAC Address, according to the relevant signaling packet of Routing Protocol and Operations, Administration and Maintenance (OAM, the operation of link layer; Administration and maintenance) information generates route information table (RIB; Routing information base), generate forwarding information table (FIB, forwarding information base) according to this route information table (RIB) again.
In the embodiment that adopts the MPLS exchange agreement; Said label information is the MPLS label; Signaling packet and the link layer OAM information relevant according to Routing Protocol generate route information table (RIB); Generate label forwarding information table (LFIB) according to route information table (RIB) and relevant signaling packet and the link layer OAM information of tag distribution protocol (LDP, label distribution protocol) again.
In the present embodiment,, after upstream node receives first control information, from said first control information, extract the OAM information of signaling packet and OB layer at step S101; With the OAM information translation of said OB layer is the OAM information of link layer; Reach according to the foundation of OAM information and/or the update mark of said signaling packet and link layer and transmit.
In the present embodiment, at said step S102, also promptly transmit according to said first label information inquiry mark, the step of obtaining the forwarding information of said OB also comprises afterwards: obtain the second corresponding label information of said OB according to said forwarding information; Said second label information is encapsulated in into second control information, said second control information is sent to downstream node, and with the cycle of confirming be that benchmark is sent to downstream node with said OB.Preferably, be that benchmark is sent to downstream node with said second control information with said definite cycle.
When adopting Internet protocol (IP) retransmission protocol, said obtain the second corresponding label information of said OB according to said forwarding information can be through following method realization:
Obtain new media interviews control (MAC) address and IP address according to said forwarding information, replace original MAC Address and IP address in said first label information, generate the second corresponding label information of said OB with said new MAC Address and IP address;
When adopting many labels to exchange (MPLS) agreement, then directly from said forwarding information, extract corresponding said second label information of said OB.Further, in the present embodiment, can generate new signaling packet through relevant signaling protocol, and generate new link layer OAM information, with the OB layer OAM information of said new link layer OAM information translation Cheng Xin; And then said new signaling packet and new OB layer OAM information encapsulate in into said second control information.
Similar with said second control information and said first control information here, can carry the positional information of the corresponding said OB of said second label information in said definite cycle in said second control information or second label information.
Step S103 transmits at photosphere said OB according to said forwarding information.
During practical implementation, can be that benchmark is transmitted said OB with said definite cycle.When this node is that benchmark is when receiving the OB that another upstream node sends with the cycle of confirming; Photosphere to said from upstream node OB and/or delay time from the OB of another upstream node, make the time interval that the said OB and the counting starting position alignment in said each self-corresponding said definite cycle of OB from another upstream node or keep from upstream node confirmed.It will be appreciated by those skilled in the art that; When this node is that benchmark is when receiving the OB that other a plurality of upstream nodes send with the cycle of confirming; All can be through above-mentioned delay process, the time interval of taking this to guarantee from the counting starting position alignment in each self-corresponding said definite cycle of the OB of a plurality of upstream nodes or keeping confirming.During practical implementation, the light delay process of OB is transmitted and can successively be carried out through different devices with photosphere, also can in same physical unit, realize light time-delay and photosphere forwarding simultaneously.
Present embodiment is that benchmark receives the OB that upstream node sends with the cycle of confirming, transmits then.So just can be dredging of the benchmark control that realizes bandwidth resources, time slot with the cycle of confirming, thereby reduce the photosphere collision probability or eliminate the photosphere conflict, improve network throughput.Reducing the method for photosphere collision probability or the conflict of elimination photosphere can explain referring to Fig. 3,4 corresponding embodiment, repeats no more here.Simultaneously, in the present embodiment, said OB is transmitted, help realizing the statistic multiplexing of bandwidth, improve the level of resources utilization, further improve network throughput, promptly promoted the photosphere transfer capability and the performance of communication network through transmitting.
As shown in Figure 6, be the second embodiment schematic flow sheet of data transferring method provided by the invention, the fringe node in this method method application communication network, this data transferring method comprises:
Step S201 receives the business datum of importing, and said business datum is encapsulated, and generates OB;
Here, the business datum of said input is the business datum from client side.
Step S202 obtains the corresponding label information of said OB; And the inquiry mark is transmitted the forwarding information that obtains said OB correspondence;
Here, said mark is transmitted among first embodiment with aforementioned data transferring method provided by the invention identical, does not repeat them here.
Step S203 encapsulates said first label information corresponding with OB in into first control information, sends said first control information to downstream node according to said forwarding information; And be that benchmark sends said OB to downstream node with the cycle of confirming according to said forwarding information.
Alternatively, in the present embodiment, carry the positional information of the corresponding said OB of said first label information in said definite cycle in said first control information or first label information.The practical implementation method can repeat no more referring to first embodiment of data transferring method provided by the invention.
Preferably, in the present embodiment, be that benchmark is sent to downstream node with said first control information with said definite cycle according to said forwarding information.Like first embodiment of data transferring method provided by the invention, said control information can be not that benchmark sends with the cycle of confirming also.
The length of said OB is confirmed; The order information of the OB that carries the said first label information mark in said first control information or said first label information in said definite cycle; Or the order of OB in the cycle of confirming of order and this first label information mark of first label information in said definite cycle is identical.Concrete implementation is referring to first embodiment of data transferring method provided by the invention.
In addition; In the present embodiment; This fringe node can also generate first signaling packet and generate the first link layer OAM information according to relevant signaling protocol; The said first link layer OAM information translation is become OB layer OAM information, and then said first signaling packet and OB layer OAM information are encapsulated in into said first control information.
In the present embodiment; This fringe node also will receive second control information that upstream node sends; And be that benchmark receives the OB that said upstream node sends with the cycle of confirming, and then the OB from said upstream node that receives is carried out decapsulation, extract the business datum of output.
Further; This node also will extract second signaling packet and OB layer OAM information from said second control information that receives; And be the second link layer OAM information with the OB layer OAM information translation of said extraction; And then, set up and/or upgrade said mark and transmit according to said second signaling packet and/or the said second link layer OAM information.
Alternatively, this node can be that benchmark receives second control information that upstream node sends with the cycle of confirming.
As shown in Figure 7; Be the first embodiment sketch map of a kind of node device provided by the invention, this node device is the intermediate node in the 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 is used to receive first control information that upstream node sends, and is that benchmark receives the OB that said upstream node sends with the cycle of confirming, comprises the first corresponding label information of said OB in said first control information.This receiving element 11 comprises:
OB receiving element 111, being used for the cycle of confirming is that benchmark receives the OB that said upstream node sends.
Control information receiving element 112, being used for the cycle of confirming is that benchmark receives first control information that said upstream node sends, and comprises the first corresponding label information of OB that receives with said OB receiving element in said first control information.
Alternatively, carry the positional information of the corresponding said OB of said first label information in said definite cycle in said first control information or first label information.The practical implementation method can repeat no more referring to first embodiment of data transferring method provided by the invention here.
Forwarding information acquiring unit 13 is used for connecing 11 said first label information inquiry marks received according to said receiving element and transmits, and obtains the forwarding information of said OB.
Maintenance unit 12 is used for setting up and/or safeguards that mark transmits, and from said mark is transmitted, obtains said forwarding information according to said query requests.
Retransmission unit 14 is used for according to the forwarding information that said forwarding information acquiring unit obtains the OB that said receiving element receives being transmitted at photosphere.
Further, this node also comprises:
Label information acquiring unit 15 is used for obtaining the second corresponding label information of said OB according to the said forwarding information that said forwarding information acquiring unit obtains.
Information encapsulation unit 16 is used for said second label information that said label information acquiring unit obtains is encapsulated into second control information.
Transmitting element 17 is used for said second control information is sent to downstream node, and is that the OB that benchmark is transmitted said retransmission unit is sent to downstream node with the cycle of confirming.During practical implementation, this transmitting element 17 comprises:
OB transmitting element 171, being used for the cycle of confirming is that the OB that benchmark is transmitted said retransmission unit is sent to downstream node.
Control information transmitting element 172, the cycle that is used for to confirm is that benchmark is sent to downstream node with said second control information.
Alternatively, also to be used for the cycle of confirming be that benchmark receives the OB that another upstream node sends to said OB receiving element 171; Further, node also comprises:
The first smooth delay unit 18; Be used for delaying time from the OB of upstream node and/or from the OB of another upstream node from what the OB receiving element received to said at photosphere; Make each self-corresponding said definite cycle of the corresponding and said OB from another upstream node of said OB from upstream node the alignment of counting starting position or keep definite time interval, and said after delay process OB and said OB from another upstream node from upstream node is sent to said retransmission unit.
Need to prove that when specifically realizing, the first smooth delay unit also can merge with retransmission unit, promptly in a unit, realize simultaneously transmitting and the light time-delay.
With reference to figure 8, when adopting Internet protocol (IP) retransmission protocol, said label information acquiring unit 15 comprises:
Address acquisition unit 151 is used for obtaining new media interviews control MAC Address and IP address according to the forwarding information that said forwarding information acquiring unit obtains;
Label information generation unit 152, original MAC Address of said first label information and IP address are replaced in the said new MAC Address and the IP address that are used for obtaining according to said address acquisition unit, generate the second corresponding label information of said OB;
When adopting many labels exchange (MPLS) agreements, extract corresponding said second label information of said OB the forwarding information of the said OB that said label information acquiring unit 15 is obtained from forwarding information acquiring unit 13.
Alternatively, said node also comprises:
Information extraction unit 19, the OAM information of signaling packet and OB layer is extracted in first control information that is used for receiving from said receiving element;
OAM information translation unit 110, the OAM information translation of the OB layer that is used for said information extraction unit is extracted is the OAM information of link layer;
Said maintenance module 12 also is used for basis and transmits according to the foundation of OAM information and/or the update mark of said signaling packet and link layer from the OAM information of the link layer of said OAM information translation unit 110.
As shown in Figure 9; It is the second embodiment sketch map 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, reaches transmitting element 26, wherein:
Said OB generation unit 21 is used to receive the business datum of input, and said business datum is encapsulated, and generates OB;
Said label information acquiring unit 22 is used to obtain the first corresponding label information of OB that generates with said OB generation unit;
Said maintenance unit 23 is used for setting up and/or safeguards that mark transmits;
Said forwarding information acquiring unit 24 is used to inquire about said mark and transmits the forwarding information that obtains said OB correspondence;
Said encapsulation unit 25 is used for first label information that said OB is corresponding and encapsulates into first control information;
Said transmitting element 26 is used for sending said first control information to downstream node according to said forwarding information, and is that benchmark sends said OB to downstream node according to said forwarding information with the cycle of confirming.During practical implementation, this transmitting element 26 also comprises:
Control information transmitting element 261, being used for said definite cycle is that benchmark is sent to downstream node with said first control information;
OB transmitting element 262, being used for according to said forwarding information is that benchmark sends said OB to downstream node with the cycle of confirming.
This node also comprises:
Signaling packet generation unit 27 is used to generate first signaling packet;
OAM information generating unit 28 is used to generate the first link layer OAM information;
OAM information translation unit 29 is used for the first link layer OAM information translation that said OAM information generating unit generates is become OB layer OAM information;
Said encapsulation unit 25 also is used for encapsulating into said first control information from said signaling packet generation unit 28 first signaling packets with from the OB layer OAM information of said OAM information translation unit 29.
This node also comprises:
Receiving element 30 is used to receive second control information that upstream node sends and is that benchmark receives the OB that said upstream node sends with the cycle of confirming.
OB decapsulation unit 32 is used for the OB that said OB receiving element is received is carried out decapsulation, extracts business datum.
Extraction unit 33 is used for extracting second signaling packet and OB layer OAM information from second control information that said control information receiving element receives;
Said OAM information translation unit 29, the OB layer OAM information translation that also is used for said extraction is the second link layer OAM information.
Said maintenance unit 23 also is used for according to said second signaling packet and/or the said second link layer OAM information, sets up and/or upgrades said mark and transmit.
During practical implementation, this receiving element 30 comprises:
Control information receiving element 301 is used to receive second control information that upstream node sends;
OB receiving element 302, being used for the cycle of confirming is that benchmark receives the OB that said upstream node sends;
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method; Be to instruct relevant hardware to accomplish through computer program; Described program can be stored in the computer read/write memory medium; This program can comprise the flow process like the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Above disclosedly be merely a kind of preferred embodiment of the present invention, can not limit the present invention's interest field certainly with this, the equivalent variations of therefore doing according to claim of the present invention still belongs to the scope that the present invention is contained.