CN104734992B - A kind of service data transmission method and device - Google Patents
A kind of service data transmission method and device Download PDFInfo
- Publication number
- CN104734992B CN104734992B CN201510144552.4A CN201510144552A CN104734992B CN 104734992 B CN104734992 B CN 104734992B CN 201510144552 A CN201510144552 A CN 201510144552A CN 104734992 B CN104734992 B CN 104734992B
- Authority
- CN
- China
- Prior art keywords
- business datum
- spatial cache
- road
- way
- size
- 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.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The present invention relates to field of communication technology, more particularly to a kind of service data transmission method and device, when having the business datum of relative delay requirement to solve to transmit multichannel in OTN, business transmission reliability is relatively low, and receiving terminal caching cost it is higher the problem of.In the embodiment of the present invention, first reception is write in the corresponding spatial cache of road business datum per business datum all the way, then business datum is taken out from the corresponding spatial cache of each road business datum required with relative delay to merge, business datum all the way after being merged, and send the business datum all the way after merging.After the embodiment of the present invention, each road there can be the business datum of relative delay requirement to be bound into business datum all the way to be transmitted, without absorbing the relative delay between each road business datum in the caching of receiving terminal increase large capacity, the caching cost of receiving terminal is saved, improves transmission reliability.
Description
Technical field
The present invention relates to field of communication technology, more particularly to a kind of service data transmission method and device.
Background technology
Business datum can be transmitted by Optical Transmission Network OTN (Optical Transport Network, OTN).In the transmission, industry
Business data are mapped in optical channel Payload Unit (Optical channel Payload Unit, OPUk), by business number
After increase Optical Channel Data Unit-k (Optical channel Data Unit, ODU) expense, become low order optical channel data
Unit ODUk;Multichannel low order ODUk can be multiplexed into the OPUk of higher rate, become high-order OPUk, by high-order OPUk increases
Become high-order ODUk after ODU expenses.
To be mapped to business datum all the way to be transmitted on low order ODUk all the way in general application, receiving terminal into
Recover the business datum after the parsing of row data.When transmission is mutually related, (this multi-channel service data may phase for multi-channel service data
When together, it is also possible to different), usually this multi-channel service data are reached with the time interval between the time of client, namely relatively
Delay has strict demand.To ensure relative delay demand, the larger caching of capacity usually is disposed in the receiving terminal of OTN,
The business datum of reception is first cached, after the multi-channel service data that are mutually related all reach, then is taken out from the caching
Each road business datum sends jointly to client.
In this manner, it is necessary to which there is the industry of relative delay requirement on the caching Lai Duige roads of receiving terminal deployment large capacity
The business datum first reached in business data is temporarily stored.Ruo Ge roads have in the business datum of relative delay requirement, have
All the way business datum reach receiving terminal time delay it is longer, then just have to wait for road business datum reach receiving terminal it
Afterwards, the business datum that this several road could be had to relative delay requirement is sent together;If have all the way business datum due to transmission therefore
Barrier can not reach receiving terminal, then receiving terminal just needs to cache the other roads for having relative delay requirement with the road business datum always
Business datum, and the business datum of caching can not be sent.Obviously, the business data transmission reliability under this mode compared with
It is low;Also, it in this manner, can not in time be discharged in the caching of the large capacity of receiving terminal deployment, cause receiving terminal to delay
It is higher to be saved as this.
To sum up, when multichannel is transmitted in OTN has the business datum of relative delay requirement, business transmission reliability is relatively low,
And the caching cost of receiving terminal is higher.
The content of the invention
The embodiment of the present invention provides a kind of service data transmission method and device, to solve to transmit multichannel tool in OTN
When having the business datum of relative delay requirement, business transmission reliability is relatively low, and receiving terminal caching cost it is higher the problem of.
First aspect, there is provided a kind of service data transmission method, including:
Reception is write in the corresponding spatial cache of road business datum per business datum all the way;
Business datum is taken out from the corresponding spatial cache of each road business datum required with relative delay to carry out
Merge, the business datum all the way after being merged;Any two-way industry in each road business datum with relative delay requirement
The time interval that business data were reached between the time of client needs to be less than preset duration;
Send the business datum all the way after merging.
With reference to first aspect, in the first possible implementation, the business datum of taking-up is merged, including:
After each road business datum progress byte of taking-up is interleave, business datum all the way is merged into;Wherein, per business all the way
The adjacent byte of each byte is the byte of other circuit-switched datas in data.
With reference to first aspect, or first aspect the first possible implementation, in second of possible implementation
In, taking-up business datum merges from each road business datum corresponding spatial cache required with relative delay,
Including:
According to the data volume size in the corresponding spatial cache of each road business datum, scheduling each road is determined
General scheduling rates when in business datum per business datum all the way;
According to definite scheduling rates, business datum is taken out from the corresponding spatial cache of each road business datum
Merge.
Second of possible implementation with reference to first aspect, in the third possible implementation, according to described
Data volume size in the corresponding spatial cache of each road business datum, determines in scheduling each road business datum per all the way
General scheduling rates during business datum, including:
When the data volume size in the corresponding spatial cache of each road business datum, to be all higher than preset data amount big
It is small, or in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache is more than
Preset data amount size, when the data volume size in remaining spatial cache is equal to preset data amount size, determines the scheduling speed
Rate is the first scheduling rates of the average traffic speed more than each road business datum;
When the data volume size in the corresponding spatial cache of each road business datum, to be respectively less than preset data amount big
It is small, or in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache is less than
Preset data amount size, when the data volume size in remaining spatial cache is equal to preset data amount size, determines the scheduling speed
Rate is the second scheduling rates of the average traffic speed less than each road business datum;
When the data volume size in the corresponding spatial cache of each road business datum, to be equal to preset data amount big
Hour, determine that the scheduling rates are the first scheduling rates of the average traffic speed more than each road business datum, or be
Less than the second scheduling rates of the average traffic speed of each road business datum, or it is putting down equal to each road business datum
3rd scheduling rates of equal service rate;
When in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache
More than preset data amount size, when the data volume size at least one spatial cache is less than preset data amount size, institute is determined
In the absolute value of the difference of data volume size and preset data amount size in the corresponding spatial cache of Shu Ge roads business datum
Maximum, according to the data volume size in the definite corresponding spatial cache of the maximum, determine the scheduling rates.
Second of possible implementation with reference to first aspect, in the 4th kind of possible implementation, according to described
Data volume size in the corresponding spatial cache of each road business datum, determines in scheduling each road business datum per all the way
General scheduling rates during business datum, including:
Determine the data volume size and preset data amount size in the corresponding spatial cache of each road business datum
Difference absolute value in maximum;
According to the data volume size in the definite corresponding spatial cache of the maximum, the scheduling rates are determined.
The 3rd with reference to first aspect or the 4th kind of possible implementation, in the 5th kind of possible implementation, root
According to the data volume size in the definite corresponding spatial cache of the maximum, the scheduling rates are determined, including:
When the data volume size in the definite corresponding spatial cache of the maximum is more than preset data amount size, really
The fixed scheduling rates are the first scheduling rates of the average traffic speed more than each road business datum;
When the data volume size in the definite corresponding spatial cache of the maximum is less than preset data amount size, really
The fixed scheduling rates are the second scheduling rates of the average traffic speed less than each road business datum;
When the data volume size in the definite corresponding spatial cache of the maximum is equal to preset data amount size, really
The fixed scheduling rates are the 3rd scheduling rates of the average traffic speed equal to each road business datum.
Any one in the second~five kind of possible implementation with reference to first aspect, in the 6th kind of possible realization
In mode, according to the data volume size in the corresponding spatial cache of each road business datum, scheduling each road is determined
General scheduling rates when in business datum per business datum all the way, including:
If existing in each road business datum received, at least business datum damages all the way, according to each road business
Except described in damaging at least all the way in the corresponding spatial cache of other road business datums in addition to business datum in data
Data volume size, general scheduling rates when determining in scheduling each road business datum per business datum all the way.
With reference to first aspect, any one or in the first~six kind of possible implementation of first aspect, the 7th
In the possible implementation of kind, this method is applied to the business data transmission in Optical Transmission Network OTN OTN, the institute sent after merging
Business datum all the way is stated, including:
If existing in each road business datum received, at least business datum damages all the way, after the merging of transmission
The business datum all the way in optical channel data cell ODUk expense subframe region instruction damage it is described at least all the way
Business datum.
Second aspect, there is provided a kind of service data transmission method, including:
Receive the business datum all the way after merging;
Business datum all the way after the merging of reception is split, obtains splitting Hou Ge roads business datum;
Hou Ge roads business datum will be split and be sent to client.
With reference to second aspect, in the first possible implementation, by the business datum all the way after the merging of reception into
Row is split, and obtains splitting Hou Ge roads business datum, including:
The carry out byte of reception is interleave into latter incorporated business datum all the way and carries out byte split, obtains splitting Hou Ge roads
Business datum.
With reference to the first possible implementation of second aspect, or second aspect, in second of possible implementation
In, this method is applied to the business data transmission in Optical Transmission Network OTN OTN, and the Hou Ge roads business datum that will split is sent to visitor
Family end, including:
If indicated in the expense subframe region of the optical channel data cell ODUk in business datum all the way after the merging
In the presence of at least business datum damages all the way, then it will split Hou Ge roads business datum and be sent respectively to client, and be directed to and damage
It is described at least all the way in business datum per business datum all the way, sent to the client and indicate that the road business datum damages
Information.
The third aspect, there is provided a kind of business data transmission device, including:
Writing module, for reception to be write in the corresponding spatial cache of road business datum per business datum all the way;
Merging module, for being taken out from the corresponding spatial cache of each road business datum required with relative delay
Business datum merges, the business datum all the way after being merged;Each road business datum with relative delay requirement
In the time interval that reaches between the time of client of any two-way business datum need to be less than preset duration;
Sending module, for business datum all the way described in sending after the merging module merges.
With reference to the third aspect, in the first possible implementation, the merging module is specifically used for:
After each road business datum progress byte of taking-up is interleave, business datum all the way is merged into;Wherein, per business all the way
The adjacent byte of each byte is the byte of other circuit-switched datas in data.
With reference to the first possible implementation of the third aspect, or the third aspect, in second of possible implementation
In, the merging module is specifically used for:
According to the data volume size in the corresponding spatial cache of each road business datum, scheduling each road is determined
General scheduling rates when in business datum per business datum all the way;According to definite scheduling rates, from each road business number
Merged according to business datum is taken out in corresponding spatial cache.
With reference to second of possible implementation of the third aspect, in the third possible implementation, the merging
Module is specifically used for:
When the data volume size in the corresponding spatial cache of each road business datum, to be all higher than preset data amount big
It is small, or in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache is more than
Preset data amount size, when the data volume size in remaining spatial cache is equal to preset data amount size, determines the scheduling speed
Rate is the first scheduling rates of the average traffic speed more than each road business datum;
When the data volume size in the corresponding spatial cache of each road business datum, to be respectively less than preset data amount big
It is small, or in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache is less than
Preset data amount size, when the data volume size in remaining spatial cache is equal to preset data amount size, determines the scheduling speed
Rate is the second scheduling rates of the average traffic speed less than each road business datum;
When the data volume size in the corresponding spatial cache of each road business datum, to be equal to preset data amount big
Hour, determine that the scheduling rates are the first scheduling rates of the average traffic speed more than each road business datum, or be
Less than the second scheduling rates of the average traffic speed of each road business datum, or it is putting down equal to each road business datum
3rd scheduling rates of equal service rate;
When in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache
More than preset data amount size, when the data volume size at least one spatial cache is less than preset data amount size, institute is determined
In the absolute value of the difference of data volume size and preset data amount size in the corresponding spatial cache of Shu Ge roads business datum
Maximum, according to the data volume size in the definite corresponding spatial cache of the maximum, determine the scheduling rates.
With reference to second of possible implementation of the third aspect, in the 4th kind of possible implementation, the merging
Module is specifically used for:
Determine the data volume size and preset data amount size in the corresponding spatial cache of each road business datum
Difference absolute value in maximum;According to the data volume size in the definite corresponding spatial cache of the maximum, determine
The scheduling rates.
With reference to the 3rd or the 4th kind of possible implementation of the third aspect, in the 5th kind of possible implementation, institute
Merging module is stated to be specifically used for:
When the data volume size in the definite corresponding spatial cache of the maximum is more than preset data amount size, really
The fixed scheduling rates are the first scheduling rates of the average traffic speed more than each road business datum;Described in determining
When data volume size in the corresponding spatial cache of maximum is less than preset data amount size, determine the scheduling rates be less than
Second scheduling rates of the average traffic speed of each road business datum;When the definite corresponding spatial cache of the maximum
In data volume size when being equal to preset data amount size, it is flat equal to each road business datum to determine the scheduling rates
3rd scheduling rates of equal service rate.
With reference to the third aspect the second~five kind of possible implementation in any one, in the 6th kind of possible realization
In mode, the merging module is specifically used for:
If existing in each road business datum received, at least business datum damages all the way, according to each road business
Except described in damaging at least all the way in the corresponding spatial cache of other road business datums in addition to business datum in data
Data volume size, general scheduling rates when determining in scheduling each road business datum per business datum all the way.
With reference to any one in the third aspect, or the first~six kind of possible implementation of the third aspect, the 7th
In the possible implementation of kind, which is applied to the business data transmission in Optical Transmission Network OTN OTN, and the sending module is specifically used
In:
If existing in each road business datum received, at least business datum damages all the way, after the merging of transmission
The business datum all the way in optical channel data cell ODUk expense subframe region instruction damage it is described at least all the way
Business datum.
Fourth aspect, there is provided a kind of business data transmission device, including:
Receiving module, for receiving the business datum all the way after merging;
Module is split, is split, is torn open for the business datum all the way after the merging that receives the receiving module
Fen Houge roads business datum;
Sending module, client is sent to for the fractionation module to be split Hou Ge roads business datum.
With reference to fourth aspect, in the first possible implementation, the fractionation module is specifically used for:
The carry out byte of reception is interleave into latter incorporated business datum all the way and carries out byte split, obtains splitting Hou Ge roads
Business datum.
With reference to the first possible implementation of fourth aspect, or fourth aspect, in second of possible implementation
In, this method is applied to the business data transmission in Optical Transmission Network OTN OTN, and the sending module is specifically used for:
If indicated in the expense subframe region of the optical channel data cell ODUk in business datum all the way after the merging
In the presence of at least business datum damages all the way, then it will split Hou Ge roads business datum and be sent respectively to client, and be directed to and damage
It is described at least all the way in business datum per business datum all the way, sent to the client and indicate that the road business datum damages
Information.
5th aspect, there is provided a kind of business data transmission equipment, which includes processor, memory and bus, described
Memory storage execute instruction, when the equipment is run, by bus communication between the processor and the memory, makes
Obtain the processor and perform following execute instruction:
Reception is write in the corresponding spatial cache of road business datum per business datum all the way;
Business datum is taken out from the corresponding spatial cache of each road business datum required with relative delay to carry out
Merge, the business datum all the way after being merged;Any two-way industry in each road business datum with relative delay requirement
The time interval that business data were reached between the time of client needs to be less than preset duration;
Send the business datum all the way after merging.
In terms of the 5th, in the first possible implementation, in the execute instruction that the processor performs,
The business datum of taking-up is merged, including:
After each road business datum progress byte of taking-up is interleave, business datum all the way is merged into;Wherein, per business all the way
The adjacent byte of each byte is the byte of other circuit-switched datas in data.
With reference to the 5th aspect, or the first possible implementation of the 5th aspect, in second of possible implementation
In, it is corresponding from each road business datum required with relative delay in the execute instruction that the processor performs
Business datum is taken out in spatial cache to merge, including:
According to the data volume size in the corresponding spatial cache of each road business datum, scheduling each road is determined
General scheduling rates when in business datum per business datum all the way;
According to definite scheduling rates, business datum is taken out from the corresponding spatial cache of each road business datum
Merge.
With reference to second of possible implementation of the 5th aspect, in the third possible implementation, the processing
In the execute instruction that device performs, according to the data volume size in the corresponding spatial cache of each road business datum,
General scheduling rates when determining in scheduling each road business datum per business datum all the way, including:
When the data volume size in the corresponding spatial cache of each road business datum, to be all higher than preset data amount big
It is small, or in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache is more than
Preset data amount size, when the data volume size in remaining spatial cache is equal to preset data amount size, determines the scheduling speed
Rate is the first scheduling rates of the average traffic speed more than each road business datum;
When the data volume size in the corresponding spatial cache of each road business datum, to be respectively less than preset data amount big
It is small, or in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache is less than
Preset data amount size, when the data volume size in remaining spatial cache is equal to preset data amount size, determines the scheduling speed
Rate is the second scheduling rates of the average traffic speed less than each road business datum;
When the data volume size in the corresponding spatial cache of each road business datum, to be equal to preset data amount big
Hour, determine that the scheduling rates are the first scheduling rates of the average traffic speed more than each road business datum, or be
Less than the second scheduling rates of the average traffic speed of each road business datum, or it is putting down equal to each road business datum
3rd scheduling rates of equal service rate;
When in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache
More than preset data amount size, when the data volume size at least one spatial cache is less than preset data amount size, institute is determined
In the absolute value of the difference of data volume size and preset data amount size in the corresponding spatial cache of Shu Ge roads business datum
Maximum, according to the data volume size in the definite corresponding spatial cache of the maximum, determine the scheduling rates.
With reference to second of possible implementation of the 5th aspect, in the 4th kind of possible implementation, the processing
In the execute instruction that device performs, according to the data volume size in the corresponding spatial cache of each road business datum,
General scheduling rates when determining in scheduling each road business datum per business datum all the way, including:
Determine the data volume size and preset data amount size in the corresponding spatial cache of each road business datum
Difference absolute value in maximum;
According to the data volume size in the definite corresponding spatial cache of the maximum, the scheduling rates are determined.
With reference to the 3rd or the 4th kind of possible implementation of the 5th aspect, in the 5th kind of possible implementation, institute
In the execute instruction for stating processor execution, the data volume in the definite corresponding spatial cache of the maximum is big
It is small, determine the scheduling rates, including:
When the data volume size in the definite corresponding spatial cache of the maximum is more than preset data amount size, really
The fixed scheduling rates are the first scheduling rates of the average traffic speed more than each road business datum;
When the data volume size in the definite corresponding spatial cache of the maximum is less than preset data amount size, really
The fixed scheduling rates are the second scheduling rates of the average traffic speed less than each road business datum;
When the data volume size in the definite corresponding spatial cache of the maximum is equal to preset data amount size, really
The fixed scheduling rates are the 3rd scheduling rates of the average traffic speed equal to each road business datum.
With reference to the 5th aspect the second~five kind of possible implementation in any one, in the 6th kind of possible realization
In mode, in the execute instruction that the processor performs, according to the corresponding spatial cache of each road business datum
In data volume size, general scheduling rates when determining in scheduling each road business datum per business datum all the way, including:
If existing in each road business datum received, at least business datum damages all the way, according to each road business
Except described in damaging at least all the way in the corresponding spatial cache of other road business datums in addition to business datum in data
Data volume size, general scheduling rates when determining in scheduling each road business datum per business datum all the way.
With reference to any one in the 5th aspect, or the first~six kind of possible implementation of the 5th aspect, the 7th
In the possible implementation of kind, business data transmission of the equipment application in Optical Transmission Network OTN OTN, the institute that the processor performs
State in execute instruction, the business datum all the way sent after merging, including:
If existing in each road business datum received, at least business datum damages all the way, after the merging of transmission
The business datum all the way in optical channel data cell ODUk expense subframe region instruction damage it is described at least all the way
Business datum.
6th aspect, there is provided a kind of business data transmission equipment, which includes processor, memory and bus, described
Memory storage execute instruction, when the equipment is run, by bus communication between the processor and the memory, makes
Obtain the processor and perform following execute instruction:
Receive the business datum all the way after merging;
Business datum all the way after the merging of reception is split, obtains splitting Hou Ge roads business datum;
Hou Ge roads business datum will be split and be sent to client.
In terms of the 6th, in the first possible implementation, in the execute instruction that the processor performs,
Business datum all the way after the merging of reception is split, obtains splitting Hou Ge roads business datum, including:
The carry out byte of reception is interleave into latter incorporated business datum all the way and carries out byte split, obtains splitting Hou Ge roads
Business datum.
With reference to the 6th aspect, or the first possible implementation of the 6th aspect, in second of possible implementation
In, business data transmission of the equipment application in Optical Transmission Network OTN OTN, in the execute instruction that the processor performs, institute
Hou Ge roads business datum will be split by, which stating, is sent to client, including:
If indicated in the expense subframe region of the optical channel data cell ODUk in business datum all the way after the merging
In the presence of at least business datum damages all the way, then it will split Hou Ge roads business datum and be sent respectively to client, and be directed to and damage
It is described at least all the way in business datum per business datum all the way, sent to the client and indicate that the road business datum damages
Information.
Using the above method, device or equipment, the business datum that each road can be had to relative delay requirement is bound into one
Road business datum is transmitted, without absorbing the phase between each road business datum in the caching of receiving terminal increase large capacity
To postponing, the caching cost of receiving terminal is saved.Also, since each road has the business datum of relative delay requirement can be
It is transmitted as business datum all the way in OTN, so as to reduce the relative delay of each road business datum on the transmit path, carries
High transmission reliability.
Brief description of the drawings
Fig. 1 is the service data transmission method flow chart that the embodiment of the present invention one provides;
Fig. 2 is the schematic diagram merged by the way of byte interleaves;
Fig. 3 is service data transmission method flow chart provided by Embodiment 2 of the present invention,
Fig. 4 is the service data transmission method flow chart that the embodiment of the present invention three provides;
Fig. 5 is business data transmission schematic diagram;
Fig. 6 (a) caches one of schematic diagram for business datum;
Fig. 6 (b) is that business datum caches the two of schematic diagram;
Fig. 6 (c) is that business datum caches the three of schematic diagram;
Fig. 6 (d) is that business datum caches the four of schematic diagram;
Fig. 7 is that multichannel low order ODUk is merged to the schematic diagram for being mapped to and being transmitted all the way on high-order ODUk;
Fig. 8 is the business data transmission device structure diagram that the embodiment of the present invention four provides;
Fig. 9 is the business data transmission device structure diagram that the embodiment of the present invention five provides;
Figure 10 is 100 structure diagram of business data transmission equipment that the embodiment of the present invention six provides;
Figure 11 is 110 structure diagram of business data transmission equipment that the embodiment of the present invention seven provides.
Embodiment
The basic thought of the embodiment of the present invention is:In Optical Transmission Network OTN OTN, first reception is write per business datum all the way
In the corresponding spatial cache of road business datum;It is empty from the corresponding caching of each road business datum required with relative delay
Between it is middle taking-up business datum merge, the business datum all the way after being merged, and send merging after business datum all the way.
After the embodiment of the present invention, the business datum that each road can be had to relative delay requirement is bound into business datum progress all the way
Send, without absorbing the relative delay between each road business datum in the caching of receiving terminal increase large capacity, save
The caching cost of receiving terminal.Also, since each road has the business datum of relative delay requirement can be in OTN as industry all the way
Business data are transmitted, so as to reduce the relative delay of each road business datum on the transmit path, improve transmission reliability.
The embodiment of the present invention is described in further detail with reference to Figure of description.
Embodiment one
As shown in Figure 1, the service data transmission method flow chart provided for the embodiment of the present invention one, comprises the following steps:
S101:Reception is write in the corresponding spatial cache of road business datum per business datum all the way.
Here, business datum self-generating end is sent to the transmitting terminal of Optical Transmission Network OTN OTN., will be per business all the way in transmitting terminal
Data are write in its corresponding small caching, after each road business datum with relative delay requirement all reaches transmitting terminal, are based on
S102~S103 carries out the overall scheduling of each road business datum.
S102:Business datum is taken out from the corresponding spatial cache of each road business datum required with relative delay
Merge, the business datum all the way after being merged;Any two in each road business datum with relative delay requirement
The time interval that road business datum was reached between the time of client needs to be less than preset duration.
Specifically, after each road business datum progress byte of taking-up is interleave, it is merged into business datum all the way;Wherein, often
All the way in business datum each byte adjacent byte be other circuit-switched datas byte.
In specific implementation process, business datum merging can be carried out by the way of byte interleaves, will with realization as far as possible
Binding mapping after each road business datum alignment, in this way, the relative delay between each road business datum can be reduced further.Such as
Shown in Fig. 2, A roads business datum and B roads business datum merge by the way of byte interleaves, wherein A roads business datum
The B1 bytes of B roads business datum are inserted into after A1 bytes, then, the A2 bytes of A roads business datum are inserted into after B1 bytes, in this way, real
Show the merging of two-way business datum, and there was only the relative delay of a byte between two-way business datum.
S103:Send the business datum all the way after merging.
In S102~S103, it is thus necessary to determine that scheduling rates, in order to carry out each road business datum based on scheduling rates
Overall scheduling (merge and send).Namely:From the corresponding spatial cache of each road business datum required with relative delay
Middle taking-up business datum merges, including:
According to the data volume size in the corresponding spatial cache of each road business datum, scheduling each road is determined
General scheduling rates when in business datum per business datum all the way;
According to definite scheduling rates, business datum is taken out from the corresponding spatial cache of each road business datum
Merge.
Can be that each road business datum with relative delay requirement determines an identical tune when carrying out overall scheduling
Speed is spent, further to reduce the relative delay between each road business datum.In specific implementation, third gear tune can be pre-set
Spend speed, be greater than successively from high to low each road business datum average traffic speed (or receive business datum entrance speed
Rate) the first scheduling rates, equal to each road business datum average traffic speed the 3rd scheduling rates and less than each road business
Second scheduling rates of the average traffic speed of data.Per business number all the way in each road business datum with relative delay requirement
According to average traffic speed be identical, namely their overall service rates are consistent, simply it sometimes appear that certain road industry
The burst increase or burst for data of being engaged in are reduced.
The embodiment of the present invention proposes the mode of following two definite scheduling rates:
Mode one:Based on to the data volume size in the corresponding spatial cache of each road business datum and preset data amount
The comparable situation of size, to determine scheduling rates.
Specifically, the data volume size in the corresponding spatial cache of each road business datum, determines scheduling
General scheduling rates when in each road business datum per business datum all the way, including:
When the data volume size in the corresponding spatial cache of each road business datum, to be all higher than preset data amount big
It is small, or in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache is more than
Preset data amount size, when the data volume size in remaining spatial cache is equal to preset data amount size, determines the scheduling speed
Rate is the first scheduling rates of the average traffic speed more than each road business datum;
When the data volume size in the corresponding spatial cache of each road business datum, to be respectively less than preset data amount big
It is small, or in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache is less than
Preset data amount size, when the data volume size in remaining spatial cache is equal to preset data amount size, determines the scheduling speed
Rate is the second scheduling rates of the average traffic speed less than each road business datum;
When the data volume size in the corresponding spatial cache of each road business datum, to be equal to preset data amount big
Hour, determine that the scheduling rates are the first scheduling rates of the average traffic speed more than each road business datum, or be
Less than the second scheduling rates of the average traffic speed of each road business datum, or it is putting down equal to each road business datum
3rd scheduling rates of equal service rate;
When in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache
More than preset data amount size, when the data volume size at least one spatial cache is less than preset data amount size, institute is determined
In the absolute value of the difference of data volume size and preset data amount size in the corresponding spatial cache of Shu Ge roads business datum
Maximum, according to the data volume size in the definite corresponding spatial cache of the maximum, determine scheduling rates.
In which once, the data volume size and preset data amount size of each road business datum of caching are compared first,
If the data volume size of each road business datum of caching is both greater than preset data amount size, or except equal to preset data amount size
Business datum outside, remaining is both greater than preset data amount size, then using first scheduling rates;If each road business of caching
The data volume size of data is both less than preset data amount size, or in addition to equal to the business datum of preset data amount size, its
Remaining both less than preset data amount size, then using second scheduling rates;If the data volume of each road business datum of caching is big
It is small to be equal to preset data amount size, then using the 3rd scheduling rates, or first scheduling rates can also be used
Or second scheduling rates (in this case, according to the first scheduling rates, may result in the data volume of each road business datum
Size is both less than preset data amount size, then uses the second scheduling rates again, on the contrary, according to the second scheduling rates, may
Cause the data volume size of each road business datum to be both greater than preset data amount size, then use the first scheduling rates again);If caching
Each road business datum in, some is less than preset data amount size, and some is more than preset data amount size, then according to and present count
Scheduling rates are determined according to the caching situation of the business datum all the way of the maximum absolute value of the difference of amount size.
Alternatively, the data volume size in the definite corresponding spatial cache of the maximum, determines scheduling rates,
Including:When the data volume size in the definite corresponding spatial cache of the maximum is more than preset data amount size, determine
The scheduling rates are the first scheduling rates of the average traffic speed more than each road business datum;When determine described in most
When being worth the data volume size in corresponding spatial cache greatly and being less than preset data amount size, determine the scheduling rates for less than institute
Second scheduling rates of the average traffic speed of Shu Ge roads business datum.
In specific implementation process, when in each road business datum of caching, some is less than preset data amount size, and what is had is big
When preset data amount size, can based on and preset data amount size difference maximum absolute value business datum all the way it is slow
Situation is deposited to determine scheduling rates, if should and the business datum all the way of maximum absolute value of difference of preset data amount size cached
Data volume size be more than preset data amount size, then using first scheduling rates, if the number of road business datum caching
It is less than preset data amount size according to amount size, then using second scheduling rates.
Mode two:Directly by calculating the data volume size in the corresponding spatial cache of each road business datum with presetting
Maximum in the absolute value of the difference of data volume size, to determine scheduling per the general scheduling rates of business datum all the way.
Specifically, the data volume size in the corresponding spatial cache of each road business datum, determines scheduling
Speed, including:
Determine the data volume size and preset data amount size in the corresponding spatial cache of each road business datum
Difference absolute value in maximum;
According to the data volume size in the definite corresponding spatial cache of the maximum, scheduling rates are determined.
Further, the data volume size in the definite corresponding spatial cache of the maximum, determines scheduling speed
Rate, including:When the data volume size in the definite corresponding spatial cache of the maximum is more than preset data amount size, really
The fixed scheduling rates are the first scheduling rates of the average traffic speed more than each road business datum;Described in determining
When data volume size in the corresponding spatial cache of maximum is less than preset data amount size, determine the scheduling rates be less than
Second scheduling rates of the average traffic speed of each road business datum;When the definite corresponding spatial cache of the maximum
In data volume size when being equal to preset data amount size, it is flat equal to each road business datum to determine the scheduling rates
3rd scheduling rates of equal service rate.
Under which two, the data volume size of each road business datum of caching and the difference of preset data amount size are determined
Maximum in absolute value is big by the data volume size in the spatial cache of the relatively more corresponding maximum and preset data amount
It is small, determine scheduling rates.For example if the data volume size in the spatial cache of the corresponding maximum is equal to preset data amount size
(namely the maximum is 0, and the data volume size of each road business datum of caching is equal to preset data amount size), then using institute
State the 3rd scheduling rates;If the data volume size in the spatial cache of the corresponding maximum is more than preset data amount size, adopt
With first scheduling rates, if the data volume size in the spatial cache of the corresponding maximum is less than preset data amount size,
Then use second scheduling rates.
Alternatively, the data volume size in the corresponding spatial cache of each road business datum, determines scheduling
General scheduling rates when in each road business datum per business datum all the way, including:
If existing in each road business datum received, at least business datum damages all the way, according to each road business
Except described in damaging at least all the way in the corresponding spatial cache of other road business datums in addition to business datum in data
Data volume size, general scheduling rates when determining in scheduling each road business datum per business datum all the way.
In specific implementation process, to be damaged when there are business datum in each road business datum required with relative delay
When, can be according to other road industry in addition to the business datum damaged in order not to influence the normal transmission of other road business datums
The data volume size for data of being engaged in, to determine current scheduling rates.
Alternatively, described one after this method merges applied to the business data transmission in Optical Transmission Network OTN OTN, the transmission
Road business datum, including:
If existing in each road business datum received, at least business datum damages all the way, after the merging of transmission
The business datum all the way in optical channel data cell ODUk expense subframe region instruction damage it is described at least all the way
Business datum.
, can be in optical channel data cell (ODUk) when at least business datum damages all the way for presence in OTN system
Expense is indicated in subframe region, in order to which receiving terminal distinguishes the business datum damaged, and indicates business number to client
According to the information damaged.Meanwhile the business datum after merging is mapped to ODUk payload sections.
Embodiment two
The embodiment two makees service data transmission method of the embodiment of the present invention to be further situated between from the angle of the receiving terminal of OTN
Continue.Specific implementation repeats part with above-described embodiment one, repeats no more.
As shown in figure 3, being service data transmission method flow chart provided by Embodiment 2 of the present invention, comprise the following steps:
S301:Receive the business datum all the way after merging.
S302:Business datum all the way after the merging of reception is split, obtains splitting Hou Ge roads business datum.
Alternatively, the business datum all the way after the merging of reception is split, obtains splitting Hou Ge roads business datum,
Including:
The carry out byte of reception is interleave into latter incorporated business datum all the way and carries out byte split, obtains splitting Hou Ge roads
Business datum.
S303:Hou Ge roads business datum will be split and be sent to client.
Alternatively, this method is applied to the business data transmission in Optical Transmission Network OTN OTN, described to split Hou Ge roads business
Data sending to client, including:
If indicated in the expense subframe region of the optical channel data cell ODUk in business datum all the way after the merging
In the presence of at least business datum damages all the way, then it will split Hou Ge roads business datum and be sent respectively to client, and be directed to and damage
It is described at least all the way in business datum per business datum all the way, sent to the client and indicate that the road business datum damages
Information.
In specific implementation process, receiving terminal obtains its ODUk payload to the ODUk demappings of reception, to ODUk payloads into
Row byte split obtains sending per business datum all the way.Meanwhile the expense of the ODUk of reception is parsed, confirm per business all the way
The validity of data, namely be confirmed whether that there are business datum and to damage, if in the presence of at least business datum damages all the way, also need to
Client, which is sent, indicates the information that at least business datum damages all the way.
The present invention program is described further below by a specific embodiment.
Embodiment three
As shown in figure 4, the service data transmission method flow chart provided for the embodiment of the present invention three, Fig. 5 is to correspond to therewith
Transmission schematic diagram, comprise the following steps:
S401:Reception is write the corresponding spatial cache of road business datum by the transmitting terminal of OTN per business datum all the way
In.
S402:Transmitting terminal according to relative delay requirement each road business datum in, in addition to the business network data damaged
The corresponding spatial cache of other road business datums in data volume size, determining that scheduling is described has relative delay requirement
Each road business datum in per business datum all the way when general scheduling rates;According to definite scheduling rates, from described each
Business datum is taken out in the corresponding spatial cache of road business datum, merges, is closed by the way of byte interleaves
Business datum all the way after and.
As shown in figure 5, in transmitting terminal, it may include the work(such as business datum receiving unit, buffer unit and overall scheduling unit
Energy unit, business datum receiving unit handle the business datum of reception, produce (the instruction of business datum status indication information
Whether business datum damages) write to overall scheduling unit, and by reception per business datum all the way in a spatial cache.It is slow
The business datum that memory cell cache business data receipt unit is sent, and buffer status information is produced, including in spatial cache
Buffer data size compares the deviation (and difference of preset data amount size) of preset data amount, and/or produces in spatial cache
The comparative result (be more than/be less than/be equal to preset data amount size) of size between buffer data size and preset data amount.It is overall to adjust
Spend unit to use after the merging of multi-channel service data by the way of byte interleaves, be mapped to ODUk payload areas, and by business datum
State is mapped to expense domain.In receiving terminal, after the business datum all the way after the merging of reception is carried out byte split, through business number
Sent according to transmitting element.If by parsing expense domain, determine in the presence of at least business datum damages all the way, then to send out to client
Send and indicate this information that at least business datum damages all the way.
Here, the mode one of scheduling rates is determined:
When the data volume size in the corresponding spatial cache of each road business datum, to be all higher than preset data amount big
It is small, or in the corresponding spatial cache of each road business datum, the data volume size in some spatial caches is more than default
Data volume size, when the data volume size in some spatial caches is equal to preset data amount size, determines that the scheduling rates are
More than the first scheduling rates of the average traffic speed of each road business datum;When each road business datum is corresponding
Data volume size in spatial cache is respectively less than preset data amount size, or the corresponding caching sky of each road business datum
Between in, the data volume size in some spatial caches is less than preset data amount size, the data volume size in some spatial caches
During equal to preset data amount size, determine that the scheduling rates are the average traffic speed less than each road business datum the
Two scheduling rates;When the data volume size in the corresponding spatial cache of each road business datum is equal to preset data amount
During size, the first scheduling rates that the scheduling rates are the average traffic speed more than each road business datum are determined, or
For the second scheduling rates of the average traffic speed less than each road business datum, or for equal to each road business datum
3rd scheduling rates of average traffic speed;When in the corresponding spatial cache of each road business datum, some cachings are empty
Between in data volume size be more than preset data amount size, it is big that the data volume size in some spatial caches is less than preset data amount
Hour, determines the difference of the data volume size and preset data amount size in the corresponding spatial cache of each road business datum
Absolute value in maximum, when the data volume size in the definite corresponding spatial cache of the maximum is more than preset data
When measuring size, the first scheduling rates that the scheduling rates are the average traffic speed more than each road business datum are determined,
When the data volume size in the definite corresponding spatial cache of the maximum is less than preset data amount size, the tune is determined
Spend the second scheduling rates that speed is the average traffic speed less than each road business datum.
Determine the mode two of scheduling rates:
According to the data volume size in the corresponding spatial cache of each road business datum, scheduling rates are determined, wrap
Include:
Determine the data volume size and preset data amount size in the corresponding spatial cache of each road business datum
Difference absolute value in maximum;Preset when the data volume size in the definite corresponding spatial cache of the maximum is more than
During data volume size, the first scheduling speed that the scheduling rates are the average traffic speed more than each road business datum is determined
Rate;When the data volume size in the definite corresponding spatial cache of the maximum is less than preset data amount size, institute is determined
State the second scheduling rates that scheduling rates are the average traffic speed less than each road business datum;When the definite maximum
When being worth the data volume size in corresponding spatial cache and being equal to preset data amount size, it is equal to described to determine the scheduling rates
3rd scheduling rates of the average traffic speed of each road business datum.
As shown in Fig. 6 (a), it is assumed that there are A, B two-way business, during original state a, the buffer data size of two-way business is impartial
In preset data amount;If the first scheduling rates, since scheduling rates are bigger than inlet rate, the caching of two-way business are used at this time
Data volume gradually decreases, and will jump to state b;If using the second scheduling rates again at this time, since scheduling rates are than entrance speed
Rate is small, and the buffer data size of two-way business is gradually saved bit by bit, and will jump to state c.In specific implementation, when the caching of two-way business
When data volume size is less than preset data amount size, using the second scheduling rates, so that the buffer data size of two-way business delays
It is slow to increase, if on the contrary, the buffer data size size of two-way business is more than preset data amount size, using the first scheduling rates, with
So that the buffer data size of two-way business is slowly reduced, by such process, the buffer data size of final two-way business is pre-
If data volume oscillates about, state d is reached.
In Fig. 6 (a), the buffer status of two-way business datum is consistent.Fig. 6 (b)~(c) is the buffer status of two-way business
Inconsistent but identical with the comparative result of preset data amount size situation.
As shown in Fig. 6 (b), during original state a, the buffer data size of A, B two-way business is equal to preset data amount;In shape
During state b, business A, B produces data burst and increases, and the data burst increment of A is more than the data burst increment of B, at this time A industry
The buffer data size of business is more than the buffer data size of B business.Due to the buffer data size of A, B business, to be both greater than preset data amount big
It is small, using the first scheduling rates more than inlet rate.Since the average traffic speed of A, B two-way business is consistent, pass through
After a period of time, c states can be reached, still use the first scheduling rates at this time, the buffer data size of final two-way business is default
Data volume oscillates about, and reaches state d.
As shown in Fig. 6 (c), during original state a, the buffer data size of A, B two-way business is equal to preset data amount;In shape
During state b, business A, B produces data burst and reduces, and the data burst decrement of B is more than the data burst decrement of A, at this time B industry
The buffer data size of business is less than the buffer data size of A business.Due to the buffer data size of A, B business, to be both less than preset data amount big
It is small, using the second scheduling rates less than inlet rate.Since the average traffic speed of A, B two-way business is consistent, pass through
After a period of time, c states can be reached, still use the second scheduling rates at this time, the buffer data size of final two-way business is default
Data volume oscillates about, and reaches state d.
Fig. 6 (d) is the buffer data size of the two-way business situation different from the comparative result of preset data amount size.
As shown in Fig. 6 (d), during original state a, the buffer data size of A, B two-way business is equal to preset data amount;In shape
During state b, business A produces data burst and increases, and business B produces data burst and reduces, and the data burst increment of A is more than B's
Data burst decrement, at this time, the buffer data size of A business are more than preset data amount size, and the buffer data size of B business is less than
Preset data amount size, since the buffer data size size of A business and the absolute value of difference of preset data amount size are more than B business
Buffer data size size and preset data amount size difference absolute value, so A business is subject in overall scheduling, using first
Scheduling rates.Through that after a period of time, can reach c states, at this time, the buffer data size of A business is more than preset data amount size,
The buffer data size of B business is less than preset data amount size, due to buffer data size size and the preset data amount size of B business
Difference absolute value be more than A business buffer data size size and preset data amount size difference absolute value, so overall tune
B business of being subject to is spent, using the second scheduling rates;The buffer data size of final two-way business is oscillated about in preset data amount,
Arrival state d.
In specific implementation process, if had in two-way business datum all the way, business datum damages, according only to lossless
The buffer status of business datum determines scheduling rates all the way.
S403:Transmitting terminal is by business datum is sent to receiving terminal by OTN all the way described in after merging.
S404:Receiving terminal receives the business datum all the way after merging.
S405:Receiving terminal is split the business datum all the way after the merging of reception, obtains splitting Hou Ge roads business
Data.
S406:If in the expense subframe region of the optical channel data cell ODUk in business datum all the way after the merging
Instruction will then split Hou Ge roads business datum and be sent respectively to client, and be directed in the presence of at least business datum damages all the way
Damage it is described at least all the way in business datum per business datum all the way, sent to the client and indicate the road business datum
The information damaged.
In actual implementation, the embodiment of the present invention can be applied to two-way and have relative delay requirement more than two-way
The transmission of business datum.It is that multi-channel service data are mapped on low order ODUk to be transmitted, the embodiment of the present invention is also in Fig. 5
The transmission of low order ODUk business datum of the multichannel with relative delay requirement is can be applied to, as shown in fig. 7, by multichannel low order
ODUk merges to be mapped to be transmitted on high-order ODUk all the way.
Based on same inventive concept, a kind of industry corresponding with service data transmission method is additionally provided in the embodiment of the present invention
Business data transmission device, since the principle that the device solves the problems, such as is similar to service data transmission method of the embodiment of the present invention, because
The implementation of this device may refer to the implementation of method, and overlaps will not be repeated.
Example IV
As shown in figure 8, the business data transmission device structure diagram provided for the embodiment of the present invention four, including:
Writing module 81, for reception to be write the corresponding spatial cache of road business datum per business datum all the way
In;
Merging module 82, for being taken from the corresponding spatial cache of each road business datum required with relative delay
Go out business datum to merge, the business datum all the way after being merged;Each road business number with relative delay requirement
The time interval that any two-way business datum was reached between the time of client in needs to be less than preset duration;
Sending module 83, for business datum all the way described in sending after the merging module 82 merges.
Alternatively, the merging module 82 is specifically used for:
After each road business datum progress byte of taking-up is interleave, business datum all the way is merged into;Wherein, per business all the way
The adjacent byte of each byte is the byte of other circuit-switched datas in data.
Alternatively, the merging module 82 is specifically used for:
According to the data volume size in the corresponding spatial cache of each road business datum, scheduling each road is determined
General scheduling rates when in business datum per business datum all the way;According to definite scheduling rates, from each road business number
Merged according to business datum is taken out in corresponding spatial cache.
Alternatively, the merging module 82 is specifically used for:
When the data volume size in the corresponding spatial cache of each road business datum, to be all higher than preset data amount big
It is small, or in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache is more than
Preset data amount size, when the data volume size in remaining spatial cache is equal to preset data amount size, determines the scheduling speed
Rate is the first scheduling rates of the average traffic speed more than each road business datum;
When the data volume size in the corresponding spatial cache of each road business datum, to be respectively less than preset data amount big
It is small, or in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache is less than
Preset data amount size, when the data volume size in remaining spatial cache is equal to preset data amount size, determines the scheduling speed
Rate is the second scheduling rates of the average traffic speed less than each road business datum;
When the data volume size in the corresponding spatial cache of each road business datum, to be equal to preset data amount big
Hour, determine that the scheduling rates are the first scheduling rates of the average traffic speed more than each road business datum, or be
Less than the second scheduling rates of the average traffic speed of each road business datum, or it is putting down equal to each road business datum
3rd scheduling rates of equal service rate;
When in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache
More than preset data amount size, when the data volume size at least one spatial cache is less than preset data amount size, institute is determined
In the absolute value of the difference of data volume size and preset data amount size in the corresponding spatial cache of Shu Ge roads business datum
Maximum, according to the data volume size in the definite corresponding spatial cache of the maximum, determine the scheduling rates.
Alternatively, the merging module 82 is specifically used for:
Determine the data volume size and preset data amount size in the corresponding spatial cache of each road business datum
Difference absolute value in maximum;According to the data volume size in the definite corresponding spatial cache of the maximum, determine
The scheduling rates.
Alternatively, the merging module 82 is specifically used for:
When the data volume size in the definite corresponding spatial cache of the maximum is more than preset data amount size, really
The fixed scheduling rates are the first scheduling rates of the average traffic speed more than each road business datum;Described in determining
When data volume size in the corresponding spatial cache of maximum is less than preset data amount size, determine the scheduling rates be less than
Second scheduling rates of the average traffic speed of each road business datum;When the definite corresponding spatial cache of the maximum
In data volume size when being equal to preset data amount size, it is flat equal to each road business datum to determine the scheduling rates
3rd scheduling rates of equal service rate.
Alternatively, the merging module 82 is specifically used for:
If existing in each road business datum received, at least business datum damages all the way, according to each road business
Except described in damaging at least all the way in the corresponding spatial cache of other road business datums in addition to business datum in data
Data volume size, general scheduling rates when determining in scheduling each road business datum per business datum all the way.
Alternatively, which is applied to the business data transmission in Optical Transmission Network OTN OTN, and the sending module 83 is specifically used
In:
If existing in each road business datum received, at least business datum damages all the way, after the merging of transmission
The business datum all the way in optical channel data cell ODUk expense subframe region instruction damage it is described at least all the way
Business datum.
Embodiment five
As shown in figure 9, the business data transmission device structure diagram provided for the embodiment of the present invention five, including:
Receiving module 91, for receiving the business datum all the way after merging;
Module 92 is split, is split, obtained for the business datum all the way after the merging that receives the receiving module 91
To fractionation Hou Ge roads business datum;
Sending module 93, client is sent to for the fractionation module 92 to be split Hou Ge roads business datum.
Alternatively, the fractionation module 92 is specifically used for:
The carry out byte of reception is interleave into latter incorporated business datum all the way and carries out byte split, obtains splitting Hou Ge roads
Business datum.
Alternatively, this method is applied to the business data transmission in Optical Transmission Network OTN OTN, and the sending module 83 is specifically used
In:
If indicated in the expense subframe region of the optical channel data cell ODUk in business datum all the way after the merging
In the presence of at least business datum damages all the way, then it will split Hou Ge roads business datum and be sent respectively to client, and be directed to and damage
It is described at least all the way in business datum per business datum all the way, sent to the client and indicate that the road business datum damages
Information.
Embodiment six
As shown in Figure 10,100 structure diagram of business data transmission equipment provided for the embodiment of the present invention six, the equipment
Including processor 101, memory 102 and bus 103, the memory 102 stores execute instruction, when the business data transmission
When equipment 100 is run, communicated between the processor 101 and the memory 102 by bus 103 so that the processor
101 perform following execute instruction:
Reception is write in the corresponding spatial cache of road business datum per business datum all the way;
Business datum is taken out from the corresponding spatial cache of each road business datum required with relative delay to carry out
Merge, the business datum all the way after being merged;Any two-way industry in each road business datum with relative delay requirement
The time interval that business data were reached between the time of client needs to be less than preset duration;
Send the business datum all the way after merging.
Alternatively, in the execute instruction that the processor 101 performs, the business datum of taking-up is merged, is wrapped
Include:
After each road business datum progress byte of taking-up is interleave, business datum all the way is merged into;Wherein, per business all the way
The adjacent byte of each byte is the byte of other circuit-switched datas in data.
With reference to the 5th aspect, or the first possible implementation of the 5th aspect, in second of possible implementation
In, in the execute instruction that the processor 101 performs, corresponded to respectively from each road business datum required with relative delay
Spatial cache in take out business datum merge, including:
According to the data volume size in the corresponding spatial cache of each road business datum, scheduling each road is determined
General scheduling rates when in business datum per business datum all the way;
According to definite scheduling rates, business datum is taken out from the corresponding spatial cache of each road business datum
Merge.
Alternatively, in the execute instruction that the processor 101 performs, corresponded to respectively according to each road business datum
Spatial cache in data volume size, general scheduling when determining in scheduling each road business datum per business datum all the way
Speed, including:
When the data volume size in the corresponding spatial cache of each road business datum, to be all higher than preset data amount big
It is small, or in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache is more than
Preset data amount size, when the data volume size in remaining spatial cache is equal to preset data amount size, determines the scheduling speed
Rate is the first scheduling rates of the average traffic speed more than each road business datum;
When the data volume size in the corresponding spatial cache of each road business datum, to be respectively less than preset data amount big
It is small, or in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache is less than
Preset data amount size, when the data volume size in remaining spatial cache is equal to preset data amount size, determines the scheduling speed
Rate is the second scheduling rates of the average traffic speed less than each road business datum;
When the data volume size in the corresponding spatial cache of each road business datum, to be equal to preset data amount big
Hour, determine that the scheduling rates are the first scheduling rates of the average traffic speed more than each road business datum, or be
Less than the second scheduling rates of the average traffic speed of each road business datum, or it is putting down equal to each road business datum
3rd scheduling rates of equal service rate;
When in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache
More than preset data amount size, when the data volume size at least one spatial cache is less than preset data amount size, institute is determined
In the absolute value of the difference of data volume size and preset data amount size in the corresponding spatial cache of Shu Ge roads business datum
Maximum, according to the data volume size in the definite corresponding spatial cache of the maximum, determine the scheduling rates.
Alternatively, in the execute instruction that the processor 101 performs, corresponded to respectively according to each road business datum
Spatial cache in data volume size, general scheduling when determining in scheduling each road business datum per business datum all the way
Speed, including:
Determine the data volume size and preset data amount size in the corresponding spatial cache of each road business datum
Difference absolute value in maximum;
According to the data volume size in the definite corresponding spatial cache of the maximum, the scheduling rates are determined.
Alternatively, it is corresponding slow according to the definite maximum in the execute instruction that the processor 101 performs
The data volume size in space is deposited, determines the scheduling rates, including:
When the data volume size in the definite corresponding spatial cache of the maximum is more than preset data amount size, really
The fixed scheduling rates are the first scheduling rates of the average traffic speed more than each road business datum;
When the data volume size in the definite corresponding spatial cache of the maximum is less than preset data amount size, really
The fixed scheduling rates are the second scheduling rates of the average traffic speed less than each road business datum;
When the data volume size in the definite corresponding spatial cache of the maximum is equal to preset data amount size, really
The fixed scheduling rates are the 3rd scheduling rates of the average traffic speed equal to each road business datum.
Alternatively, in the execute instruction that the processor 101 performs, corresponded to respectively according to each road business datum
Spatial cache in data volume size, general scheduling when determining in scheduling each road business datum per business datum all the way
Speed, including:
If existing in each road business datum received, at least business datum damages all the way, according to each road business
Except described in damaging at least all the way in the corresponding spatial cache of other road business datums in addition to business datum in data
Data volume size, general scheduling rates when determining in scheduling each road business datum per business datum all the way.
Alternatively, business data transmission of the equipment application in Optical Transmission Network OTN OTN, the institute that the processor 101 performs
State in execute instruction, the business datum all the way sent after merging, including:
If existing in each road business datum received, at least business datum damages all the way, after the merging of transmission
The business datum all the way in optical channel data cell ODUk expense subframe region instruction damage it is described at least all the way
Business datum.
Embodiment seven
As shown in figure 11,110 structure diagram of business data transmission equipment provided for the embodiment of the present invention seven, the equipment
Including processor 111, memory 112 and bus 113, the memory 112 stores execute instruction, when the business data transmission
When equipment 110 is run, pass through bus communication between the processor 111 and the memory 112 so that the processor 111
Perform following execute instruction:
Receive the business datum all the way after merging;
Business datum all the way after the merging of reception is split, obtains splitting Hou Ge roads business datum;
Hou Ge roads business datum will be split and be sent to client.
Alternatively, in the execute instruction that the processor 111 performs, by the business datum all the way after the merging of reception
Split, obtain splitting Hou Ge roads business datum, including:
The carry out byte of reception is interleave into latter incorporated business datum all the way and carries out byte split, obtains splitting Hou Ge roads
Business datum.
Alternatively, business data transmission of the equipment application in Optical Transmission Network OTN OTN, the institute that the processor 111 performs
To state in execute instruction, the Hou Ge roads business datum that will split is sent to client, including:
If indicated in the expense subframe region of the optical channel data cell ODUk in business datum all the way after the merging
In the presence of at least business datum damages all the way, then it will split Hou Ge roads business datum and be sent respectively to client, and be directed to and damage
It is described at least all the way in business datum per business datum all the way, sent to the client and indicate that the road business datum damages
Information.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of device (system) and computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or square frame in journey and/or square frame and flowchart and/or the block diagram.These computer programs can be provided
The processors of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices, which produces, to be used in fact
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided and is used for realization in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make these embodiments other change and modification.So appended claims be intended to be construed to include it is excellent
Select embodiment and fall into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and scope.In this way, if these modifications and changes of the present invention belongs to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these modification and variations.
Claims (14)
1. a kind of service data transmission method, it is characterised in that the service data transmission method is applied to optical transport network OTN
Transmitting terminal, this method includes:
Reception is write in the corresponding spatial cache of road business datum per business datum all the way;
Business datum is taken out from the corresponding spatial cache of each road business datum required with relative delay to merge,
Business datum all the way after being merged;Any two-way business datum in each road business datum with relative delay requirement
The time interval reached between the time of client needs to be less than preset duration;
Send the business datum all the way after merging;
Business datum is taken out from the corresponding spatial cache of each road business datum required with relative delay to merge,
Including:
According to the data volume size in the corresponding spatial cache of each road business datum, scheduling each road business is determined
General scheduling rates when in data per business datum all the way;
According to definite scheduling rates, from the corresponding spatial cache of each road business datum taking out business datum carries out
Merge.
2. the method as described in claim 1, it is characterised in that the business datum of taking-up is merged, including:
After each road business datum progress byte of taking-up is interleave, business datum all the way is merged into;Wherein, per business datum all the way
In each byte adjacent byte be other circuit-switched datas byte.
3. the method as described in claim 1, it is characterised in that according to the corresponding spatial cache of each road business datum
In data volume size, general scheduling rates when determining in scheduling each road business datum per business datum all the way, including:
When the data volume size in the corresponding spatial cache of each road business datum is all higher than preset data amount size, or
In the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache is more than present count
According to amount size, when the data volume size in remaining spatial cache is equal to preset data amount size, it is big to determine the scheduling rates
In the first scheduling rates of the average traffic speed of each road business datum;
When the data volume size in the corresponding spatial cache of each road business datum is respectively less than preset data amount size, or
In the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache is less than present count
According to amount size, when the data volume size in remaining spatial cache is equal to preset data amount size, it is small to determine the scheduling rates
In the second scheduling rates of the average traffic speed of each road business datum;
When the data volume size in the corresponding spatial cache of each road business datum is equal to preset data amount size,
Determine the first scheduling rates that the scheduling rates are the average traffic speed more than each road business datum, or for less than institute
Second scheduling rates of the average traffic speed of Shu Ge roads business datum, or be the average traffic equal to each road business datum
3rd scheduling rates of speed;
When in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache is more than
Preset data amount size, when the data volume size at least one spatial cache is less than preset data amount size, determines described each
In the absolute value of the difference of data volume size and preset data amount size in the corresponding spatial cache of road business datum most
Big value, according to the data volume size in the definite corresponding spatial cache of the maximum, determines the scheduling rates.
4. the method as described in claim 1, it is characterised in that according to the corresponding spatial cache of each road business datum
In data volume size, general scheduling rates when determining in scheduling each road business datum per business datum all the way, including:
Determine the difference of the data volume size and preset data amount size in the corresponding spatial cache of each road business datum
Absolute value in maximum;
According to the data volume size in the definite corresponding spatial cache of the maximum, the scheduling rates are determined.
5. the method as described in claim 3 or 4, it is characterised in that according to the definite corresponding spatial cache of the maximum
In data volume size, determine the scheduling rates, including:
When the data volume size in the definite corresponding spatial cache of the maximum is more than preset data amount size, institute is determined
State the first scheduling rates that scheduling rates are the average traffic speed more than each road business datum;
When the data volume size in the definite corresponding spatial cache of the maximum is less than preset data amount size, institute is determined
State the second scheduling rates that scheduling rates are the average traffic speed less than each road business datum;
When the data volume size in the definite corresponding spatial cache of the maximum is equal to preset data amount size, institute is determined
State the 3rd scheduling rates that scheduling rates are the average traffic speed equal to each road business datum.
6. the method as described in claim 1,3,4 is any, it is characterised in that corresponding according to each road business datum
Data volume size in spatial cache, general scheduling speed when determining in scheduling each road business datum per business datum all the way
Rate, including:
If existing in each road business datum received, at least business datum damages all the way, according to each road business datum
In except at least data in the corresponding spatial cache of other road business datums in addition to business datum all the way described in damaging
Size is measured, general scheduling rates when determining in scheduling each road business datum per business datum all the way.
7. the method as described in claim 1,2,3,4 is any, it is characterised in that this method is applied in Optical Transmission Network OTN OTN
Business data transmission, the business datum all the way sent after merging, including:
If existing in each road business datum received, at least business datum damages all the way, passes through the institute after the merging of transmission
State at least business all the way that the expense subframe region instruction of the optical channel data cell ODUk in business datum all the way damages
Data.
8. a kind of transmitting terminal of OTN, it is characterised in that the transmitting terminal of the OTN includes:
Writing module, for reception to be write in the corresponding spatial cache of road business datum per business datum all the way;
Merging module, for taking out business from the corresponding spatial cache of each road business datum required with relative delay
Data merge, the business datum all the way after being merged;Appoint in each road business datum with relative delay requirement
The time interval that meaning two-way business datum was reached between the time of client needs to be less than preset duration;
Sending module, for business datum all the way described in sending after the merging module merges;
The merging module is specifically used for:
According to the data volume size in the corresponding spatial cache of each road business datum, scheduling each road business is determined
General scheduling rates when in data per business datum all the way;According to definite scheduling rates, from each road business datum point
Business datum is taken out in not corresponding spatial cache to merge.
9. the transmitting terminal of OTN as claimed in claim 8, it is characterised in that the merging module is specifically used for:
After each road business datum progress byte of taking-up is interleave, business datum all the way is merged into;Wherein, per business datum all the way
In each byte adjacent byte be other circuit-switched datas byte.
10. the transmitting terminal of OTN as claimed in claim 8, it is characterised in that the merging module is specifically used for:
When the data volume size in the corresponding spatial cache of each road business datum is all higher than preset data amount size, or
In the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache is more than present count
According to amount size, when the data volume size in remaining spatial cache is equal to preset data amount size, it is big to determine the scheduling rates
In the first scheduling rates of the average traffic speed of each road business datum;
When the data volume size in the corresponding spatial cache of each road business datum is respectively less than preset data amount size, or
In the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache is less than present count
According to amount size, when the data volume size in remaining spatial cache is equal to preset data amount size, it is small to determine the scheduling rates
In the second scheduling rates of the average traffic speed of each road business datum;
When the data volume size in the corresponding spatial cache of each road business datum is equal to preset data amount size,
Determine the first scheduling rates that the scheduling rates are the average traffic speed more than each road business datum, or for less than institute
Second scheduling rates of the average traffic speed of Shu Ge roads business datum, or be the average traffic equal to each road business datum
3rd scheduling rates of speed;
When in the corresponding spatial cache of each road business datum, the data volume size at least one spatial cache is more than
Preset data amount size, when the data volume size at least one spatial cache is less than preset data amount size, determines described each
In the absolute value of the difference of data volume size and preset data amount size in the corresponding spatial cache of road business datum most
Big value, according to the data volume size in the definite corresponding spatial cache of the maximum, determines the scheduling rates.
11. the transmitting terminal of OTN as claimed in claim 8, it is characterised in that the merging module is specifically used for:
Determine the difference of the data volume size and preset data amount size in the corresponding spatial cache of each road business datum
Absolute value in maximum;According to the data volume size in the definite corresponding spatial cache of the maximum, determine described
Scheduling rates.
12. the transmitting terminal of the OTN as described in claim 10 or 11, it is characterised in that the merging module is specifically used for:
When the data volume size in the definite corresponding spatial cache of the maximum is more than preset data amount size, institute is determined
State the first scheduling rates that scheduling rates are the average traffic speed more than each road business datum;When the definite maximum
When being worth the data volume size in corresponding spatial cache and being less than preset data amount size, it is less than described to determine the scheduling rates
Second scheduling rates of the average traffic speed of each road business datum;When in the definite corresponding spatial cache of the maximum
When data volume size is equal to preset data amount size, it is the average industry equal to each road business datum to determine the scheduling rates
3rd scheduling rates of speed of being engaged in.
13. the transmitting terminal of the OTN as described in claim 8,10,11 is any, it is characterised in that the merging module is specifically used
In:
If existing in each road business datum received, at least business datum damages all the way, according to each road business datum
In except at least data in the corresponding spatial cache of other road business datums in addition to business datum all the way described in damaging
Size is measured, general scheduling rates when determining in scheduling each road business datum per business datum all the way.
14. the transmitting terminal of the OTN as described in claim 8,9,10,11 is any, it is characterised in that the transmitting terminal application of the OTN
Business data transmission in Optical Transmission Network OTN OTN, the sending module are specifically used for:
If existing in each road business datum received, at least business datum damages all the way, passes through the institute after the merging of transmission
State at least business all the way that the expense subframe region instruction of the optical channel data cell ODUk in business datum all the way damages
Data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510144552.4A CN104734992B (en) | 2015-03-30 | 2015-03-30 | A kind of service data transmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510144552.4A CN104734992B (en) | 2015-03-30 | 2015-03-30 | A kind of service data transmission method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104734992A CN104734992A (en) | 2015-06-24 |
CN104734992B true CN104734992B (en) | 2018-04-20 |
Family
ID=53458439
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510144552.4A Active CN104734992B (en) | 2015-03-30 | 2015-03-30 | A kind of service data transmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104734992B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107547124B (en) * | 2016-06-24 | 2021-06-15 | 中兴通讯股份有限公司 | Reset control method and device |
CN112580098A (en) * | 2020-12-23 | 2021-03-30 | 光大兴陇信托有限责任公司 | Business data comparison method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1842057A (en) * | 2005-04-01 | 2006-10-04 | 华为技术有限公司 | Signal disconnection and combination method and apparatus |
CN101001476A (en) * | 2007-01-26 | 2007-07-18 | 华为技术有限公司 | Service scheduling system and method |
CN101453290A (en) * | 2007-01-26 | 2009-06-10 | 华为技术有限公司 | Service scheduling system and method |
CN101478704A (en) * | 2008-12-31 | 2009-07-08 | 华为技术有限公司 | Data resolution method and apparatus for optical channel transmission unit |
WO2010135864A1 (en) * | 2009-05-26 | 2010-12-02 | 华为技术有限公司 | Method, device and communication system of transmitting client data |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012106898A1 (en) * | 2011-07-18 | 2012-08-16 | 华为技术有限公司 | Method, device and system for transmitting and processing multi-channel audio-video |
-
2015
- 2015-03-30 CN CN201510144552.4A patent/CN104734992B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1842057A (en) * | 2005-04-01 | 2006-10-04 | 华为技术有限公司 | Signal disconnection and combination method and apparatus |
CN101001476A (en) * | 2007-01-26 | 2007-07-18 | 华为技术有限公司 | Service scheduling system and method |
CN101453290A (en) * | 2007-01-26 | 2009-06-10 | 华为技术有限公司 | Service scheduling system and method |
CN101478704A (en) * | 2008-12-31 | 2009-07-08 | 华为技术有限公司 | Data resolution method and apparatus for optical channel transmission unit |
WO2010135864A1 (en) * | 2009-05-26 | 2010-12-02 | 华为技术有限公司 | Method, device and communication system of transmitting client data |
Also Published As
Publication number | Publication date |
---|---|
CN104734992A (en) | 2015-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109547357A (en) | Transmission method, device, equipment and the medium of data information in a kind of storage system | |
CN104734992B (en) | A kind of service data transmission method and device | |
CN103427846B (en) | Error control method in dynamic reconfigurable high-speed serial bus | |
CN103546467A (en) | Method for transmitting Modbus RTU protocol on TCP/IP network | |
CN101095308A (en) | Method and apparatus for generic interface, packet cut-through, overbooking, queue concatenation, and logical identification priority for a system packet interface device | |
CN105099843A (en) | Run time compression method for a vehicle communication bus | |
CN114388040B (en) | Method for notifying progress and capturing programmable atomic operation | |
EP1124362A2 (en) | Apparatus for processing TCP/IP by hardware, and operating method therefor | |
CN102609221B (en) | Hardware RAID 5/6 memory system and data processing method | |
EP3873044B1 (en) | Method and device for controlling communication compensation, and air conditioner | |
CN103716115B (en) | Time-multiplexed FEC coding methods and device | |
CN103701712B (en) | A kind of by multiple E1 line bondings and realize logical channel separate method | |
CN107465629A (en) | Method for limiting speed and device | |
CN105471548A (en) | Network data packet analyzing and distributing method | |
JP6893244B2 (en) | Data encapsulation methods and data transmission methods, devices and computer storage media | |
CN103634229B (en) | A kind of Inter-chip communication method and control device | |
US20160085683A1 (en) | Data receiving device and data receiving method | |
CN117708005A (en) | Memory access method, device, equipment and medium | |
US9282041B2 (en) | Congestion profiling of computer network devices | |
WO2012062093A1 (en) | Data mapping method and device | |
CN102468902B (en) | Method for Turbo coding of rate match/de-rate match in LTE (long term evolution) system | |
CN102447552A (en) | Method and system for realizing checksum updating of 1588UDP (User Datagram Protocol) packet in multiple MAC (Media Access Control) | |
CN103384178A (en) | ODU frame-like mapping method and device | |
CN106657097A (en) | Data transmission method and apparatus | |
JP2023541710A (en) | Line coding method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |