CN101753245B - Method and device for identifying service - Google Patents

Method and device for identifying service Download PDF

Info

Publication number
CN101753245B
CN101753245B CN 200810173091 CN200810173091A CN101753245B CN 101753245 B CN101753245 B CN 101753245B CN 200810173091 CN200810173091 CN 200810173091 CN 200810173091 A CN200810173091 A CN 200810173091A CN 101753245 B CN101753245 B CN 101753245B
Authority
CN
China
Prior art keywords
value
business
service
maximum
current business
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.)
Expired - Fee Related
Application number
CN 200810173091
Other languages
Chinese (zh)
Other versions
CN101753245A (en
Inventor
苏伟
李扬
沈瑶
丁炽武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Binhai Xingguang Chemical Co., Ltd.
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 200810173091 priority Critical patent/CN101753245B/en
Publication of CN101753245A publication Critical patent/CN101753245A/en
Application granted granted Critical
Publication of CN101753245B publication Critical patent/CN101753245B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses service a method and a device for identifying services. The method includes the following steps: comparing the Cn values in a plurality of service frame periods acquired within a preset measurement period and fixing on the maximum Cn value and the minimum Cn value of the current service; searching the preset Cn base to find whether a service record matching with the maximum Cn value and the minimum Cn value of the current service exists or not; and if yes, confirming that the type of the service record, corresponding to the given service, is the same with the type of the current service. The embodiment of the invention realizes precise identification of the service type, improves the service identification precision and simplifies the service identifying process.

Description

A kind of business recognition method and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of business recognition method and device.
Background technology
Optical transfer network (Optical transport network, OTN) as the core technology that transmits net of future generation, the technical specification that comprises electricity layer photoreactive layer, possesses abundant operation management maintain function (OperationAdministration and Maintenance, OAM), powerful Trellis-coded modulation ability (terlliscoded modulation, TCM) ability and the outer forward error correction of band (Forward Error Correction, FEC) ability, can realize flexible dispatching and the management of big capacity business, become the mainstream technology of Backbone Transport Network day by day.
Aspect client's Business Processing, OTN provides the multiple business mapping method, comprise fixed bit rate (Constant bit rate, CBR) professional, generic framing procedure, GFP (Generic Frame Protocol, GFP) professional, Asynchronous Transfer Mode (Asynchronous Transfer Mode, ATM) Ye Wu cut-in method.Along with the continuous growth of data service, require the demand of the transparent transmission of optical transfer network full rate also constantly to increase.At present, general mapping rules (GMP) mapping method of self adaptation CBR business has well adapted to this demand.
In above-mentioned GMP mapping method, every service frame is client entity quantity (number ofClient information entities (n bits) per server frame in the cycle, Cn) play crucial effects, how accurately producing the Cn initial value has become the key factor that can GMP be used well.Use the class of business of GMP mapping also constantly increasing simultaneously, need not manual configuration and can identify its type of service automatically and also seem and be necessary.
Therefore, accurately produce the Cn initial value and automatically the identification services type become the realistic problem that the GMP mapping method need solve.
In the prior art, can produce the Cn initial value by the bilateral counting, or limit to control the Cn value by the empty whole family of data buffer memory.
Wherein, the flow process that produces the Cn initial value by the bilateral counting comprises: periodically count service clock pulse number in service clock zone side by counter A, in case the service frame end cycle, the count value of then gathering client clock territory side counter B, the value that collects is the Cn value; Side is periodically counted the client clock pulse number by counter B in the client clock territory, finishes in case detect the service clock zone side counter A count cycle, and then counter B begins new round counting.
The flow process of limitting to control the Cn value by the empty whole family of data buffer memory comprises: according to the given Cn initial value of type of service to be passed; If the data buffer memory is lower than the Buddhism limit, then according to fixed step size negative justification Cn value, i.e. a Cn=Cn-step-length; If the data buffer memory is higher than whole family limit, then according to fixed step size positive justification Cn value, i.e. a Cn=Cn+ step-length.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
The generation of Cn value is unreliable, error occurs because the improper Cn of the causing value of its method is gathered or calculated, thereby cause traffic identification mistake or business to identify, and rely on bigger to manual setting operation, need determine the Cn value by pre-configured type of service, can't realize professional identification automatically.
Summary of the invention
The embodiment of the invention provides a kind of business recognition method and device, accurately gathers the Cn value of current business, thereby realizes the accurate identification of current business automatically.
For achieving the above object, the embodiment of the invention proposes a kind of business recognition method on the one hand, comprising:
Compare the Cn value of a plurality of service frame in the cycle of in a default measurement period, obtaining, determine maximum Cn value and the minimum Cn value of current business;
Search the business record that whether exists maximum Cn value and minimum Cn value with described current business to be complementary in the default Cn storehouse;
When existing with the maximum Cn value of described current business and business record that minimum Cn value is complementary in the described default Cn storehouse, determine described business record the type of service of corresponding known business be the type of service of described current business.
On the other hand, the embodiment of the invention also proposes a kind of traffic identification device, comprising:
Determination module is used for comparing the Cn value in a plurality of service frame cycle of obtaining in a default measurement period, determine maximum Cn value and the minimum Cn value of current business;
Search module, be used for searching the business record whether default Cn storehouse exists maximum Cn value and minimum Cn value with the determined current business of described determination module to be complementary;
Service identification module, be used for when the described module of searching when finding the business record that maximum Cn value and minimum Cn value with described current business be complementary in described default Cn storehouse, according to the traffic type information of described business record determine described business record the type of service of corresponding known business be the type of service of described current business.
The technical scheme of the embodiment of the invention has the following advantages, because adopted the method and apparatus of searching identification current business in Cn storehouse according to the Cn value of gathering, thereby, realized the accurate identification to type of service, reach raising traffic identification accuracy, simplified the effect of traffic identification flow process.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of one one kinds of business recognition methods of the embodiment of the invention;
Fig. 2 is the structural representation of 21 kinds of traffic identification devices of the embodiment of the invention;
Fig. 3 is the schematic flow sheet of 31 kinds of business recognition methods of the embodiment of the invention;
Fig. 4 is the schematic flow sheet of 31 kinds of Cn values of embodiment of the invention producing method.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
As shown in Figure 1, the schematic flow sheet of a kind of business recognition method that proposes for the embodiment of the invention one, this method may further comprise the steps:
The Cn value of a plurality of service frame in the cycle that step S101, comparison are obtained in a default measurement period determined maximum Cn value and the minimum Cn value of current business.
Concrete, in this step, obtaining of the Cn value of each service frame in the cycle is to realize that by serving clock zone side and the double-counting of client clock territory side and the mode of three-way handshake particular content is as follows:
Service clock zone side is periodically counted the service clock pulses number, and simultaneously, client clock territory side is periodically counted the client clock umber of pulse;
Service clock zone side reaches service frame during the cycle at counting, generates the ending request sign, and beginning next round counting, finishes and shakes hands for the first time;
When client clock territory side detects the ending request sign of service clock zone adnation one-tenth, count value is saved as the Cn value in this service frame cycle, and begin the next round counting;
Behind the Cn value stabilization of preserving, client clock territory side is that the ending request sign generates the corresponding response identification that finishes, and finishes second handshake;
When service clock zone side detect client clock territory side be the ending request sign generate the end response identification time, obtain the Cn value in this service frame cycle that client clock territory adnation becomes;
Service clock zone side discharges the ending request sign, finishes for the third time and shakes hands.
When client clock territory side detects service clock zone release ending request sign, discharge and finish response identification.
Need to prove; the acquisition methods of service frame Cn value in the cycle that the above-mentioned double-counting that passes through service clock zone side and client clock territory side and the mode of three-way handshake realize only is a kind of preferred embodiment among the present invention; other methods that can realize that the Cn value is obtained can be used equally in this step, and such variation does not influence protection scope of the present invention.
Step S102, search the business record that whether exists maximum Cn value and minimum Cn value with current business to be complementary in the default Cn storehouse.
Wherein, comprise a plurality of business records in the default Cn storehouse, each business record comprises the type of service of known business, the maximum Cn value of this known business and the minimum Cn value of this known business at least.
What need further specify is that the concrete account form of above-mentioned parameter is as follows:
Definite method of the maximum Cn value of known business is:
Cn ( max ) = int ( Rc × ( 1 + Pc ) Rs × ( 1 - Ps ) × 3808 × 4 ) + 1 ;
Definite method of the minimum Cn value of known business is:
Cn ( min ) = int ( Rc × ( 1 - Pc ) Rs × ( 1 + Ps ) × 3808 × 4 ) ;
Wherein, Rc represents the client signal bit rate, and Rs represents the service frame bit rate, and Pc represents the client signal frequency deviation, and Ps represents the service frame signal frequency deviation.
Based on above-mentioned Cn lab setting, the search procedure of this step is specially:
Search and whether have a business record in the default Cn storehouse, the maximum Cn value of the known business that this business record is included is more than or equal to the maximum Cn value of current business, and the minimum Cn value of the included known business of this business record is less than or equal to the minimum Cn value of current business.
When existing with the maximum Cn value of current business and business record that minimum Cn value is complementary in the default Cn storehouse, execution in step S103;
When business record that the maximum Cn value and the minimum Cn value that do not exist in the default Cn storehouse with current business are complementary, execution in step S104.
Further, search finish after, the content of operation of this step also comprises to be counted the actual queries number of times of this current business.
Step S103, determine business record the type of service of corresponding known business be the type of service of current business.
In this step, when also comprising the normal Cn value of known business in the default Cn storehouse, this method also comprise according to business record corresponding known business normal Cn value determine the Cn initial value of current business, wherein, definite method of the normal Cn value of this known business is:
Cn ( normal ) = int ( Rc Rs × 3808 × 4 ) ;
Wherein, Rc represents the subscriber signal bit rate, and Rs represents the TS bit rate, and Pc represents the client signal frequency deviation.
Concrete definite mode is Cn initial value=Cn (normal).
Step S104, judge current business the actual queries number of times whether less than the maximum inquiry times of current business.
The actual queries number of times of current business changes step S101 over to during less than the maximum inquiry times of current business, and the maximum Cn value by determined current business in the default measurement period of the next one and minimum Cn value are carried out next round and searched in the Cn storehouse.
When the actual queries number of times of current business is not less than the maximum inquiry times of current business, determine the traffic identification failure of current business, finish the traffic identification of current business.
Further, when the actual queries number of times of current business is not less than the maximum inquiry times of current business, can confirm that current business is the new business different with other known business, so, said method can also comprise that the information with this current business is added into the Cn storehouse, generates new business record.
Need further be pointed out that; above-mentioned information that will this current business is added into the Cn storehouse; the operation that generates new business record is the further optimization of the technical scheme that proposes of the embodiment of the invention; can realize the timely collection of new business information and obtain do not influence protection scope of the present invention but whether comprise this step.
The technical scheme of the embodiment of the invention has the following advantages, because adopted the method for searching identification current business in Cn storehouse according to the Cn value after gathering and add up in real time, thereby, realized the accurate identification to type of service, reach raising traffic identification accuracy, simplified the effect of traffic identification flow process.
Based on the method that the invention described above embodiment one proposes, the embodiment of the invention two has also proposed a kind of traffic identification device, and its structural representation comprises as shown in Figure 2:
Determination module 1 is used for comparing the Cn value in a plurality of service frame cycle of obtaining in a default measurement period, determine maximum Cn value and the minimum Cn value of current business, specifically comprises:
The Cn value is obtained submodule 11; be used for obtaining the Cn value in each service frame cycle; concrete acquisition methods can be realized by service clock zone side illustrated in the embodiment of the invention one and the double-counting of client clock territory side and the mode of three-way handshake; can realize by other means that also the variation of concrete acquisition methods does not influence protection scope of the present invention.
Search module 2, be used for searching the business record whether default Cn storehouse exists maximum Cn value and minimum Cn value with determination module 1 determined current business to be complementary, specifically comprise:
Counting submodule 21 is used for the actual queries number of times of current business is counted.
Service identification module 3, be used for when searching module 3 when finding the business record that maximum Cn value and minimum Cn value with current business be complementary in the Cn storehouse of presetting, according to the traffic type information of this business record determine business record the type of service of corresponding known business be the type of service of current business, specifically comprise:
Judge submodule 31, whether the actual queries number of times of the current business that is used for judging that counting submodule 21 is counted is less than the maximum inquiry times of default current business;
Heavy querying triggering submodule 32, be used for when judging actual queries number of times that submodule 31 is judged current business less than the maximum inquiry times of default current business, trigger the maximum Cn value of searching the current business in the measurement period that module 2 presets by the determination module 1 determined next one and minimum Cn value and in the Cn storehouse, carry out next round and search.
Further, also comprise in the service identification module 3 and be specially one or more in the following submodule:
Add submodule 33, be used for when judging that submodule 31 judges that the actual queries number of times of current business is not less than the maximum inquiry times of default current business, the information of current business is added into the Cn storehouse;
Initial value is determined submodule 34, be used for when judging actual queries number of times that submodule 31 is judged current business less than the maximum inquiry times of default current business, determine to search the corresponding known business of business record institute that module 2 finds normal Cn value be the Cn initial value of current business.
Further, said apparatus also comprises:
Module 4 is set, is used for the measurement period that comprises a plurality of service frame cycles is set, the maximum inquiry times of current business and Cn storehouse are for each above-mentioned module provides the parameter foundation.
Above-mentioned module can be distributed in a device, also can be distributed in a plurality of devices.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
The technical scheme of the embodiment of the invention has the following advantages, because adopted the device of searching identification current business in Cn storehouse according to the Cn value after gathering and add up in real time, thereby, realized the accurate identification to type of service, reach raising traffic identification accuracy, simplified the effect of traffic identification flow process.
In the technical scheme that the above-mentioned embodiment of the invention proposes, comprise that the Cn initial value produces and traffic identification two aspects.
Below, the embodiment of the invention three is specifically described above content in conjunction with concrete enforcement scene.
In the present embodiment, at first by utilizing bilateral counting and three-way handshake mechanism accurately to obtain the Cn value in each service frame cycle, statistics by certain hour, obtain Cn maximum Cn (max), Cn minimum value Cn (min), then Cn (max), the Cn (min) that produces mated with record in the Cn storehouse, thereby obtain Cn initial value and type of service.
Its schematic flow sheet may further comprise the steps as shown in Figure 3:
Step S301, determine statistic period T and matching times M, and the initial value that actual match number of times M ' is set is 0.
Statistic period T comprises n service frame cycle, i.e. statistic period T=n* service frame cycle.
Wherein, the n value need arrange, and this n value is configured to 1 at least; In service frame cycle=service frame size/service frame speed, service frame speed is not limited to the speed of a concrete service frame, can be TS speed arbitrarily.
For convenience of description, in the present embodiment, speed is as service frame speed with TS (tributary unit, G.709 Clause19 has defined OPUk TS in the suggestion), and the service frame size remains unchanged,
Then the service frame cycle becomes service frame size/TS speed.For the OTN network of current standard definition, OPU1 is as minimum TS, and OPU2 is divided into 4 time slots (TS1, TS2, TS3, TS4), OPU3 be divided into 16 time slots (TS1, TS2 ..., TS16).For load bearing unit ODUk (k is 1,2,3), select TS speed like this, the frequency in the middle of having unified to realize is selected, and namely uses the TS time slot frequency in the middle of realizing, the service frame cycle is 15232/TS speed.
The selection that it is pointed out that TS is not limited to OPU1, and arbitrarily the parameter that can reach constructed effect such as TS time slot or minimum cross grain can be used for realizing above-mentioned steps equally.
Further, determine matching times M, namely by configuration M value, determine the follow-up Cn storehouse coupling of carrying out at most M time, the M value is configured to 1 at least.
Step S302, statistics Cn value are determined maximum Cn value and the minimum Cn value of current business.
Cn primary system meter period T has comprised n service frame cycle, each service frame cycle all can produce a Cn value, in the present embodiment, Cn value producing method preferably adopts service clock zone side and the double-counting of client clock territory side and the mode of three-way handshake to realize that Fig. 4 is its schematic flow sheet.
As shown in Figure 4, the dotted line right side is the service clock zone, and the dotted line left side is the client clock territory.
In this flow process, periodically counting clock pulse separately under the clock zone separately respectively by counter B in counter A and the client clock territory in the service clock zone, guarantee to count errorless, by three-way handshake, finish a service frame under the cycle Cn value obtain and the Cn value of cross clock domain is transmitted.
Wherein, the flow process of three-way handshake is specially: once shake hands, obtain the Cn value; Secondary is shaken hands, and transmits the Cn value; Three-way handshake finishes this and produces the Cn value, specifies as follows:
Step S401, service clock zone side counter A periodically count the service clock pulses number.
When service clock zone side counter A detects a service clock pulse, the count value of serving clock pulses number is added 1.
Step S402, service clock zone side counter A counting arrive service frame during the cycle, trigger the ending request mark.
Concrete, in the present embodiment, concrete triggering mode is high level for the home position with the ending request mark, realizes shaking hands for the first time.
Step S403, client clock territory side counter B periodically count the client clock umber of pulse.
When client clock territory side counter B detects a client clock pulse, the count value of client clock umber of pulse is added 1.
Step S404, when client clock territory side detects the ending request mark and becomes high level, then the count value of counter B is saved as the Cn value and begins new round cycle count simultaneously.
Step S405, client clock territory side are waited for after the Cn value stabilization of preserving, and trigger and finish response flag.
Concrete, in the present embodiment, concrete triggering mode is high level for the home position that will finish response flag, realizes second handshake.
Step S406, when service clock zone side detects when finishing response flag and becoming high level, then gather the Cn value that client clock territory side is preserved.
Discharging the ending request mark simultaneously, is low level with its home position, realizes shaking hands for the third time;
When client clock territory side detects the ending request mark and becomes low level, then discharge and finish the response sign, be low level with its home position.
So far, the Cn value in a service frame cycle produces and finishes.
In a statistic period T, n the Cn value that produces further added up.
By relatively, obtain maximum Cn value Cn (max), minimum Cn value Cn (min).
Step S303, search the Cn storehouse according to maximum Cn value and minimum Cn value, judge whether there is the business record that is complementary with current business in the Cn storehouse.
Professional Cn (max), Cn (normal), Cn (min) under the service frame cycle (service frame speed is specially TS speed in the present embodiment) known to having recorded at present in the Cn storehouse, every kind of business is unique in the Cn value of service frame under the cycle, do not exist its Cn of multiple business (max), Cn (normal), Cn (min) to intersect situation mutually, Cn can bring in constant renewal in along with the growth of type of service in the storehouse simultaneously.
Below, describe as follows to Cn storehouse make:
(1), constituted by many records;
(2), every record can be quintuple form, i.e. { type of service, X-TS, Cn (max), Cn (normal), Cn (min) }, wherein X-TS represents that this business need take X TS time slot bandwidth;
Be embodiment with TS=1.3Gbits/s at this, calculate some common business, the Cn storehouse of structure is as shown in table 1.
Wherein the Cn (max) of every record, Cn (min), Cn (normal) calculate generation by following formula in the Cn storehouse.
Cn ( max ) = int ( Rc × ( 1 + Pc ) Rs × ( 1 - Ps ) × 3808 × 4 ) + 1
Cn ( normal ) = int ( Rc Rs × 3808 × 4 )
Cn ( min ) = int ( Rc × ( 1 - Pc ) Rs × ( 1 + Ps ) × 3808 × 4 )
Wherein, Rc represents the client signal bit rate, and Rs represents the TS bit rate, and Pc represents the client signal frequency deviation, and Ps represents the TS signal frequency deviation.
Table 1Cn storehouse
Client Channel Cn(min) Cn(normal) Cn(max)
STM-16 2-TS 29154 29155 29157
STM-64 8-TS 116617 116621 116627
STM-256 32-TS 466468 466487 466506
1GE TS 14644 14646 14648
10GE 4-TS 120816 120830 120846
40GE 32-TS 483265 483323 483382
100GE 80-TS 1208162 1208307 1208453
FC-1G TS 12477 12478 12481
FC-2G 2-TS 24895 24898 24902
FC-4G 4-TS 49790 49796 49803
FC-8G 7-TS 99581 99593 99606
FC-10G 8-TS 123247 123262 123277
SD-SDI TS 3163 3163 3164
1.5G?HD-SD 2-TS 17399 17399 17401
3G?HD-SD 3-TS 34798 34799 34801
The make that it is pointed out that the Cn storehouse is not limited to above-mentioned quintuple form, can add any useful information and the ordering of above-mentioned information is adjusted according to actual needs.
Search the Cn storehouse, judge that the idiographic flow that whether has the business record that is complementary with current business in the Cn storehouse is:
M ' adds 1 with the actual match number of times, begins the inferior Cn of M ' storehouse coupling, is about to record in Cn (max), Cn (min) that statistics obtains and the Cn storehouse mate.
Concrete matching principle is: search whether there is a business record in the Cn storehouse, the information of the corresponding a kind of known business of this business record, the maximum Cn value of this known business is more than or equal to the maximum Cn value of current business, and the minimum Cn value of this known business is less than or equal to the minimum Cn value of described current business.
When
Figure GSB00000960831200111
Be when having the business record that is complementary with current business in the Cn storehouse, execution in step S304 then;
When Be when not having the business record that is complementary with current business in the Cn storehouse, execution in step S305 then.
The type of service of the business that step S304, affirmation are complementary is the type of service of current business.
Confirm that the Cn initial value is Cn (the normal)/X in the record, the traffic identification flow process successfully finishes.
Need be pointed out that further that the Cn initial value is except can be by obtaining after the coupling Cn Kucheng merit, n the Cn value that can also produce by record in statistics Cn period T asked its mean value and obtained, and such variation belongs to protection scope of the present invention equally.
Step S305, judge whether actual match number of times M ' reaches matching times M.
When actual match number of times M ' reached matching times M Configuration Values, the failure of traffic identification flow process finished.
When actual match number of times M ' did not reach matching times M Configuration Values, execution in step S302 began new round statistics Cn and Cn storehouse matching treatment.
Further, after actual match number of times M ' reaches matching times M Configuration Values, do not have still that the match is successful, prove that then this business is the new business type, the new business type can be added in the Cn storehouse and upgrade.
The technical scheme of the embodiment of the invention has the following advantages, because adopted the device of searching identification current business in Cn storehouse according to the Cn value of gathering, thereby, realized the accurate identification of type of service and the generation of Cn initial value, reach the accuracy that improves traffic identification and Cn initial value, simplified the effect of traffic identification flow process.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize based on such understanding by the mode that software adds necessary general hardware platform, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.

Claims (12)

1. a business recognition method is characterized in that, may further comprise the steps:
Compare the client entity quantity Cn value of a plurality of service frame in the cycle of in a default measurement period, obtaining, determine maximum Cn value and the minimum Cn value of current business;
Search the business record that whether exists maximum Cn value and minimum Cn value with described current business to be complementary in the default Cn storehouse; Comprise a plurality of business records in the described default Cn storehouse, each business record comprises the maximum Cn value of the type of service of known business, described known business and the minimum Cn value of described known business at least;
When existing with the maximum Cn value of described current business and business record that minimum Cn value is complementary in the described default Cn storehouse, determine described business record the type of service of corresponding known business be the type of service of described current business;
The described business record that whether exists maximum Cn value and minimum Cn value with described current business to be complementary in the default Cn storehouse of searching is specially:
Search and whether have a business record in the default Cn storehouse, the maximum Cn value of the known business that described business record comprises is more than or equal to the maximum Cn value of described current business, and the minimum Cn value of the known business that comprises of described business record is less than or equal to the minimum Cn value of described current business.
2. the method for claim 1 is characterized in that, the acquisition methods of the Cn value of each described service frame in the cycle is specially:
Service clock zone side is counted the service clock pulses number;
Described service clock zone side reaches described service frame during the cycle at described counting, generates the ending request sign, and beginning next round counting;
When described service clock zone side detects the end response identification that client clock territory side generates described ending request sign, obtain the Cn value in the described service frame cycle that described client clock territory adnation becomes;
Described service clock zone side discharges described ending request sign.
3. method as claimed in claim 2 is characterized in that, the Cn value that described client clock territory adnation becomes specifically generates in the following manner:
Described client clock territory side is counted the client clock umber of pulse;
When described client clock territory side detects the ending request sign of described service clock zone adnation one-tenth,
Described count value is saved as the Cn value in described service frame cycle, and begin the next round counting;
After described count value being saved as the Cn value in described service frame cycle, described client clock territory side generates described ending request sign and finishes response identification;
When described client clock territory side detects described service clock zone side and discharges described ending request sign, discharge described end response identification.
4. the method for claim 1 is characterized in that, definite method of the maximum Cn value of described known business is:
Cn ( max ) = int ( Rc × ( 1 + Pc ) Rs × ( 1 - Ps ) × 3808 × ) + 1 ;
Definite method of the minimum Cn value of described known business is:
Cn ( min ) = int ( Rc × ( 1 - Pc ) Rs × ( 1 + Ps ) × 3808 × 4 ) ;
Wherein, Rc represents the client signal bit rate, and Rs represents the service frame bit rate; Pc represents the client signal frequency deviation, and Ps represents the service frame signal frequency deviation.
5. as claim 1 or 4 described methods, it is characterized in that, in described default Cn storehouse, exist and the maximum Cn value of described current business and the business record that minimum Cn value is complementary, and when also comprising the normal Cn value of described known business in the described default Cn storehouse, also comprise:
The normal Cn value of the known business that comprises by described business record is determined the Cn initial value of described current business, and definite method of the normal Cn value of described known business is:
Cn ( normal ) = int ( Rc Rs × 3808 × 4 )
Wherein, Rc represents the client signal bit rate, and Rs represents tributary unit TS bit rate; Pc represents the client signal frequency deviation.
6. the method for claim 1 is characterized in that, when business record that the maximum Cn value and the minimum Cn value that do not exist in the described default Cn storehouse with described current business are complementary, described method also comprises:
Judge that whether the actual queries number of times of described current business is less than default maximum inquiry times;
When the actual queries number of times of described current business during less than described default maximum inquiry times, the maximum Cn value by determined described current business in the default measurement period of the next one and minimum Cn value are carried out next round and are searched in described Cn storehouse;
When the actual queries number of times of described current business is not less than described default maximum inquiry times, determine the traffic identification failure of described current business, finish the traffic identification of described current business.
7. a traffic identification device is characterized in that, comprising:
Determination module is used for comparing the client entity quantity Cn value in a plurality of service frame cycle of obtaining in a default measurement period, determine maximum Cn value and the minimum Cn value of current business;
Search module, be used for searching the business record whether default Cn storehouse exists maximum Cn value and minimum Cn value with the determined current business of described determination module to be complementary, be specially: search whether there is a business record in the default Cn storehouse, the maximum Cn value of the known business that described business record comprises is more than or equal to the maximum Cn value of described current business, and the minimum Cn value of the known business that comprises of described business record is less than or equal to the minimum Cn value of described current business; Comprise a plurality of business records in the described default Cn storehouse, each business record comprises the maximum Cn value of the type of service of known business, described known business and the minimum Cn value of described known business at least;
Service identification module, be used for when the described module of searching when finding the business record that maximum Cn value and minimum Cn value with described current business be complementary in described default Cn storehouse, according to the traffic type information of described business record determine described business record the type of service of corresponding known business be the type of service of described current business.
8. device as claimed in claim 7 is characterized in that, also comprises:
Module is set, is used for arranging described measurement period, the maximum inquiry times of current business and the described Cn storehouse that comprises a plurality of service frame cycles.
9. device as claimed in claim 7 is characterized in that, described determination module also comprises:
The Cn value is obtained submodule, is used for obtaining the Cn value in each described service frame cycle.
10. device as claimed in claim 7 is characterized in that, the described module of searching also comprises:
The counting submodule is used for the actual queries number of times of described current business is counted.
11. as claim 7,8 or 10 described devices, it is characterized in that described service identification module also comprises:
Judge submodule, be used for judging that whether the actual queries number of times of the current business that described counting submodule is counted is less than the described maximum inquiry times that the set current business of module is set;
Heavy querying triggering submodule, the actual queries number of times that is used for judging current business when described judgement submodule is during less than the described maximum inquiry times that the set current business of module is set, and triggers described maximum Cn value of searching the described current business in the measurement period that module presets by the determined next one of described determination module and minimum Cn value and carries out next round search in described Cn storehouse.
12. device as claimed in claim 11 is characterized in that, described service identification module also comprises:
Initial value is determined submodule, the actual queries number of times that is used for judging current business at described judgement submodule is during less than the described maximum inquiry times that the set current business of module is set, determine described search the corresponding known business of business record institute that module finds normal Cn value be the Cn initial value of described current business.
CN 200810173091 2008-11-28 2008-11-28 Method and device for identifying service Expired - Fee Related CN101753245B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810173091 CN101753245B (en) 2008-11-28 2008-11-28 Method and device for identifying service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810173091 CN101753245B (en) 2008-11-28 2008-11-28 Method and device for identifying service

Publications (2)

Publication Number Publication Date
CN101753245A CN101753245A (en) 2010-06-23
CN101753245B true CN101753245B (en) 2013-08-07

Family

ID=42479707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810173091 Expired - Fee Related CN101753245B (en) 2008-11-28 2008-11-28 Method and device for identifying service

Country Status (1)

Country Link
CN (1) CN101753245B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567901A (en) * 2012-01-16 2012-07-11 中国联合网络通信集团有限公司 Advertising method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1442020A (en) * 2000-07-13 2003-09-10 汤姆森许可贸易公司 Time stamping and time stamp validity verification system, method and device in digital broadcasting environment
CN1852297A (en) * 2005-11-11 2006-10-25 华为技术有限公司 Network data flow recognizing system and method
CN1996995A (en) * 2006-12-29 2007-07-11 信息产业部电信传输研究所 Control method for service sensing and its system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1442020A (en) * 2000-07-13 2003-09-10 汤姆森许可贸易公司 Time stamping and time stamp validity verification system, method and device in digital broadcasting environment
CN1852297A (en) * 2005-11-11 2006-10-25 华为技术有限公司 Network data flow recognizing system and method
CN1996995A (en) * 2006-12-29 2007-07-11 信息产业部电信传输研究所 Control method for service sensing and its system

Also Published As

Publication number Publication date
CN101753245A (en) 2010-06-23

Similar Documents

Publication Publication Date Title
US7124180B1 (en) Internet usage data recording system and method employing a configurable rule engine for the processing and correlation of network data
US7293083B1 (en) Internet usage data recording system and method employing distributed data processing and data storage
RU2007109152A (en) METHODS AND DEVICE FOR TRACKING, ACCOUNTING AND / OR CALCULATIONS FOR THE USE OF RESOURCES
US9048967B2 (en) Asymmetric OTN network traffic support
CN1613213B (en) Non-chronological system statistics
US8949285B2 (en) Systems and methods for handling performance monitoring data
WO2005072134A2 (en) System and method for performance monitoring in a passive optical network
CN100459598C (en) Transmission method of circuit business in passive optical network based on Ethernet
CN106383668A (en) Information storage method, storage management device and client
WO2021135625A1 (en) Pon multi-channel binding transmission method, pon node and storage medium
EP2608438A1 (en) Dynamic bandwidth allocation method and device
CN101753245B (en) Method and device for identifying service
CN105323053B (en) The method and device of business clock transparent transmission
WO2021057363A1 (en) State control method, data sending method, and terminal
WO2023134508A1 (en) Service processing method, apparatus and system in optical transport network
US6687651B2 (en) Real time estimation of equivalent bandwidth utilization
CN108108289A (en) A kind of cluster resource statistical method, system, device and readable storage system
CN102612058B (en) Method and device for determining performance index statistical result
CN109120443A (en) A kind of management method and device of network attached storage NAS device
CN202014249U (en) Information channel multiple-connection device based on recommended standard (RS) frame structure
EP3497885B1 (en) System and method for bandwidth activity reporting
WO2016091134A1 (en) Counting method and device for time slot resource occupation
CN100334430C (en) Bonding jitter automatically testing method and system
CN103580959A (en) Distributed statistical reporting implementation method
CN102170306B (en) RS frame structure based channel multiplexing device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: SHENZHEN LIANCHUANG INTELLECTUAL PROPERTY SERVICE

Free format text: FORMER OWNER: HUAWEI TECHNOLOGY CO., LTD.

Effective date: 20150708

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150708

Address after: 518129 Nanshan District Nanshan digital cultural industry base, east block, Guangdong, Shenzhen 407

Patentee after: Shenzhen LIAN intellectual property service center

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: Huawei Technologies Co., Ltd.

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160105

Address after: 224555 Jiangsu province Yancheng City Binhuai town head Zeng Village (Yancheng City coastal chemical industry park)

Patentee after: Binhai Xingguang Chemical Co., Ltd.

Address before: 518129 Nanshan District Nanshan digital cultural industry base, east block, Guangdong, Shenzhen 407

Patentee before: Shenzhen LIAN intellectual property service center

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130807

Termination date: 20151128

CF01 Termination of patent right due to non-payment of annual fee