CN107528661A - A kind of method and device of business processing - Google Patents
A kind of method and device of business processing Download PDFInfo
- Publication number
- CN107528661A CN107528661A CN201610460276.7A CN201610460276A CN107528661A CN 107528661 A CN107528661 A CN 107528661A CN 201610460276 A CN201610460276 A CN 201610460276A CN 107528661 A CN107528661 A CN 107528661A
- Authority
- CN
- China
- Prior art keywords
- logical channel
- client traffic
- channel unit
- clock cycle
- processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/16—Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/16—Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
- H04J3/1605—Fixed allocated frame structures
- H04J3/1652—Optical Transport Network [OTN]
- H04J3/1658—Optical Transport Network [OTN] carrying packets or ATM cells
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/003—Arrangements for allocating sub-channels of the transmission path
- H04L5/0044—Arrangements for allocating sub-channels of the transmission path allocation of payload
- H04L5/0046—Determination of how many bits are transmitted on different sub-channels
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Communication Control (AREA)
Abstract
The invention provides a kind of method and device of business processing, it is related to communication field, transparent transmission of the client traffic in OTN when solving the problems, such as to lack a kind of mechanism in the prior art to realize FMP mappings.This method includes:According to the relation of unit logical channel unit payload size, client traffic speed and reference clock cycle, obtain and handle the reference clock cycle number that the client traffic data of a logical channel unit need;The reference clock cycle number needed according to the client traffic data of one logical channel unit of processing, obtain the logical channel unit expense for characterizing client traffic rate information, and the logical channel unit for being mounted with logical channel unit expense and client traffic data is transmitted so that receiving terminal can recover client traffic rate information according to logical channel unit expense.Transparent transmission of the client traffic in OTN when the solution of the present invention realizes FMP mappings.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of method and device of business processing.
Background technology
In Modern Communication System, the importance of optical transfer network (OTN, Optical Transport Network) is increasingly
Prominent, especially in the transmitting scene of middle and long distance, carry out data transmission using optical transfer network turns into current main flow.
When data transmission is carried out in optical transfer network, data must be converted into carry out transmitting required mark in optical transfer network
Calibration signal form.OTU (optical channel transport unit, Optical Channel Transport Unit-k) is believed defined in standard
Number form, OTU is made up of OTU expenses and ODU (optical channel data unit, Optical Channel Data Unit-k), and ODU
Then it is made up of ODU expenses and OPU (optical channel payload unit, optical channel Payload Unit).Client traffic is just
It is that OPU is loaded into by certain method, and then transmitted in optical transfer network.
The content formulated according to current standard, client traffic is loaded into OPU three kinds of methods:BMP(Bit-
Synchronous Mapping Procedure, bit synchronous mapping code), AMP (Asynchronous Mapping
Procedure, asynchronous mapping code) and GMP (Generic Mapping Procedure, general mapping code).BMP is applicable
In the client traffic speed situation consistent with OPU speed, AMP is applied to client traffic speed and the inconsistent situation of OPU speed,
But the difference of the two speed must within the specific limits, therefore the scope that AMP and BMP are applicable is relatively more limited.Comparatively,
GMP application is than wide, as long as client traffic speed is less than its OPU speed of carrying, it is possible to mapped using GMP.
Method is that the Payload Unit OPU of OTN frames is divided into multiple size identical time slots used by GMP maps, when
The bandwidth of gap is calculated according to the number of OPU bandwidth and division, and then according to the bandwidth of client traffic, client traffic is put into
In one or more time slot, fill discontented position and be then filled.Although GMP mappings is applied widely, there is also one
Fixed inferior position.One shortcoming is the conversion mutually of space division multiplexing to be completed and time division multiplexing, spends substantial amounts of logical resource.Another
Shortcoming is that to cause bandwidth availability ratio to be influenceed by client traffic speed bigger using the dividing mode of rigid bandwidth, and bandwidth is at certain
Utilization rate is not high in the case of a little.
A kind of mapping method FMP based on Multiplexing Technology be present, client signal is put into OTN frames or low order ODU
Frame is mapped in high-order ODU frames.The defects of FMP can overcome GMP to exist.FMP is drawn by the way of logic-based channel unit
Divide the Payload Unit OPU of OTN frames, the subspace of continuous multiple bytes compositions is defined as logical channel unit.This mapping side
Method can realize that the byte of a clock cycle processing all belongs to some logical channel unit, avoid space division multiplexing and time-division from answering
Mutually turn, save logical resource, reduce hard-wired complexity.Another difference of logical channel unit and time slot
It is, the size of logical channel unit can be configured according to the size of client traffic bandwidth, so as to which OPU bandwidth is abundant
Use, prevent bandwidth waste, improve bandwidth availability ratio.
FMP mappings reflect the actual speed rate of client traffic in units of logical channel unit, but lack one in the prior art
Transparent transmission of the client traffic in OTN when kind mechanism is to realize FMP mappings.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of method and device of business processing, solution lacks in the prior art
When a kind of weary mechanism is to realize FMP mappings the problem of transparent transmission of the client traffic in OTN.
In order to solve the above technical problems, embodiments of the invention provide a kind of method of business processing, including:
According to the relation of unit logical channel unit payload size, client traffic speed and reference clock cycle, at acquisition
The reference clock cycle number that the client traffic data of one logical channel unit of reason need;
The reference clock cycle number needed according to the client traffic data of one logical channel unit of processing, obtains and characterizes
The logical channel unit expense of client traffic rate information, and logical channel unit expense and client traffic data will be mounted with
Logical channel unit is transmitted so that receiving terminal can recover client traffic speed letter according to the logical channel unit expense
Breath.
It is furthermore, it is understood that described according to unit logical channel unit payload size, client traffic speed and reference clock week
The relation of phase, obtain the step of handling reference clock cycle number that the client traffic data of logical channel unit need and wrap
Include:
Obtain the unit logical channel unit payload size N and the data volume L of unit client traffic clock cycle processing
A common multiple K;
According to the relation of the common multiple K, client traffic speed and reference clock cycle, obtain K/N logic of processing and lead to
The reference clock cycle number W that the client traffic data of road unit need;
According to the reference clock cycle number W of the client traffic data needs of K/N logical channel unit of processing, at acquisition
Manage the reference clock cycle number that the client traffic data of each logical channel unit in K/N logical channel unit need
Cnd。
Furthermore, it is understood that the reference clock that the client traffic data according to K/N logical channel unit of processing need
Number of cycles W, obtain the base that the client traffic data of each logical channel unit in K/N logical channel unit of processing need
The step of punctual clock number of cycles Cnd, includes:
According to unit logical channel unit payload size N, reference clock frequency H and the client traffic speed S, obtain
The theoretical value CndL for the reference clock cycle number that the client traffic data of one logical channel unit of processing need;
Obtain the theory of the reference clock cycle number for the client traffic data needs for handling K/N-j logical channel unit
Value CndLK/N-j, wherein, CndLK/N-j=(K/N-j) * CndL, j are 0 to the integer between K/N-1;
According to the reference clock cycle number W of the client traffic data needs of K/N logical channel unit of processing, at acquisition
The reference clock cycle number W that the client traffic data of K/N-j logical channel unit of reason needK/N-j, wherein, WK/N-j=W-
(Cnd0+…+Cndj), wherein, CndjThe reference clock week needed for the client traffic data of j-th of logical channel unit of processing
Phase number, Cnd0=0;
The reference clock cycle number W that the client traffic data of described K/N-j logical channel unit of processing are neededK/N-j
The theoretical value of the reference clock cycle number needed with the client traffic data of described K/N-j logical channel unit of processing
CndLK/N-jIt is compared, and according to the client traffic data needs of one logical channel unit of comparative result and the processing
Reference clock cycle number theoretical value CndL, it is determined that processing+1 logical channel unit of jth client traffic data need
Reference clock cycle number Cndj+1。
Furthermore, it is understood that the benchmark that the client traffic data by described K/N-j logical channel unit of processing need
Clock cycle number WK/N-jThe reference clock cycle needed with the client traffic data of described K/N-j logical channel unit of processing
The theoretical value CndL of numberK/N-jIt is compared, and according to the client of one logical channel unit of comparative result and the processing
The theoretical value CndL for the reference clock cycle number that business datum needs, it is determined that the client of processing+1 logical channel unit of jth
The reference clock cycle number Cnd that business datum needsj+1The step of include:
If WK/N-j< CndLK/N-j, it is determined that the base that the client traffic data of processing+1 logical channel unit of jth need
Punctual clock number of cycles:Cndj+1=CndL-1;
If WK/N-j=CndLK/N-j, it is determined that the base that the client traffic data of processing+1 logical channel unit of jth need
Punctual clock number of cycles:Cndj+1=CndL;
If WK/N-j> CndLK/N-j, it is determined that the base that the client traffic data of processing+1 logical channel unit of jth need
Punctual clock number of cycles:Cndj+1=CndL+1.
It is furthermore, it is understood that described according to unit logical channel unit payload size, client traffic speed and reference clock week
The relation of phase, before obtaining the reference clock cycle number that the client traffic data of one logical channel unit of processing need, institute
Stating method also includes:
The number V for the client traffic virtual value that statistics predetermined number receives in the chip processing clock cycle;
The predetermined number chip counted is handled the number V of client traffic virtual value that is received in the clock cycle with
Threshold value set in advance is compared, and handles clock week to the predetermined number chip counted according to comparative result
The number V of the client traffic virtual value received in phase is smoothed.
Furthermore, it is understood that described handle the predetermined number chip counted the client traffic received in clock cycle
Before the number V of virtual value is compared with threshold value set in advance, methods described also includes:
Data volume L, chip processing clock frequency H1 and the client traffic handled according to the unit client traffic clock cycle
Speed S, obtain dutycycle n/m of the client traffic virtual value on the chip processing clock cycle;
According to the dutycycle n/m, the client traffic that setting predetermined number receives in M chip processing clock cycle has
The threshold value of valid value is M* (n/m)+f and M* (n/m)-f, wherein, f is preset constant.
Furthermore, it is understood that described handle the predetermined number chip counted the client traffic received in clock cycle
The number V of virtual value is compared with threshold value set in advance, and according to comparative result to the predetermined number that counts
The step of number V of the client traffic virtual value received in the individual chip processing clock cycle is smoothed includes:
If V < M* (n/m)-f, the predetermined number chip counted is handled to the visitor received in the clock cycle
The number V of family business virtual value is adjusted to:V=M* (n/m) -1;
If M* (n/m)-f≤V≤M* (n/m)+f, the predetermined number chip counted is handled into the clock cycle
The number V of the client traffic virtual value inside received is adjusted to:V=M* (n/m);
If V > M* (n/m)+f, the predetermined number chip counted is handled to the visitor received in the clock cycle
The number V of family business virtual value is adjusted to:V=M* (n/m)+1.
Furthermore, it is understood that described handle the predetermined number chip counted the client traffic received in clock cycle
The number V of virtual value is compared with threshold value set in advance, and according to comparative result to the predetermined number that counts
After the number V of the client traffic virtual value received in the individual chip processing clock cycle is smoothed, methods described is also
Including:
It is effective to obtain the client traffic received in the processing clock cycle of the predetermined number chip before smoothing processing
The client traffic virtual value received in the number of value, with the predetermined number chip processing clock cycle after smoothing processing
Number difference as remainder;
, will when counting the number of the client traffic virtual value received in the predetermined number chip processing clock cycle again
The number of client traffic virtual value received in the predetermined number chip processing clock cycle counted again with it is described remaining
Several sum, compared with threshold value set in advance, and according to comparative result to the predetermined number chip that counts again
The number of the client traffic virtual value received in the processing clock cycle is smoothed.
In order to solve the above technical problems, embodiments of the invention also provide a kind of device of business processing, including:
First acquisition module, for according to unit logical channel unit payload size, client traffic speed and reference clock
The relation in cycle, obtain and handle the reference clock cycle number that the client traffic data of a logical channel unit need;
Transport module, for the reference clock cycle needed according to the client traffic data of one logical channel unit of processing
Number, obtain characterize client traffic rate information logical channel unit expense, and will be mounted with logical channel unit expense and
The logical channel unit of client traffic data is transmitted so that receiving terminal can recover according to the logical channel unit expense
Client traffic rate information.
In order to solve the above technical problems, embodiments of the invention also provide a kind of method of business processing, including:
The extraction logic channel unit expense in the logical channel unit of reception, wherein it is mounted with and patrols in logical channel unit
Collect channel unit expense and client traffic data;
The client traffic data needs of one logical channel unit of processing are obtained according to the logical channel unit expense
Reference clock cycle number;
According to the reference clock cycle number of the client traffic data needs of one logical channel unit of processing, reference clock
Frequency and unit logical channel unit payload size, recover client traffic rate information.
Furthermore, it is understood that the reference clock week that the client traffic data according to one logical channel unit of processing need
Phase number, reference clock frequency and unit logical channel unit payload size, recover the step of client traffic data-rate information
Suddenly include:
Obtain the one of unit logical channel unit payload size N and the data volume L of unit client traffic clock cycle processing
Common multiple K;
During according to the reference clock cycle number of the client traffic data needs of K/N logical channel unit of processing, benchmark
Clock frequency and the common multiple K, recover client traffic data-rate information.
In order to solve the above technical problems, embodiments of the invention also provide a kind of device of business processing, including:
Extraction module, for extraction logic channel unit expense, wherein logical channel in the logical channel unit of reception
Logical channel unit expense and client traffic data are mounted with unit;
Second acquisition module, for obtaining the visitor of one logical channel unit of processing according to the logical channel unit expense
The reference clock cycle number that family business datum needs;
Recovery module, for the reference clock cycle needed according to the client traffic data of one logical channel unit of processing
Number, reference clock frequency and unit logical channel unit payload size, recover client traffic rate information.
The above-mentioned technical proposal of the present invention has the beneficial effect that:
The method of the business processing of the embodiment of the present invention, first according to unit logical channel unit payload size, Ke Huye
The relation of speed of being engaged in and reference clock cycle, when obtaining the benchmark for the client traffic data needs for handling a logical channel unit
Clock number of cycles;Then the reference clock cycle number needed according to the client traffic data of one logical channel unit of processing,
The logical channel unit expense for characterizing client traffic rate information is obtained, and logical channel unit expense and client's industry will be mounted with
The logical channel unit of business data is transmitted so that receiving terminal can recover client traffic speed according to logical channel unit expense
Rate information, it is achieved thereby that transparent transmission of the client traffic in OTN when FMP maps.
Brief description of the drawings
Fig. 1 is that the method for business processing of the present invention is applied to the flow chart of transmitting terminal;
Fig. 2 is logical channel unit in the method for business processing of the present invention and reference clock cycle corresponding relation schematic diagram;
The ODU2 virtual value distribution schematic diagrams that Fig. 3 exports for slave module in the method for business processing of the present invention;
Fig. 4 is the ODU2 virtual value distribution schematic diagrams in the method for business processing of the present invention Jing Guo smoothing processing;
Fig. 5 is that the device of business processing of the present invention is applied to the structural representation of transmitting terminal;
Fig. 6 is that the method for business processing of the present invention is applied to the flow chart of receiving terminal;
Fig. 7 is that the device of business processing of the present invention is applied to the structural representation of receiving terminal.
Embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool
Body embodiment is described in detail.
Shown in reference picture 1, the method for the business processing of the embodiment of the present invention, including:
Step 101, according to the pass of unit logical channel unit payload size, client traffic speed and reference clock cycle
System, obtain and handle the reference clock cycle number that the client traffic data of a logical channel unit need.
, it is necessary to which the time that the client traffic data for obtaining one logical channel unit of processing need, that is, obtain in this step
Client traffic data are loaded into the time used in a logical channel unit payload, this time is with reference clock cycle number
Cnd is represented.
Step 102, the reference clock cycle number needed according to the client traffic data of one logical channel unit of processing,
The logical channel unit expense for characterizing client traffic rate information is obtained, and logical channel unit expense and client's industry will be mounted with
The logical channel unit of business data is transmitted so that receiving terminal can recover client's industry according to the logical channel unit expense
Business rate information.
In this step, the value of the Cnd according to used in client traffic data are loaded into a logical channel unit payload can
Logical channel unit the expense Cn and Cd for characterizing client traffic rate information are calculated, to realize the transparent transmission of client traffic.
The method of the business processing of the embodiment of the present invention, when the FMP of logic-based channel unit maps, by client traffic speed
Rate information is put into logical channel unit expense so that receiving terminal can recover client traffic according to logical channel unit expense
Rate information, so as to ensure that transparent transmission of the client traffic in OTN.
Preferably, the step of above-mentioned steps 101 can include:
Step 1011, the unit logical channel unit payload size N is obtained to handle with the unit client traffic clock cycle
Data volume L a common multiple K.
Here, due to unit logical channel unit payload size N and the data volume L of unit client traffic clock cycle processing
It may not be the relation of integral multiple, so what the client traffic data for being unable to simple computation one logical channel unit of processing needed
Time.Wherein, the data volume of unit client traffic clock cycle processing is the byte number of unit client traffic clock cycle transmission.
Shown in reference picture 2, the time that a logical channel unit transmission needs corresponds to multiple reference clock cycle numbers.
In this step, unit logical channel unit payload size N and the word of unit client traffic clock cycle transmission are obtained
Joint number L common multiple K.K/L L byte is transferred in K/N logical channel unit.A logical channel unit is handled by calculating
Time for needing of client traffic data, be converted into calculating the client traffic data needs for handling K/N logical channel unit
Time.Wherein, common multiple K can be least common multiple.
Step 1012, according to the relation of the common multiple K, client traffic speed and reference clock cycle, processing K/N is obtained
The reference clock cycle number W that the client traffic data of individual logical channel unit need.
Here, the time for handling the client traffic data of K/N logical channel unit is to transmit what K/L L byte needed
Time, therefore the client traffic data for handling K/N logical channel unit need K/L client traffic clock cycle, further according to
Reference clock cycle number corresponding to K/L client traffic clock cycle, the visitor of K/N logical channel unit is just obtained handling
The reference clock cycle number W that family business datum needs.
Step 1013, the reference clock cycle needed according to the client traffic data of K/N logical channel unit of processing
Number W, obtain the reference clock that the client traffic data of each logical channel unit in K/N logical channel unit of processing need
Number of cycles Cnd.
Here, W is the Cnd values sum for the client traffic data needs for handling K/N logical channel unit, it is necessary to according to W
Obtain and handle the Cnd values that the client traffic data of a logical channel unit need, can just calculate and characterize client traffic speed
Logical channel unit the expense Cn and Cd of information.
The Cnd values corresponding to a logical channel unit directly obtaining W divided by K/N are uneven, so using equal
Homogenize processing and obtain Cnd values corresponding to each logical channel unit in K/N logical channel unit.Below to Homogenization Treatments
The step of describe in detail.
Preferably, the step of above-mentioned steps 1013 can include:
Step 10131, according to unit logical channel unit payload size N, reference clock frequency H and the client traffic
Speed S, obtain the theoretical value of the reference clock cycle number for the client traffic data needs for handling a logical channel unit
CndL。
Here, it is not clock jaggy as shown in Fig. 2 reference clock is continuous clock.One logical channel unit is net
The byte number of lotus is N, i.e. (N*8) bit.The client traffic data of a logical channel unit are handled, i.e., by client traffic data
Load a logical channel unit, it is necessary to the theoretical value CndL of reference clock cycle number can pass through formula:(N*8)*H/S
Obtain.
Step 10132, obtain and handle the reference clock cycle that the client traffic data of K/N-j logical channel unit need
The theoretical value CndL of numberK/N-j, wherein, CndLK/N-j=(K/N-j) * CndL, j are 0 to the integer between K/N-1.
Step 10133, the reference clock cycle needed according to the client traffic data of K/N logical channel unit of processing
Number W, obtain and handle the reference clock cycle number W that the client traffic data of K/N-j logical channel unit needK/N-j, wherein,
WK/N-j=W- (Cnd0+…+Cndj), wherein, CndjThe base needed for the client traffic data of j-th of logical channel unit of processing
Punctual clock number of cycles, Cnd0=0.
Step 10134, the reference clock week client traffic data of described K/N-j logical channel unit of processing needed
Phase number WK/N-jThe reference clock cycle number needed with the client traffic data of described K/N-j logical channel unit of processing
Theoretical value CndLK/N-jIt is compared, and according to the client traffic number of one logical channel unit of comparative result and the processing
According to the theoretical value CndL of the reference clock cycle number of needs, it is determined that the client traffic number of processing+1 logical channel unit of jth
According to the reference clock cycle number Cnd of needsj+1。
Here, it is 0 that can take j first, when obtaining the benchmark that the client traffic data of K/N logical channel unit of processing need
The theoretical value CndL of clock number of cyclesK/N=(K/N) * CndL, then the client traffic data that K/N logical channel unit will be handled
The reference clock cycle number W neededK/N(WK/N=W) and theoretical value CndLK/NIt is compared, obtains the 1st logical channel unit
Corresponding reference clock cycle number Cnd1.Then it is 1 to take j, obtains client's industry of processing K/N-1 logical channel unit of processing
The theoretical value CndL for the reference clock cycle number that data of being engaged in needK/N-1=(K/N-1) * CndL, then K/N-1 logic will be handled
The reference clock cycle number W that the client traffic data of channel unit needK/N-1(WK/N-1=W-Cnd1) and theoretical value
CndLK/N-1It is compared, obtains the 2nd reference clock cycle number Cnd corresponding to logical channel unit2.According to the method, take
J adds 1 successively, until obtaining Cnd values corresponding to each logical channel unit in K/N logical channel unit.
Now, using Homogenization Treatments mode, the Cnd values of equally distributed K/N logical channel unit have been obtained, and then
Logical channel unit the expense Cn and Cd of client traffic rate information can be obtained characterizing, to realize the transparent biography of client traffic
It is defeated.
Furthermore, it is understood that the step of above-mentioned steps 10134, can include:
If WK/N-j< CndLK/N-j, it is determined that the base that the client traffic data of processing+1 logical channel unit of jth need
Punctual clock number of cycles:Cndj+1=CndL-1;
If WK/N-j=CndLK/N-j, it is determined that the base that the client traffic data of processing+1 logical channel unit of jth need
Punctual clock number of cycles:Cndj+1=CndL;
If WK/N-j> CndLK/N-j, it is determined that the base that the client traffic data of processing+1 logical channel unit of jth need
Punctual clock number of cycles:Cndj+1=CndL+1.
Now, Cnd values corresponding to a logical channel unit have 3 kinds of values, Cnd theoretical value, Cnd theoretical value+1,
Cnd theoretical value -1.By comparing WK/N-jAnd CndLK/N-j, determine that+1 logical channel unit of jth is corresponding in this 3 kinds of values
Cnd values, realize the purposes of Homogenization Treatments.
In order that the overhead value required for the implementation FMP mappings being calculated is more accurate, it is necessary to effective to client traffic
Value is smoothed, and the step of smoothing processing is described in detail below.
Preferably, before above-mentioned steps 101, methods described can also include:
Step 1001, the number of the client traffic virtual value received in the predetermined number chip processing clock cycle is counted
V。
Here, a counter, client's industry that statistics predetermined number receives in M chip processing clock cycle can be set
The number V of business virtual value.
Step 1002, the predetermined number chip counted is handled to the client traffic virtual value received in the clock cycle
Number V compared with threshold value set in advance, and according to comparative result to the predetermined number chip that counts
The number V of the client traffic virtual value received in the processing clock cycle is smoothed.
Here, the number V of the client traffic virtual value counted every time is within the M chip processing clock cycle of predetermined number
It is different, by the number V of client traffic virtual value compared with the threshold value set, the client traffic after obtaining smoothly has
Valid value.
Now, by being smoothed to the client traffic virtual value counted, client traffic virtual value can be made to exist
Value reaches unanimity in the chip processing clock cycle of fixed qty, and distribution is more uniform, more accurate so as to obtain
The overhead value of logical channel unit.
Furthermore, it is understood that before above-mentioned steps 1002, methods described can also include:
Step 1003, according to the unit client traffic clock cycle handle data volume L, chip handle clock frequency H1 and
Client traffic speed S, obtain dutycycle n/m of the client traffic virtual value on the chip processing clock cycle.
Here, when FMP mappings are carried out, chip processing clock frequency H1 and the processing of unit client traffic clock cycle
Data volume (byte number transmitted) L be to determine, client traffic speed S is handled into clock frequency H1 and unit than upper chip
The byte number L of client traffic clock cycle processing product, obtained result is exactly client traffic virtual value when chip is handled
Dutycycle on the clock cycle, also serve as the calculated value of client traffic virtual value.Calculation formula is n/m=S/ (H1*L).Should
It is worth for a fraction, wherein n, m is positive integer.Based on this fraction of n/m, the client traffic virtual value of module output is carried out
Smoothing processing.
Wherein, the client traffic clock cycle is multiplied by m/n equal to the chip processing clock cycle.
Step 1004, handle what is received in the clock cycle according to the dutycycle n/m, setting M chip of predetermined number
The threshold value of client traffic virtual value is M* (n/m)+f and M* (n/m)-f, wherein, f is preset constant.
Here, M can value m*k, k is the positive integer more than or equal to 1, then the threshold value set is n*k+f and n*k-f.
Wherein, f is adjusted value, can be adjusted according to needs are realized.General f values are little, are constant after setting.
Specifically, the step of above-mentioned steps 1002, can include:
If V < M* (n/m)-f, the predetermined number chip counted is handled to the visitor received in the clock cycle
The number V of family business virtual value is adjusted to:V=M* (n/m) -1;
If M* (n/m)-f≤V≤M* (n/m)+f, the predetermined number chip counted is handled into the clock cycle
The number V of the client traffic virtual value inside received is adjusted to:V=M* (n/m);
If V > M* (n/m)+f, the predetermined number chip counted is handled to the visitor received in the clock cycle
The number V of family business virtual value is adjusted to:V=M* (n/m)+1.
It is assumed here that M value m*k, if V < n*k-f, n*k-1 is as client traffic virtual value for output;If n*k-f≤V
≤ n*k+f, then n*k is exported as client traffic virtual value;If V > n*k+f, n*k+1 is as client traffic virtual value for output.
By smoothing processing, within m*k chip processing clock cycle, the client traffic virtual value of statistics can tend to n*k.
Now, after smoothing processing, client traffic virtual value value within the chip processing clock cycle of fixed qty
Reach unanimity, distribution is more uniform.
It is assumed that client traffic is ODU2, shown in reference picture 3, the ODU2 virtual values directly exported in slave module are in chip processing
Uneven distribution is presented on clock cycle;Shown in reference picture 4, core of the ODU2 virtual values in fixed qty after smoothing processing
Piece is reached unanimity in the processing clock cycle, and presentation is uniformly distributed.
When above-mentioned smoothing processing is performed, a problem of remainders be present, remainder is exactly M chip processing clock week
Difference in phase between the number of the client traffic virtual value of statistics and the client traffic virtual value exported after smoothing processing.
Remainder is possible to as negative integer, positive integer or zero.Discounting for remainder, if remainder directly is zeroed out into processing, pass through
Client traffic rate information and original client traffic rate information after smoothing processing is inconsistent, causes client traffic speed to be believed
Breath is lost, it is therefore necessary to which remainder is handled accordingly.The step of handling below remainder describes in detail.
Preferably, after above-mentioned steps 1002, methods described can also include:
Step 1005, the client received in the predetermined number chip processing clock cycle before smoothing processing is obtained
The number V of business virtual value and the client's industry received in the predetermined number chip processing clock cycle after smoothing processing
The number VS of business virtual value difference is as remainder.
Here, the remainder got can be stored in counter, in order to inquire about and use.
For example, statistics receives the number V of client traffic virtual value within m*k chip processing clock cycle, if V < n*
K-f, then V is subtracted into n*k-1 and be stored in as remainder in counter, this remainder is negative value;If n*k-f≤V≤n*k+f, by V
N*k is subtracted to be stored in counter as remainder, this remainder be likely to be negative value, on the occasion of or 0;If V > n*k+f, V is subtracted
N*k+1 is stored in counter as remainder, this remainder be on the occasion of.
Step 1006, the client traffic virtual value received again in the statistics predetermined number chip processing clock cycle
During number, the predetermined number chip counted again is handled to the number of the client traffic virtual value received in the clock cycle
With the remainder and, compared with threshold value set in advance, and according to comparative result to the present count that counts again
The number for the client traffic virtual value that amount receives in the chip processing clock cycle is smoothed.
Here, the number of the client traffic virtual value received in the predetermined number chip processing clock cycle is counted again
During V1, V1 will add the remainder values in counter, and obtaining client traffic in this predetermined number chip processing clock cycle has
The number V1N of valid value, then repeat the above steps 1001-1002 the step of.Then V1N again and it is smooth after client traffic it is effective
The number V1NS of value carries out remainder calculating, there is provided is used to statistical value next time.
Now, by handling remainder, the loss of client traffic rate information is avoided, after ensure that smoothing processing
Client traffic rate information accuracy.
To sum up, the method for the business processing of the embodiment of the present invention, according to client traffic speed, chip handle clock frequency and
The treatable byte number of unit client traffic clock cycle institute, the theoretical calculation of a client traffic virtual value can be calculated
Value, then using this calculated value as according to being smoothed to client traffic, make client traffic virtual value in fixed qty
Clock cycle in value reach unanimity.Produced using the client traffic virtual value after smooth required for implementation FMP maps
Overhead value is more accurate than the overhead value required for not producing implementation FMP mappings using smooth client traffic virtual value.By
After smoothing processing obtains more uniformly characterizing the value of client signal rate information, reuse Homogenization Treatments and obtain client's industry
Data of being engaged in load the reference clock number Cnd of a logical channel unit, finally obtain and characterize patrolling for client traffic rate information
Collect channel unit expense Cn and Cd.Receiving terminal is enabled to recover client traffic speed according to logical channel unit expense Cn and Cd
Rate information, so as to ensure that transparent transmission of the client traffic in OTN.
Below so that client traffic is ODU2 as an example, the specific implementation to the method for the business processing of the embodiment of the present invention is flowed
Journey is illustrated below.
Client traffic is ODU2, ODU4 will be mapped into by FMP method, to the ODU2 virtual values of the direct output of slave module
It is smoothed and Homogenization Treatments, obtains characterizing logical channel unit the expense Cn and Cd of ODU2 rate informations.Receiving
End, ODU2 business can be recovered according to the logical channel unit expense Cn and Cd that extract.
It is assumed that logical channel unit payload size N is 475 bytes, the byte number L that the unit ODU2 clock cycle is handled is 40
Byte, the value of the parameter k in smoothing process is 1, and adjusted value f is set to 2.Because the byte number 3824 of ODU4 frame a line is not
It can be divided exactly by 40, increase by 16 byte of paddings when realizing, the ODU4 frame a line byte number so transmitted is 3840, it is necessary to 3840/
40=96 chip processing clock cycle completes the transmission of a line ODU4 frames.
The method of the business processing of the embodiment of the present invention, including:
Step 201, byte number L, chip processing the clock frequency H1 and ODU2 handled according to the unit ODU2 clock cycle
Speed S, calculate the calculated results n/m of ODU2 virtual values.
ODU2 Theoretical Rate is 9.95328*239/237Gbit/s, frame structure include ODU2 expenses, OPU2 expenses,
OPU2 payloads.Chip processing clock frequency H1 is 0.31104*15/14Ghz.The byte number L that the unit ODU2 clock cycle is handled is
40, common 40*8=320bit.Therefore the calculated results of ODU2 virtual values are:
N/m=9.95328*239/237/ (0.31104*15/14*320)=261/2773.
Step 202, the ODU2 virtual values of the direct output of module are smoothed according to the calculated results.Set one
Individual counter, count the number V of ODU2 virtual values in 2773 chip processing clock cycle.If V < 261-2, output 260 is made
For ODU2 virtual values;If 261-2≤V≤261+2, output 261 is used as client traffic virtual value;If V > 261+2, are exported
262 are used as client traffic virtual value.
Step 203, remainder is handled.If V < 261-2, are deposited in V-260 as remainder in counter;If
261-2≤V≤261+2, then deposit in V-261 as remainder in counter;If V > 261+2, using V-262 as remainder
Deposit in counter.When counting the ODU2 virtual values received in 2773 chips processing clock cycle next time, it is necessary to plus
Remainder in upper counter could carry out the processing of step 202, while calculate remainder and be stored in counter.
Step 204, obtain and handle the reference clock cycle number Cnd that the ODU2 data of a logical channel unit need,
Obtain and handle the reference clock cycle number that the ODU2 data of 475 bytes need.One ODU2 clock cycle handles ODU2
Corresponding 40 bytes of useful signal, so being unable to reference clock number corresponding to one 475 logical channel unit of simple computation.Take
475 and 40 least common multiple 3800, i.e. 8 475 logical channel units transfer 95 40 bytes.Calculate 95 ODU2 clocks
Reference clock cycle number W corresponding to cycle.
Step 205, it is directly that the Cnd values of 8 obtained logical channel units of W divided by 8 is uneven, so using homogenization
Processing obtains the Cnd values of 8 logical channel units.The client traffic data needs for handling a logical channel unit are obtained first
Reference clock cycle number theoretical value CndL.One logical channel unit payload N is 475 bytes, i.e. (475*8) bit.Base
Quasi- clock frequency H is the 1/640 of OTU4 speed, i.e. (225/227*99532800kbit/s)/640.ODU2 speed is 239/
237*9953280kbit/s.Pass through formula:(N*8) * H/S, the value for obtaining CndL are:
CndL=475*8* { (225/227*99532800)/640 }/(239/237*9953280) ≈ 66.
Step 206, it is 0 to take j, compares 8 logical channel unit Cnd value sums W8=W and 8 CndL value sums CndL8's
Size, CndL8=8*66=528, if W8> 528, it is determined that Cnd1=66+1=67;If W8=528, it is determined that Cnd1=
66;If W8< 528, it is determined that Cnd1=66-1=65.
Step 207, it is 1 to take j, is relatively left 7 logical channel unit Cnd value sums W7=W-Cnd1With 7 CndL values it
And CndL7Size, CndL7=7*66=462, if W7> 462, it is determined that Cnd2=66+1=67;If W7=462, then
Determine Cnd2=66;If W7< 462, it is determined that Cnd2=66-1=65.
Step 208, it is 2 to take j, is relatively left 6 logical channel unit Cnd value sums W6=W- (Cnd1+Cnd2) and 6
CndL value sums CndL6Size, CndL6=6*66=396, if W6> 396, it is determined that Cnd3=66+1=67;If W6
=396, it is determined that Cnd3=66;If W6< 396, it is determined that Cnd3=66-1=65.
Step 209, the method according to step 206-208 calculates each logic in remaining 5 logical channel units successively
Cnd values corresponding to channel unit.
Step 210, Cnd values, computational representation ODU2 rate informations are patrolled according to corresponding to the 1 of calculating logical channel unit
Channel unit expense Cn and Cd are collected, and the logical channel unit for being mounted with logical channel unit expense and client traffic data is entered
Row transmission so that receiving terminal can recover client traffic rate information according to logical channel unit expense.
The method of the business processing of the embodiment of the present invention, when the FMP of logic-based channel unit maps, by client traffic speed
Rate information is put into logical channel unit expense so that receiving terminal can recover client traffic according to logical channel unit expense
Rate information, so as to ensure that transparent transmission of the client traffic in OTN.
Shown in reference picture 5, embodiments of the invention also provide a kind of device of business processing, including:
First acquisition module, for according to unit logical channel unit payload size, client traffic speed and reference clock
The relation in cycle, obtain and handle the reference clock cycle number that the client traffic data of a logical channel unit need;
Transport module, for the reference clock cycle needed according to the client traffic data of one logical channel unit of processing
Number, obtain characterize client traffic rate information logical channel unit expense, and will be mounted with logical channel unit expense and
The logical channel unit of client traffic data is transmitted so that receiving terminal can recover according to the logical channel unit expense
Client traffic rate information.
The device of the business processing of the embodiment of the present invention, when the FMP of logic-based channel unit maps, by client traffic speed
Rate information is put into logical channel unit expense so that receiving terminal can recover client traffic according to logical channel unit expense
Rate information, so as to ensure that transparent transmission of the client traffic in OTN.
Preferably, first acquisition module includes:
First acquisition unit, for obtaining the unit logical channel unit payload size N and unit client traffic clock
The data volume L of a period treatment common multiple K;
Second acquisition unit, for the relation according to the common multiple K, client traffic speed and reference clock cycle, obtain
The reference clock cycle number W for taking the client traffic data of K/N logical channel unit of processing to need;
3rd acquiring unit, during for according to the benchmark of the client traffic data needs of K/N logical channel unit of processing
Clock number of cycles W, obtain what the client traffic data of each logical channel unit in K/N logical channel unit of processing needed
Reference clock cycle number Cnd.
Preferably, the 3rd acquiring unit includes:
First obtain subelement, for according to the unit logical channel unit payload size N, reference clock frequency H with
And client traffic speed S, obtain and handle the reference clock cycle number that the client traffic data of a logical channel unit need
Theoretical value CndL;
Second obtains subelement, and the base that the client traffic data of K/N-j logical channel unit need is handled for obtaining
The theoretical value CndL of punctual clock number of cyclesK/N-j, wherein, CndLK/N-j=(K/N-j) * CndL, j are 0 to whole between K/N-1
Number;
3rd obtains subelement, for the benchmark needed according to the client traffic data of K/N logical channel unit of processing
Clock cycle number W, obtain and handle the reference clock cycle number that the client traffic data of K/N-j logical channel unit need
WK/N-j, wherein, WK/N-j=W- (Cnd0+…+Cndj), wherein, CndjTo handle the client traffic number of j-th of logical channel unit
According to the reference clock cycle number of needs, Cnd0=0;
Determination subelement, for the benchmark for needing the client traffic data of described K/N-j logical channel unit of processing
Clock cycle number WK/N-jThe reference clock cycle needed with the client traffic data of described K/N-j logical channel unit of processing
The theoretical value CndL of numberK/N-jIt is compared, and according to the client of one logical channel unit of comparative result and the processing
The theoretical value CndL for the reference clock cycle number that business datum needs, it is determined that the client of processing+1 logical channel unit of jth
The reference clock cycle number Cnd that business datum needsj+1。
Further, the determination subelement is specifically used for:
If WK/N-j< CndLK/N-j, it is determined that the base that the client traffic data of processing+1 logical channel unit of jth need
Punctual clock number of cycles:Cndj+1=CndL-1;
If WK/N-j=CndLK/N-j, it is determined that the base that the client traffic data of processing+1 logical channel unit of jth need
Punctual clock number of cycles:Cndj+1=CndL;
If WK/N-j> CndLK/N-j, it is determined that the base that the client traffic data of processing+1 logical channel unit of jth need
Punctual clock number of cycles:Cndj+1=CndL+1.
Preferably, described device also includes:
Statistical module, for counting the client traffic virtual value received in the predetermined number chip processing clock cycle
Number V;
Smoothing module, for the predetermined number counted chip to be handled into the client's industry received in the clock cycle
Be engaged in virtual value number V compared with threshold value set in advance, and according to comparative result to the present count that counts
The number V for the client traffic virtual value that amount receives in the chip processing clock cycle is smoothed.
Preferably, described device also includes:
3rd acquisition module, for data volume L, the chip processing clock frequency handled according to the unit client traffic clock cycle
Rate H1 and client traffic speed S, obtain dutycycle n/m of the client traffic virtual value on the chip processing clock cycle;
Setting module, for being received according to the dutycycle n/m, setting predetermined number in M chip processing clock cycle
The threshold value of the client traffic virtual value arrived is M* (n/m)+f and M* (n/m)-f, wherein, f is preset constant.
Further, the smoothing module is specifically used for:
If V < M* (n/m)-f, the predetermined number chip counted is handled to the visitor received in the clock cycle
The number V of family business virtual value is adjusted to:V=M* (n/m) -1;
If M* (n/m)-f≤V≤M* (n/m)+f, the predetermined number chip counted is handled into the clock cycle
The number V of the client traffic virtual value inside received is adjusted to:V=M* (n/m);
If V > M* (n/m)+f, the predetermined number chip counted is handled to the visitor received in the clock cycle
The number V of family business virtual value is adjusted to:V=M* (n/m)+1.
Preferably, described device also includes:
4th acquisition module, received for obtaining in the processing clock cycle of the predetermined number chip before smoothing processing
Received in the number of the client traffic virtual value arrived, with the predetermined number chip processing clock cycle after smoothing processing
Client traffic virtual value number difference as remainder;
The smoothing module is additionally operable to, and counts the visitor received in the predetermined number chip processing clock cycle again
During the number of family business virtual value, the predetermined number chip counted again is handled to the client's industry received in the clock cycle
Be engaged in the number and the remainder of virtual value and, compared with threshold value set in advance, and according to comparative result to again
The number of the client traffic virtual value received in the predetermined number chip processing clock cycle counted is smoothed.
The device of the business processing of the embodiment of the present invention, when the FMP of logic-based channel unit maps, by client traffic speed
Rate information is put into logical channel unit expense so that receiving terminal can recover client traffic according to logical channel unit expense
Rate information, so as to ensure that transparent transmission of the client traffic in OTN.
It should be noted that the device of the business processing is the device corresponding with the method for above-mentioned business processing, wherein
All implementations can also reach same technique effect suitable for the embodiment of the device in above method embodiment.
Shown in reference picture 6, embodiments of the invention also provide a kind of method of business processing, including:
Step 601, the extraction logic channel unit expense in the logical channel unit of reception, wherein in logical channel unit
It is mounted with logical channel unit expense and client traffic data.
Here, there is the logical channel unit for characterizing client traffic rate information in the logical channel unit that transmitting terminal is sent
Expense Cn and Cd.
Step 602, the client traffic number of one logical channel unit of processing is obtained according to the logical channel unit expense
According to the reference clock cycle number of needs.
Here, client's industry of one logical channel unit of processing can be calculated according to logical channel unit expense Cn and Cd
The reference clock cycle number Cnd that data of being engaged in need, to recover client traffic rate information.
The reference clock cycle number that step 603, is needed according to the client traffic data of one logical channel unit of processing,
Reference clock frequency and unit logical channel unit payload size, recover client traffic rate information.
Here, recover client traffic rate information, that is, calculate client traffic virtual value on the chip processing clock cycle
Dutycycle n/m, transfers n effective client traffic data in m chip processing clock cycle.Integral triangle can specifically be passed through
Sigma-delta algorithms recover client traffic rate information.
The method of the business processing of the embodiment of the present invention, during the FMP mappings of logic-based channel unit, by by client's industry
Business rate information is put into logical channel unit expense, and client traffic speed letter can be recovered according to logical channel unit expense
Breath, so as to ensure that transparent transmission of the client traffic in OTN.
Preferably, above-mentioned 603 the step of include:
Step 6031, unit logical channel unit payload size N and the number of unit client traffic clock cycle processing are obtained
According to an amount L common multiple K.
Here, it is desirable to recover client traffic rate information, it is necessary to calculate in Cnd reference clock cycle this period, pass
Pass the chip processing clock periodicity Q that logical channel unit payload size N client traffic needs.Because a logic is led to
The road unit payload size N and byte number L of a chip processing clock cycle transmission may not be the relation of integral multiple, so not
The chip processing clock periodicity Q that logical channel unit payload size N client traffic needs can directly be calculated.
In this step, unit logical channel unit payload size N and the word of unit client traffic clock cycle transmission are obtained
Joint number L common multiple K.K/L L byte is transferred in K/N logical channel unit time.Thus lead to a logic is calculated
Chip processing clock periodicity Q needed for road unit payload size N client traffic, is changed into and calculates K/N logical channel list
Chip processing clock periodicity QS needed for the client traffic of member.Here, n is equal to K/L, and m is equal to QS.Wherein, common multiple K can be with
It is least common multiple.
Step 6032, the reference clock cycle needed according to the client traffic data of K/N logical channel unit of processing
Number W, reference clock frequency H and the common multiple K, recover client traffic data-rate information.
Here, due to the client traffic that transmits K/N logical channel unit time and transmit W reference clock cycle
Time is equal, so QS=W*H3/H.Wherein, H3 is that chip handles clock frequency, W=Cnd1+Cnd2+…+CndK/N, Cnd1It is
The Cnd values of the 1st logical channel unit extracted in Cn and Cd expenses, Cnd2It is extracted in Cn and Cd expenses
The Cnd values ... of 2 logical channel units, CndK/NIt is the K/N logical channel unit extracted in Cn and Cd expenses
Cnd values.
By calculating formula n/m=(K/L)/QS=K*H/ (L*W*H3), client traffic rate information can be recovered.Its
In, formula can be passed through:H2=H3* (n/m), client traffic clock frequency H2 is obtained, then passes through formula:S=H2*L, obtain visitor
Family service rate S.
So that client traffic is ODU2 as an example, a specific implementation flow of the method for the business processing of the embodiment of the present invention is lifted
Example is described as follows.
It is assumed that logical channel unit payload size N is 475 bytes, the byte number L of unit chip processing clock cycle processing
For 40 bytes.The method of the business processing of the embodiment of the present invention, recover ODU2 rate information, that is, calculate ODU2 in bus (core
Piece handles the clock cycle) on actual dutycycle n/m, n effectively ODU2 numbers are transferred in m chip processing clock cycle
According to.According to logical channel unit the expense Cn and Cd extracted, reference clock number Cnd is obtained.Due to a logical channel list
It is aliquant between the byte number 40 that the byte number 475 of first payload size and an ODU2 clock cycle transmit, so taking 475 Hes
40 least common multiple 3800.In the time for transmitting 3800/475=8 logical channel unit payload byte, i.e. W=Cnd1+
Cnd2+…+Cnd8In individual reference clock cycle, 3800/40=95 effective ODU2 data are transferred.Here n=95, m W
Chip processing clock cycle number in individual reference clock cycle.Due to fundamental clock frequency H and chip processing clock frequency H3
It is determined that so m=W*H3/H.After obtaining n and m, client traffic is recovered by sigma-delta algorithms.
The method of the business processing of the embodiment of the present invention, during the FMP mappings of logic-based channel unit, by by client's industry
Business rate information is put into logical channel unit expense, and client traffic speed letter can be recovered according to logical channel unit expense
Breath, so as to ensure that transparent transmission of the client traffic in OTN.
Shown in reference picture 7, embodiments of the invention also provide a kind of device of business processing, including:
Extraction module, for extraction logic channel unit expense, wherein logical channel in the logical channel unit of reception
Logical channel unit expense and client traffic data are mounted with unit;
Second acquisition module, for obtaining the visitor of one logical channel unit of processing according to the logical channel unit expense
The reference clock cycle number that family business datum needs;
Recovery module, for the reference clock cycle needed according to the client traffic data of one logical channel unit of processing
Number, reference clock frequency and unit logical channel unit payload size, recover client traffic rate information.
The device of the business processing of the embodiment of the present invention, during the FMP mappings of logic-based channel unit, by by client's industry
Business rate information is put into logical channel unit expense, and client traffic speed letter can be recovered according to logical channel unit expense
Breath, so as to ensure that transparent transmission of the client traffic in OTN.
Preferably, the recovery module includes:
4th acquiring unit, for obtaining unit logical channel unit payload size N and unit client traffic clock cycle
The data volume L of a processing common multiple K;
Recovery unit, for the reference clock week needed according to the client traffic data of K/N logical channel unit of processing
Phase number W, reference clock frequency H and the common multiple K, recover client traffic data-rate information.
It should be noted that the device of the business processing is the device corresponding with the method for above-mentioned business processing, wherein
All implementations can also reach same technique effect suitable for the embodiment of the device in above method embodiment.
In various embodiments of the present invention, it should be appreciated that the size of the sequence number of above-mentioned each process is not meant to perform suitable
The priority of sequence, the execution sequence of each process should be determined with its function and internal logic, without the implementation of the reply embodiment of the present invention
Process forms any restriction.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art
For, on the premise of principle of the present invention is not departed from, some improvements and modifications can also be made, these improvements and modifications
It should be regarded as protection scope of the present invention.
Claims (12)
- A kind of 1. method of business processing, it is characterised in that including:According to the relation of unit logical channel unit payload size, client traffic speed and reference clock cycle, processing one is obtained The reference clock cycle number that the client traffic data of individual logical channel unit need;The reference clock cycle number needed according to the client traffic data of one logical channel unit of processing, obtains and characterizes client The logical channel unit expense of service rate information, and the logic that logical channel unit expense and client traffic data will be mounted with Channel unit is transmitted so that receiving terminal can recover client traffic rate information according to the logical channel unit expense.
- 2. according to the method for claim 1, it is characterised in that described according to unit logical channel unit payload size, visitor The relation of family service rate and reference clock cycle, obtain and handle the base that the client traffic data of a logical channel unit need The step of punctual clock number of cycles, includes:Obtain the one of the unit logical channel unit payload size N and the data volume L of unit client traffic clock cycle processing Common multiple K;According to the relation of the common multiple K, client traffic speed and reference clock cycle, K/N logical channel list of processing is obtained The reference clock cycle number W that the client traffic data of member need;The reference clock cycle number W needed according to the client traffic data of K/N logical channel unit of processing, obtain processing K/ The reference clock cycle number Cnd that the client traffic data of each logical channel unit in N number of logical channel unit need.
- 3. according to the method for claim 2, it is characterised in that the client according to K/N logical channel unit of processing The reference clock cycle number W that business datum needs, obtain each logical channel unit in K/N logical channel unit of processing Client traffic data need reference clock cycle number Cnd the step of include:According to unit logical channel unit payload size N, reference clock frequency H and the client traffic speed S, acquisition processing The theoretical value CndL for the reference clock cycle number that the client traffic data of one logical channel unit need;Obtain the theoretical value of the reference clock cycle number for the client traffic data needs for handling K/N-j logical channel unit CndLK/N-j, wherein, CndLK/N-j=(K/N-j) * CndL, j are 0 to the integer between K/N-1;The reference clock cycle number W needed according to the client traffic data of K/N logical channel unit of processing, obtain processing K/ The reference clock cycle number W that the client traffic data of N-j logical channel unit needK/N-j, wherein, WK/N-j=W- (Cnd0 +…+Cndj), wherein, CndjThe reference clock cycle needed for the client traffic data of j-th of logical channel unit of processing Number, Cnd0=0;The reference clock cycle number W that the client traffic data of described K/N-j logical channel unit of processing are neededK/N-jWith institute State the theoretical value CndL for the reference clock cycle number that the client traffic data of K/N-j logical channel unit of processing needK/N-j Be compared, and needed according to the client traffic data of one logical channel unit of comparative result and the processing benchmark when The theoretical value CndL of clock number of cycles, it is determined that during the benchmark of the client traffic data needs of processing+1 logical channel unit of jth Clock number of cycles Cndj+1。
- 4. according to the method for claim 3, it is characterised in that described by K/N-j logical channel unit of the processing The reference clock cycle number W that client traffic data needK/N-jWith the client traffic of K/N-j logical channel unit of the processing The theoretical value CndL for the reference clock cycle number that data needK/N-jIt is compared, and according to comparative result and the processing The theoretical value CndL for the reference clock cycle number that the client traffic data of one logical channel unit need, it is determined that processing jth+ The reference clock cycle number Cnd that the client traffic data of 1 logical channel unit needj+1The step of include:If WK/N-j< CndLK/N-j, it is determined that the reference clock that the client traffic data of processing+1 logical channel unit of jth need Number of cycles:Cndj+1=CndL-1;If WK/N-j=CndLK/N-j, it is determined that the reference clock that the client traffic data of processing+1 logical channel unit of jth need Number of cycles:Cndj+1=CndL;If WK/N-j> CndLK/N-j, it is determined that the reference clock that the client traffic data of processing+1 logical channel unit of jth need Number of cycles:Cndj+1=CndL+1.
- 5. according to the method for claim 1, it is characterised in that described according to unit logical channel unit payload size, visitor The relation of family service rate and reference clock cycle, obtain and handle the base that the client traffic data of a logical channel unit need Before punctual clock number of cycles, methods described also includes:The number V for the client traffic virtual value that statistics predetermined number receives in the chip processing clock cycle;By the number V of the client traffic virtual value received in the predetermined number chip counted the processing clock cycle and in advance The threshold value of setting is compared, and the predetermined number chip counted was handled in the clock cycle according to comparative result The number V of the client traffic virtual value received is smoothed.
- 6. according to the method for claim 5, it is characterised in that described that the predetermined number chip counted is handled into clock Before the number V of the client traffic virtual value received in cycle is compared with threshold value set in advance, methods described is also Including:Data volume L, chip processing clock frequency H1 and the client traffic speed handled according to the unit client traffic clock cycle S, obtain dutycycle n/m of the client traffic virtual value on the chip processing clock cycle;According to the dutycycle n/m, setting M chip of predetermined number handles the client traffic virtual value received in the clock cycle Threshold value be M* (n/m)+f and M* (n/m)-f, wherein, f is preset constant.
- 7. according to the method for claim 6, it is characterised in that described that the predetermined number chip counted is handled into clock The number V of the client traffic virtual value received in cycle is compared with threshold value set in advance, and according to comparative result The number V for handling the predetermined number chip counted the client traffic virtual value received in clock cycle is put down The step of sliding processing, includes:If V < M* (n/m)-f, the predetermined number chip counted is handled to the client's industry received in the clock cycle The number V of business virtual value is adjusted to:V=M* (n/m) -1;If M* (n/m)-f≤V≤M* (n/m)+f, the predetermined number chip counted the processing clock cycle is inscribed The number V of the client traffic virtual value received is adjusted to:V=M* (n/m);If V > M* (n/m)+f, the predetermined number chip counted is handled to the client's industry received in the clock cycle The number V of business virtual value is adjusted to:V=M* (n/m)+1.
- 8. according to the method for claim 5, it is characterised in that described that the predetermined number chip counted is handled into clock The number V of the client traffic virtual value received in cycle is compared with threshold value set in advance, and according to comparative result The number V for handling the predetermined number chip counted the client traffic virtual value received in clock cycle is put down After sliding processing, methods described also includes:The client traffic virtual value received in the predetermined number chip processing clock cycle before acquisition smoothing processing Of the client traffic virtual value received in the predetermined number chip processing clock cycle after number, with smoothing processing Several differences are as remainder;, will again when counting the number of the client traffic virtual value received in the predetermined number chip processing clock cycle again The number of the client traffic virtual value received in the predetermined number chip processing clock cycle counted and the remainder With the predetermined number chip that counts again is handled compared with threshold value set in advance, and according to comparative result The number of the client traffic virtual value received in clock cycle is smoothed.
- A kind of 9. device of business processing, it is characterised in that including:First acquisition module, for according to unit logical channel unit payload size, client traffic speed and reference clock cycle Relation, obtain and handle the reference clock cycle number that the client traffic data of logical channel unit need;Transport module, for the reference clock cycle needed according to the client traffic data of one logical channel unit of processing Number, the logical channel unit expense for characterizing client traffic rate information is obtained, and logical channel unit expense and visitor will be mounted with The logical channel unit of family business datum is transmitted so that receiving terminal can recover visitor according to the logical channel unit expense Family service rate information.
- A kind of 10. method of business processing, it is characterised in that including:The extraction logic channel unit expense in the logical channel unit of reception, wherein it is mounted with logic in logical channel unit and leads to Road unit expense and client traffic data;Obtained according to the logical channel unit expense and handle the benchmark that the client traffic data of a logical channel unit need Clock cycle number;According to the reference clock cycle number of the client traffic data needs of one logical channel unit of processing, reference clock frequency And unit logical channel unit payload size, recover client traffic rate information.
- 11. according to the method for claim 10, it is characterised in that the client according to one logical channel unit of processing Reference clock cycle number, reference clock frequency and the unit logical channel unit payload size that business datum needs, recover The step of client traffic data-rate information, includes:Obtain unit logical channel unit payload size N and the data volume L of unit client traffic clock cycle processing a common multiple Number K;According to the reference clock cycle number of the client traffic data needs of K/N logical channel unit of processing, reference clock frequency Rate and the common multiple K, recover client traffic data-rate information.
- A kind of 12. device of business processing, it is characterised in that including:Extraction module, for the extraction logic channel unit expense in the logical channel unit of reception, wherein logical channel unit In be mounted with logical channel unit expense and client traffic data;Second acquisition module, for obtaining client's industry of one logical channel unit of processing according to the logical channel unit expense The reference clock cycle number that data of being engaged in need;Recovery module, for the reference clock cycle needed according to the client traffic data of one logical channel unit of processing Number, reference clock frequency and unit logical channel unit payload size, recover client traffic rate information.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610460276.7A CN107528661B (en) | 2016-06-22 | 2016-06-22 | Service processing method and device |
PCT/CN2017/089363 WO2017219979A1 (en) | 2016-06-22 | 2017-06-21 | Service processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610460276.7A CN107528661B (en) | 2016-06-22 | 2016-06-22 | Service processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107528661A true CN107528661A (en) | 2017-12-29 |
CN107528661B CN107528661B (en) | 2020-03-31 |
Family
ID=60735483
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610460276.7A Active CN107528661B (en) | 2016-06-22 | 2016-06-22 | Service processing method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107528661B (en) |
WO (1) | WO2017219979A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111177142B (en) * | 2018-11-13 | 2024-03-01 | 深圳市中兴微电子技术有限公司 | Data conversion method and device, equipment and storage medium |
US20230421264A1 (en) * | 2022-06-28 | 2023-12-28 | Ciena Corporation | Time-sliced GMP mapping with modified sigma-delta mapping function |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2017989A1 (en) * | 2007-07-18 | 2009-01-21 | Nokia Siemens Networks S.p.A. | A method and system for transmitting data over PDH channels and corresponding computer program product |
CN103067114A (en) * | 2012-12-20 | 2013-04-24 | 中兴通讯股份有限公司 | Transmission system asynchronous mapping clock recovery method and transmission system asynchronous mapping clock recovery device |
CN105577319A (en) * | 2014-10-17 | 2016-05-11 | 中兴通讯股份有限公司 | Signal transmitting and receiving methods of optical channel transmission unit and devices |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2187526B1 (en) * | 2008-11-07 | 2013-01-02 | Alcatel Lucent | Fast computation of frame check sequences (FCS/CRC) |
-
2016
- 2016-06-22 CN CN201610460276.7A patent/CN107528661B/en active Active
-
2017
- 2017-06-21 WO PCT/CN2017/089363 patent/WO2017219979A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2017989A1 (en) * | 2007-07-18 | 2009-01-21 | Nokia Siemens Networks S.p.A. | A method and system for transmitting data over PDH channels and corresponding computer program product |
CN103067114A (en) * | 2012-12-20 | 2013-04-24 | 中兴通讯股份有限公司 | Transmission system asynchronous mapping clock recovery method and transmission system asynchronous mapping clock recovery device |
CN105577319A (en) * | 2014-10-17 | 2016-05-11 | 中兴通讯股份有限公司 | Signal transmitting and receiving methods of optical channel transmission unit and devices |
Also Published As
Publication number | Publication date |
---|---|
WO2017219979A1 (en) | 2017-12-28 |
CN107528661B (en) | 2020-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6488058B2 (en) | Data transmission method, transmitter, and receiver | |
US11575458B2 (en) | Service transmitting and receiving methods and devices for optical transport network (OTN) | |
CN101800912B (en) | Client signal maps the implementation method with demapping and device | |
EP3242430A1 (en) | Service signal transmission method and communication device using ethernet channel | |
CN110072163B (en) | Load adaptive processing method, computer device and readable storage medium | |
US8462816B2 (en) | Method and apparatus for mapping and de-mapping service data | |
EP2107705A1 (en) | A method for transporting multiple channels ethernet data, the device and the system thereof | |
CN101615967A (en) | A kind of sending, receiving method of business datum, device and system | |
CN1968063B (en) | Clock recovery method and apparatus | |
WO2020147661A1 (en) | Signal transmission method and apparatus, network device and computer-readable storage medium | |
CN106330417B (en) | The method, apparatus of method, apparatus and the data parsing of Deta bearer | |
WO2021190030A1 (en) | Service processing method, processing apparatus and electronic device in optical transport network | |
CN107528661A (en) | A kind of method and device of business processing | |
DE4027968A1 (en) | CIRCUIT ARRANGEMENT FOR BITRATE ADJUSTMENT OF TWO DIGITAL SIGNALS | |
US20130058655A1 (en) | Transmission apparatus for optical transport network, and staff control method therefor | |
CN104247452A (en) | GMP mapping method and device for optical channel data unit | |
CN110830426B (en) | Mapping overhead transmitting/receiving method, device, OTN equipment and storage medium | |
CN103731223B (en) | A kind of clock recovery method and device | |
CN105577319A (en) | Signal transmitting and receiving methods of optical channel transmission unit and devices | |
CN107040314A (en) | A kind of method and device of business transmission | |
CN101252403B (en) | Realizing method of traffic transmission in light transmitted network | |
WO2011135726A1 (en) | Data volume derivation device | |
CN102480415B (en) | A kind of method and device being recovered optical transport network clock by reference clock | |
US20110170866A1 (en) | Transporting Optical Data Units In An Optical Transport Network | |
EP2549682B1 (en) | Method and apparatus for implementing frame header alignment and multi-frame zeroing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |